Skip to navigationSkip to main contentSkip to footerScaleway DocsAsk our AI
Ask our AI

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.

Important

Refer to the How to create a Database Instance from a snapshot procedure for more information.

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:

How to create snapshots

  1. Go to the Snapshots tab of your Database Instance of choice.
  2. Click + Create snapshot.
    Important

    Make sure your Instance is in READY state before creating a snapshot.

    A pop-up displays.
  3. Enter a name for your snapshot and set up the expiration date and time.
    Note

    The default retention period for snapshots is 7 days.

  4. 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.

Important

Although they bear the same feature name, automated snapshots and automated backups are different in their design. If you have a Database Instance using Block Storage, it is only possible to use automated snapshots as autobackup.

Note
  • The autobackup feature is enabled by default upon the creation of an Instance. Simultaneously, a schedule policy is created. The default autobackup frequency is of 1 per day with a retention period of 7 days. You can change this in the Database Instance information page after Instance creation.
  • By default, the Database Instance creation date is used as the base timestamp for the automated backups. When you change the schedule configuration, the moment you validated the new configuration becomes the new base timestamp. For example, if at 8 a.m. on a Thursday you update the autobackup frequency to 24h, your next autobackup will be created at 8 a.m. on a Friday.
  • When autobackup is enabled for your Local or Block volumes, regular quota limitations for backups and snapshots do not apply. Refer to the Managed Databases FAQ page for more information.
  1. Click PostgreSQL and MySQL under Databases on the side menu. A list of your Database Instances displays.
  2. Select the geographical region of the Instance you want to manage from the drop-down.
  3. Click the Database Instance name or more icon > More info to access the Database Instance's Overview page.
    Note

    If you have a Database Instance using Block Storage, you can follow the next steps from the Snapshots tab.

  4. Scroll down to Backup configuration and click edit icon.
    Note

    Although autobackup is enabled by default, you can select Manual in the Choose a backup configuration step of the Database Instance creation wizard to disable the feature before you create the Instance. You can also disable it after the Database Instance is ready.

  5. 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.

  1. Go to the Snapshots tab of your Database Instance of choice.
  2. Click more icon next to the name of the snapshot.
  3. Click Delete. A pop-up displays to warn you that:
    Important

    This action is irreversible and will permanently destroy your snapshot and all its data.

  4. Type DELETE and click Delete snapshot if you wish to continue.
Still need help?

Create a support ticket
No Results