From f676aab13f43916ae3055af4637731837e83aac1 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Wed, 16 Jul 2025 10:42:37 +0200 Subject: [PATCH] fix(srv): fix CLI commands in tutorials MTA-6286 --- tutorials/backup-mongodb-jobs/index.mdx | 6 +++--- tutorials/snapshot-instances-jobs/index.mdx | 2 +- tutorials/snapshot-managed-databases/index.mdx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tutorials/backup-mongodb-jobs/index.mdx b/tutorials/backup-mongodb-jobs/index.mdx index 61b3ca771f..4595fc56fe 100644 --- a/tutorials/backup-mongodb-jobs/index.mdx +++ b/tutorials/backup-mongodb-jobs/index.mdx @@ -1,6 +1,6 @@ --- -title: &title Create snapshots of a Managed MongoDB® database with Serverless Jobs and the Scaleway CLI -description: &description This step-by-step tutorial will help you automate the creation of snapshots of your MongoDB using Serverless Jobs and the Scaleway CLI +title: Create snapshots of a Managed MongoDB® database with Serverless Jobs and the Scaleway CLI +description: This step-by-step tutorial will help you automate the creation of snapshots of your MongoDB using Serverless Jobs and the Scaleway CLI tags: serverless jobs instance snapshot backup image disk storage cli categories: - mongodb @@ -52,7 +52,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n 9. In the **Execution** tab, define the command below, and replace the placeholders with the ID of your Managed MongoDB® Database Instance ID and the name of your snapshot: ```sh - scw mongodb snapshot create name="snapshot_$(date +%Y%m%d_%H%M%S)" expires-at=30d + /scw mongodb snapshot create name="snapshot_$(date +%Y%m%d_%H%M%S)" expires-at=30d ``` 10. Click **Create job**. diff --git a/tutorials/snapshot-instances-jobs/index.mdx b/tutorials/snapshot-instances-jobs/index.mdx index 08d924f389..fc3153160f 100644 --- a/tutorials/snapshot-instances-jobs/index.mdx +++ b/tutorials/snapshot-instances-jobs/index.mdx @@ -52,7 +52,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n 9. In the **Execution** tab, define the command below, and replace the placeholder with the ID of your Block Storage volume: ```sh - scw block snapshot create volume-id=11111111-1111-1111-1111-111111111111 + /scw block snapshot create volume-id=11111111-1111-1111-1111-111111111111 ``` 10. Click **Create job**. diff --git a/tutorials/snapshot-managed-databases/index.mdx b/tutorials/snapshot-managed-databases/index.mdx index af317a873d..a514bb8dbe 100644 --- a/tutorials/snapshot-managed-databases/index.mdx +++ b/tutorials/snapshot-managed-databases/index.mdx @@ -55,12 +55,12 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n ```sh - scw rdb backup create instance-id=11111111-1111-1111-1111-111111111111 database-name=YOUR_DB_NAME + /scw rdb backup create instance-id=11111111-1111-1111-1111-111111111111 database-name=YOUR_DB_NAME ``` ```sh - scw rdb snapshot create instance-id=11111111-1111-1111-1111-111111111111 + /scw rdb snapshot create instance-id=11111111-1111-1111-1111-111111111111 ```