Update content

How to manage autobackups for Document Database Instances

Reviewed on 01 August 2023Published on 01 August 2023

With the Autobackup feature, the creation and management of your Database Instance snapshots is automated according to your Autobackup schedule configuration.

Security & Identity (IAM):

You may need certain IAM permissions to carry out some actions described on this page. This means:

  • you are the Owner of the Scaleway Organization in which the actions will be carried out, or
  • you are an IAM user of the Organization, with a policy granting you the necessary permission sets

The Autobackup feature is enabled by default upon the creation of a Database Instance. Simultaneously, a schedule policy is created. The default Autobackup frequency is once per day with a retention period of 7 days. You can change this in the Database Instance information page later.

By default, the Database Instance creation date is used as the base timestamp for the automated snapshots. When you change the schedule configuration, the time 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.

  1. Click Document Databases under Managed Databases on the side menu. A list of your Database Instances displays.
  2. Click the Database Instance name or «See more Icon» > More info to access the Database Instance information page.
  3. Click «Edit Icon» in the Snapshots tab to configure the backup frequency and retention.

    Although Autobackup is enabled by default, you can disable the feature before you create the Instance, by unchecking the box in the creation wizard. You can also disable it after the Database Instance is ready.

  4. Click «Validate Icon» to confirm.

You can follow the how to restore snapshots procedure to create a Database Instance from a snapshot.

See Also