After you enable data backup, you can change the backup destination as needed.
Considerations
Automatic cleanup only supports cleaning up backup and archive data under the paths specified in DATA_BACKUP_DEST and LOG_ARCHIVE_DEST. After you change the backup destination, you can only manually clean up data under the original backup path. For more information about how to manually clean up backup or archive data, see Manually clean up specified backup or archive data and Manually clear the backup path or archive path.
Procedure
Log in to the
systenant or user tenant of the cluster as a tenant administrator.Check whether a backup task is in progress. For more information, see View the data backup progress.
If the query result is not empty, it indicates that a data backup task is in progress. You need to stop the backup task. For more information about how to stop a backup task, see Stop backup.
Reconfigure the backup destination.
When you change the backup destination, if the new directory is a backup directory used by the tenant before, the
formatfile must exist in the directory. Otherwise, the new directory must be empty.For more information about how to configure the backup destination, see Prepare for data backup.
After the configuration is completed, query the
CDB_OB_BACKUP_PARAMETERview in thesystenant or theDBA_OB_BACKUP_PARAMETERview in the user tenant to confirm whether the new backup destination is configured. For more information, see View data backup-related parameters.
What to do next
After you change the backup destination, you need to initiate a full data backup. For more information, see Initiate a full data backup.