Create Standalone Backups for a Database
This topic provides the details and procedure to create standalone backups for a database.
You can create a standalone backup:
Using the Console
Perform the following steps in the Console.
-
On the Data Infrastructures list page, select the Data Infrastructure that you want to work with. If you need help finding the list page or the Data Infrastructure, see List Data Infrastructures.
- On the Data Infrastructure details page, select the VM Cluster tab to view the list of all VM Clusters.
- On the VM Clusters tab, select the VM Cluster that you want to work with.
-
On the VM Cluster details page, select the Databases tab to view the list of all databases.
-
On the Databases tab, select the Database that you want to work with.
-
On the Database details page, select the Backups tab.
-
Select Create backup.
-
In the Create backup panel, provide the following details:
- Display name: The display name is a user-friendly name that you can use to identify the backup. The name doesn’t need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the resource.
- Select Create.
Using dbaascli Utility
You can use the dbaascli to create standalone backups of a complete database or an individual pluggable database:
Note: You can use this method to create standalone backups alongside automatic backups managed through the Console. Standalone backups created using this method appear in the Console after synchronization is complete.
-
Connect to the virtual machine as the
opcuser.For detailed instructions, see Connecting to a Virtual Machine with SSH.
-
Start a
rootuser command shell:sudo -s -
Run the following commands based on your requirement:
-
To create a backup that follows the current retention policy:
dbaascli database backup --start --dbname <database_name>where
dbnameis the database name for the database that you want to back up. -
To create a long-term backup:
dbaascli database backup --start --archival --dbname --tag <archival_tag> -
To create an on-demand RMAN level-0 backup:
dbaascli database backup --dbname <value> --start --level0You can use this option to manually perform an RMAN level-0 (full) backup if the scheduled weekly level-0 backup fails or following a major structural change in the database, such as adding a new data file or tablespace. This option is only valid for backup configurations that use cloud storage only.
-
-
After you start an on-demand backup, the backup process runs in the background. To check the progress of the backup process, run the following
dbaasclicommand on the same compute node where the backup is running:dbaascli database backup --dbname <value> --status --uuid <backup_uuid> -
Exit the
rootuser command shell and disconnect from the compute node:exit exit