Restore database backup
Restore a database from a specific backup. The restore operation is asynchronous - the database status will reflect the progress of the operation. By default the source database is restored in place and its current data is replaced. Optionally pass target_database_id in the body to restore the backup into a different database; the target must be in the same cluster, of the same database type, and on the same version as the source, and must have snapshot backups too (databases created on OCI clusters use external backups instead). On OCI clusters, DB1 databases keep their data on a different storage backend than larger resource types, so a backup of a DB1 database cannot be restored into a larger one, or the other way round. The request is rejected with a 400 while another operation is in progress on the database being restored, or while a backup of the source database is still being created.
Authorizations
Path Parameters
Body
Optional ID of a different database to restore the backup into. When provided, the backup is cloned to this target database instead of overwriting the source. The target must be in the same cluster, of the same database type, and on the same version as the source, and must have snapshot backups too. Its current data will be replaced.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"