In the Database Backup (DBS) console, you can modify the backup policy of a backup schedule that is in the Running state 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 DBS console.
- In the left-side navigation pane, click Data Source. On the Data Source page, select a region in the upper-left corner.
- 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. Note The backup schedule must be created by using the batch backup feature. Otherwise, Backup Strategies is not displayed. For more information, see Add multiple data sources at a time.
- 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. Note If you set the Full Backup Method parameter to Periodic Backup, you must set the Full backup frequency parameter.
- 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.
Note This parameter is displayed 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.Note If a previous full data 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: minutes. Valid values: 10, 20, 30, 40, 50, and 60. Default value: 10. If you set the interval to 10 minutes, DBS performs an incremental backup every 10 minutes.
Note- This parameter is displayed only if you select Physical Backup.
- If you select Logical Backup and enable the incremental backup feature for databases such as MySQL databases, incremental backups are performed in real time.
- Periodic Backup: performs full backups on a specific periodic basis.
- 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 type of the storage that you want to use. Valid values: DBS Storage, NAS, and OSS For User. You can back up data to Network Attached Storage (NAS) file systems or Object Storage Service (OSS) buckets only if you use the logical backup method and have obtained the public preview qualification of the multi-level storage pool feature.OSS For UserNote- If the Storage Type parameter is set to NAS for the level-1 storage pool, you cannot configure a level-2 storage pool.
- The public preview period of the multi-level storage pool feature has ended. The feature will be upgraded to a basic component in the backup infrastructure and continue to provide storage capabilities in scenarios such as cross-region backup and backup file download. For more information, see Notice on the end of the public preview of the multi-level storage pool feature.
- If you have obtained the public preview qualification of the multi-level storage pool feature and you need to set this parameter to NAS or OSS For User, you must add OSS buckets or NAS file systems as DBS storage pools in advance.
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.
Note You cannot modify this parameter after the backup policy template 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 and how to encrypt backups. Default value: Built-in encryption. Valid values: - Built-in Encryption: 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.