Database Backup allows you to perform physical backup for Windows or Linux Oracle databases of multiple architectures such as singe-instance, Data Guard physical standby, and Real Application Clusters (RAC).
- The Oracle database is running in ARCHIVELOG mode. For more information, see Enable archive mode.
- The Oracle SID is obtained. For more information, see Obtain the Oracle SID.
- A backup gateway is installed on the server where the Oracle database is deployed. For more information, see Add a backup gateway.
Oracle architectures that support physical backup
This topic describes physical backup of Oracle databases. For more information about logical backup, see Back up Oracle databases.
- Oracle single-instance databases
- Automatic Storage Management (ASM)-based Oracle single-instance databases
- Oracle Data Guard physical standby
- Oracle RAC
- To perform a successful backup, you must check the control files, SPFILEs, data files, archived log files, and redo log files of Oracle databases before you back up the data. For more information, see Query the locations of files in an Oracle RAC environment.
- To back up the entire RAC, you only need to deploy a backup gateway on one of the servers where the Oracle RAC database is deployed and enter the Oracle SID of the server.
Create a backup schedule
For more information, see Purchase a backup schedule.
Configure the backup schedule
- Log on to the DBS console.
- In the left-side navigation pane, click Backup Schedules. On the Backup Schedules page, select a region in the upper-left corner.
- On the Backup Schedules page, click Configure Backup Schedule in the Actions column corresponding to the backup schedule that you purchased.
- In the Configure Backup Source and Destination step of the Configure Backup Schedule wizard, configure the backup source and destination,
and click Next in the lower-right corner of the page.
Section Parameter Description N/A Schedule Name The name of the backup schedule. Database Backup generates a backup schedule name. We recommend that you set a descriptive name that makes the backup schedule easy to identify. Backup schedule names are not required to be unique. Backup Source Information Backup Mode The method that is used to back up data. By default, the backup method that you selected when you purchased the backup schedule is used. In this example, the physical backup mode is used. Instance Region The region where the instance that you want to back up is deployed. Backup Gateway The backup gateway on the destination server. For more information, see Add a backup gateway. Database Type The type of the database that you want to restore. Default value: Oracle. SID The SID of the destination server. For more information, see Obtain the Oracle SID. Oracle Home The absolute path of ORACLE_HOME. For more information, see Obtain the database program directory.Note This parameter is optional. Backup Destination Information Backup Storage Type The type of storage of the backup data. Valid values:
Note In this example, select DBS built-in storage (recommended). If you select OSS for user, you must set the OSS Bucket Name parameter.
- DBS built-in storage (recommended)
- OSS for user
OSS Bucket Name The name of the OSS bucket.
This parameter is valid only when you set the Backup Storage Type parameter to OSS for user.
Storage Encryption The method used to encrypt the stored data. Valid values:
- Encrypted: The backup data is encrypted.
The server-side encryption feature of Object Storage Service (OSS) is used. When you upload an object to OSS, 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: The backup data is not encrypted.
- In the Edit Backup Objects step, Back Up Entire Instance is automatically selected. Click Next. Note If you back up an entire database, the permission data and stored procedures are also backed up.
- In the Configure Backup Time step, set the parameters as described in the following table and click Next.
Parameter Description Full-scale Backup Frequency The frequency of the backup schedule. Valid values: Periodic Backup and Single Backup. Full Data Backup Recurrence
The days of the week on which Database Backup runs the backup schedule.
Full Data Backup Start At
The start time of the backup.Note If the time required to complete a full data backup is longer than the backup interval, Database Backup skips the next backup.
Incremental log real-time backup
Specifies whether to enable incremental backup.
This parameter is valid only when you set Full-scale Backup Frequency to Periodic Backup.
Maximum Concurrent Threads for Full Data Backup
The maximum number of concurrent threads available for a full data backup. The maximum number of actual concurrent threads varies based on backup schedule specifications in the console.
Backup network speed limit
The limit on the network bandwidth. You can set the limit based on your need. The default value of this parameter is
0, which indicates that the network bandwidth is unlimited.
Transaction Log backup interval
The interval at which incremental backups are performed. Database Backup performs incremental backups based on your settings. If you set the interval to 10 minutes, Database Backup performs an incremental backup every 10 minutes.
This parameter is valid only when you set the Real-Time Transaction Log Backup parameter to Enable.
Delete Logs upon Backup Success Specifies whether to automatically delete archived log files that are backed up. Valid values:
- EnableNote If you select Enable, you must configure the Log Retention Period parameter.
Log Retention Period Specifies that the system will delete the log files archived before this period after a successful backup. Default value: 7 days. It indicates that the system will delete the log files archived before seven days after a successful backup.
This parameter is valid only when the Delete Logs upon Backup Success parameter is set to Enable.
Enable compression Specifies whether to compress data during backup. Valid values:
- Enable: Data is compressed during backup to reduce storage space.
- Disable: Data is not compressed during backup.
Backup set mode The mode used to back up the database. Valid values:
- Non-intrusive streaming backup: Database Backup uses Oracle System Backup to Tape (SBT) to back up data. Backup data is stored as backup sets on a virtual tape before the data is streamed to the cloud. This method uses less storage space and does not have a negative impact on the source database.
- Mount backup to sandbox instance: Database Backup uses the Recovery Manager (RMAN) tool to perform image copy backup.
Backup data is streamed and sent to OSS by using the FUSE protocol, instead of being
stored in disks. After the sandbox feature is enabled, the backup data can be mounted
You must install FUSE on your server to ensure successful backup tasks.
- In the Edit Lifecycle step, configure the lifecycle for a full data backup in the Configure Full Data Backup
Lifecycle section. Note If you select Enable for the Real-Time Transaction Log Backup parameter, you must configure the backup time for incremental backup data.
- After the configuration is complete, click Precheck in the lower-right corner of the page.
- If the Precheck Passed message appears, click Start Task. Note When the state of the backup schedule changes to Running, the backup schedule takes effect. You can view the backup task on the Backup Schedules page. For more information, see View backup schedules.
What to do next
Database Backup allows you to restore an Oracle database to a different machine, to a different directory of the source machine, or to the same directory of the source machine. For more information, see Restore Oracle databases.