Skip to content

Commit 5c322ce

Browse files
fix(srv): fix CLI commands in tutorials MTA-6286 (#5281)
1 parent c6b3454 commit 5c322ce

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tutorials/backup-mongodb-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 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)