How to manage snapshots
Snapshots allow you to restore data in a new Database Instance, instead of creating individual automated database backups. It is only available for Database Instances that use Block Storage volumes.
When you set up autobackups for Database Instances that use Block Storage, the automatic backups are created in snapshot format.
You can create new Database Instances from a snapshot.
You can have up to 100 snapshots per Instance and Project (depending on quotas).
Before you start
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
- A PostgreSQL or MySQL Database Instance
How to create snapshots
- Go to the Snapshots tab of your Database Instance of choice.
- Click + Create snapshot. A pop-up displays.
- Enter a name for your snapshot and set up the expiration date and time.
- Click Create snapshot to confirm.
How to set up autobackups
With the autobackup feature, the creation and management of your Database Instance backups is automated according to your backup schedule configuration.
Two types of autobackups are available at Scaleway: backups and snapshots.
Backups are used when your Database Instance's storage option is a Local volume. Snapshots are available for Database Instances that use Block Storage volumes.
- Click PostgreSQL and MySQL under Databases on the side menu. A list of your Database Instances displays.
- Select the geographical region of the Instance you want to manage from the drop-down.
- Click the Database Instance name or more icon > More info to access the Database Instance's Overview page.
- Scroll down to Backup configuration and click edit icon.
- Configure the backup frequency and retention, then click validate icon to confirm.
How to delete snapshots
When you delete an Instance, its associated snapshots are not deleted. Snapshots can be manually deleted or will be deleted after the retention period defined.
If you do not wish to wait for the snapshot to expire, you can delete it manually.
- Go to the Snapshots tab of your Database Instance of choice.
- Click more icon next to the name of the snapshot.
- Click Delete. A pop-up displays to warn you that:
- Type DELETE and click Delete snapshot if you wish to continue.