Before you use Cloud Backup to back up an Oracle database deployed on an on-premises server, you must register the database instance in the Cloud Backup console.
Prerequisites
The on-premises database server is connected to Alibaba Cloud VPCs through VPNs or Express Connect circuits. The following CIDR blocks are routable between the on-premises server and Alibaba Cloud: 100.64.0.0/10, 100.64.0.0/11, and 100.96.0.0/11.
Procedure
Log on to the Cloud Backup console.
In the left-side navigation pane, choose . Select a region in the top navigation bar. On the Database Backup page, click the Oracle tab, then click Register Database Instance on the Local Database Instance tab.

In the Add Client panel, install and activate the Cloud Backup client as prompted.
Automatically install the Cloud Backup client for database backup
Windows
Download and decompress the Cloud Backup client for Windows.
NoteTo download the Cloud Backup client to your on-premises server, copy the download URL and open it in a browser on that server.
Log on to the on-premises server. Navigate to the extracted directory, type
PowerShellin the path bar to open a terminal. Click the
icon in the Cloud Backup console, then copy and run the installation command in PowerShell to activate the Cloud Backup client for Windows.
If the output highlighted in the following figure appears, the Cloud Backup client for Windows is installed.

Linux
Download and decompress the Cloud Backup client for Linux.
Copy the download URL and run the
wgetcommand to download the Cloud Backup client for Linux to the on-premises server.wget https://a-hbr-resource-shanghai.oss-cn-shanghai.aliyuncs.com/unibackup/hbr-uni-install-linux.tar.gzRun the following command to extract the Cloud Backup client for Linux.
tar -zxvf hbr-uni-install-linux.tar.gz
Log on to the on-premises server, click the
icon on the Cloud Backup console to copy the installation command, and run it from the directory containing the client.exe file to activate the Linux backup client.
If the output highlighted in the following figure appears, the Cloud Backup client for Linux is installed.

Optional. If automatic installation of the Cloud Backup client fails, manually install the Cloud Backup client.
Manually install the Cloud Backup client for database backup
After registration and activation, check the status on the Local Database Instance tab. If Client Status shows Installed, Database Status shows Online.

Delete a registered database
Uninstall the Cloud Backup client.
Log on to the on-premises server and run one of the following commands to uninstall the Cloud Backup client.
Windows
Navigate to the installation directory of the Cloud Backup client in PowerShell, for example,
C:\Program Files\aliyun\unibackup>.Run the following command:
.\uninstall-unibackup.exe /S /NCRC
Linux
CentOS
sudo rpm --erase "dbackup3-agent-oracle" sudo rpm --erase "dbackup3-agent" sudo rpm --erase "dbackup3-common"Ubuntu
sudo dpkg -r "dbackup3-agent-oracle" "dbackup3-agent" "dbackup3-common"
Unregister a database.
If you no longer need to back up an Oracle database, unregister it: On the Local Database Instance tab, find the database and choose in the Actions column.
WarningAfter you unregister a database, all backups generated by the Cloud Backup client for Windows cannot be restored. Proceed with caution.
In the dialog box that appears, click OK.
More operations
-
Unregister Instance
To unregister an instance that you no longer need to back up, go to the ECS Database Instance tab, find the instance, and in the Actions column, choose ⋮ > Unregister Instance. Click OK in the confirmation dialog box.
WarningAfter you unregister an instance, its backup data becomes unrecoverable.
-
Create Cluster
If your Oracle database instance is part of a cluster, you must manually create the cluster after registering the instances. Cloud Backup then backs up these database instances as a single cluster to the same backup vault. On the ECS Database Instance tab, select the database instances for the cluster and click Create Cluster. In the dialog box, confirm your selections and click OK.
NoteAfter creating an Oracle RAC cluster, you only need to configure a backup plan on a single database instance to perform subsequent operations.



