After enabling data backup, you can change the backup destination based on your business needs.
Considerations
Since automatic cleanup only supports cleaning up backup and archive data under the currently specified paths in DATA_BACKUP_DEST and LOG_ARCHIVE_DEST, after changing the backup destination, the data in the original backup path can only be cleaned up manually.
Procedure
Log in to the
systenant or user tenant of the cluster as a tenant administrator.Check if any backup tasks are in progress. For details, see View the progress of a data backup.
If the query result is not empty, it means a data backup is in progress, and you need to stop it. For detailed operations on stopping a backup task, see Stop a backup.
Reconfigure the backup destination.
When reconfiguring the backup destination, if the directory to be replaced is a backup directory previously used by the tenant, the
formatfile in that directory must exist. Otherwise, the directory to be replaced must be empty.For detailed operations on configuring the backup destination, see Prepare for backup.
After completing the above steps, query the
CDB_OB_BACKUP_PARAMETERview (in thesystenant) or theDBA_OB_BACKUP_PARAMETERview (in a user tenant) to confirm whether the new backup destination has been successfully configured. For details, see View data backup-related parameters.
What to do next
After the backup destination is successfully changed, you need to initiate a full data backup again. For detailed operations on initiating a full data backup, see Initiate a full data backup.
