Skip to content

Commit f676aab

Browse files
committed
fix(srv): fix CLI commands in tutorials MTA-6286
1 parent 350fd85 commit f676aab

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tutorials/backup-mongodb-jobs/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: &title Create snapshots of a Managed MongoDB® database with Serverless Jobs and the Scaleway CLI
3-
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
2+
title: Create snapshots of a Managed MongoDB® database with Serverless Jobs and the Scaleway CLI
3+
description: This step-by-step tutorial will help you automate the creation of snapshots of your MongoDB using Serverless Jobs and the Scaleway CLI
44
tags: serverless jobs instance snapshot backup image disk storage cli
55
categories:
66
- mongodb
@@ -52,7 +52,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
5252

5353
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:
5454
```sh
55-
scw mongodb snapshot create <MONGO_INSTANCE_ID> name="snapshot_$(date +%Y%m%d_%H%M%S)" expires-at=30d
55+
/scw mongodb snapshot create <MONGO_INSTANCE_ID> name="snapshot_$(date +%Y%m%d_%H%M%S)" expires-at=30d
5656
```
5757

5858
10. Click **Create job**.

tutorials/snapshot-instances-jobs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
5252

5353
9. In the **Execution** tab, define the command below, and replace the placeholder with the ID of your Block Storage volume:
5454
```sh
55-
scw block snapshot create volume-id=11111111-1111-1111-1111-111111111111
55+
/scw block snapshot create volume-id=11111111-1111-1111-1111-111111111111
5656
```
5757

5858
10. Click **Create job**.

tutorials/snapshot-managed-databases/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
5555
<Tabs>
5656
<TabsTab label="Backup">
5757
```sh
58-
scw rdb backup create instance-id=11111111-1111-1111-1111-111111111111 database-name=YOUR_DB_NAME
58+
/scw rdb backup create instance-id=11111111-1111-1111-1111-111111111111 database-name=YOUR_DB_NAME
5959
```
6060
</TabsTab>
6161
<TabsTab label="Snapshot">
6262
```sh
63-
scw rdb snapshot create instance-id=11111111-1111-1111-1111-111111111111
63+
/scw rdb snapshot create instance-id=11111111-1111-1111-1111-111111111111
6464
```
6565
</TabsTab>
6666
</Tabs>

0 commit comments

Comments
 (0)