In the Database Backup (DBS) console, you can modify the backup policy of a backup schedule that is running on the Backup Strategies page. For example, you can modify configuration items such as the full backup frequency, storage pool, and retention period.
Background information
A backup policy contains configuration items such as the backup cycle, retention period, and replication method of full backups, incremental backups, and log backups.
Prerequisites
A backup schedule is created to back up data from multiple data sources at a time. For more information, see Back up databases.
Procedure
Log on to the Database Backup (DBS) console.
In the left-side navigation pane, click Data Source. In the top navigation bar, select a region.
Click the ID of the data source that you want to manage.
In the DBS backup plan section of the Data source details page, click the ID of the backup schedule that you want to manage.
In the left-side navigation pane of the backup schedule details page, click Backup Strategies.
NoteBackup Strategies is displayed only if the backup schedule is created by using the batch backup feature. For more information, see Back up databases.
Click Modify to the right of backup policy. In the dialog box that appears, configure the parameters for the backup policy. Then, click OK.
Parameter
Description
Full Backup Method
The method that is used to perform full backups. Valid values:
Periodic Backup: performs full backups on a specific periodic basis.
Single Backup
Full Backup Frequency
The interval at which full backups are performed. Default value: Every Week. You can perform one to seven full backups every week.
NoteThis parameter is available only if you set the Full Backup Method parameter to Periodic Backup.
Full Backup Cycle
The days of the week when full backups are performed. You can select one or more days of a week.
Start At
The start time of each full backup. You can select an exact hour of the day.
NoteIf a previous full backup is not complete at the start time of the next backup, DBS skips the next backup.
Incremental Backup Interval
The interval at which incremental backups are performed. Unit: minute. Valid values: 10, 20, 30, 40, 50, and 60. Default value: 10.
For example, if you set the interval to 10 minutes, DBS performs an incremental backup every 10 minutes.
NoteThis parameter is available only if you select Physical Backup as the backup method.
If you select Logical Backup as the backup method of a database such as a MySQL database and DBS allows you to enable the incremental backup feature for the database, incremental backups are performed in real time. For more information, see Database engines and features or Backup and restoration overview.
Click Modify next to Level-1 Storage Pool (Backup). In the dialog box that appears, modify the parameters to specify a level-1 storage pool. Then, click OK.
Parameter
Description
Storage Type
The storage type. You can select DBS Storage, NAS, or OSS For User.
NoteYou can select NAS or OSS For User only if you select Logical Backup as the backup method and have joined the public preview.
If the Storage Type parameter is set to NAS for the level-1 storage pool, you cannot configure a level-2 storage pool.
If you have joined the public preview and you need to set this parameter to NAS or OSS For User, you must add File Storage NAS (NAS) files systems or Object Storage Service (OSS) buckets as DBS storage pools in advance. For more information, see Add or remove a storage pool.
Storage Pool
The storage pool in which data backups are stored. You must select a storage pool that resides within the same region as the data source.
NoteYou cannot modify this parameter after the backup policy is created.
Retention Period
The duration for which full backups are retained. Valid values: 1 Week, 1 Month, 1 Quarter, 6 Months, 1 Year, 2 Years, 3 Years, 4 Years, 5 Years, 6 Years, 7 Years, 8 Years, 9 Years, and 10 Years. Default value: 2 Years.
Encryption Method
Specifies whether to encrypt backups. Valid values:
Built-in Encryption (default): Backups are encrypted.
The server-side encryption feature is used in OSS. When you upload an object to a bucket for which server-side encryption is enabled, OSS encrypts and stores the object. When you download the encrypted object from OSS, OSS decrypts the object and returns the decrypted object to you. For more information, see Server-side encryption.
Non-encrypted: Backups are not encrypted.