Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tutorials/backup-mongodb-jobs/index.mdx
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 <MONGO_INSTANCE_ID> name="snapshot_$(date +%Y%m%d_%H%M%S)" expires-at=30d
/scw mongodb snapshot create <MONGO_INSTANCE_ID> name="snapshot_$(date +%Y%m%d_%H%M%S)" expires-at=30d
```

10. Click **Create job**.
Expand Down
2 changes: 1 addition & 1 deletion tutorials/snapshot-instances-jobs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand Down
4 changes: 2 additions & 2 deletions tutorials/snapshot-managed-databases/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
<Tabs>
<TabsTab label="Backup">
```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
```
</TabsTab>
<TabsTab label="Snapshot">
```sh
scw rdb snapshot create instance-id=11111111-1111-1111-1111-111111111111
/scw rdb snapshot create instance-id=11111111-1111-1111-1111-111111111111
```
</TabsTab>
</Tabs>
Expand Down