Before you use Hybrid Backup Recovery (HBR) to back up Oracle databases deployed on on-premises servers, you must register an Oracle instance in the HBR console.

Prerequisites

On-premises servers where Oracle databases reside must be connected to virtual private clouds (VPCs) by using VPNs or Express Connect circuits. You must also make sure that you can use an HBR client to access the IP addresses in the following CIDR blocks of VPCs from an on-premises server: 100.64.0.0/10, 100.64.0.0/11, and 100.96.0.0/11.

Procedure

  1. Log on to the HBR console.
  2. In the left-side navigation pane, choose Backup > Database Backup.
  3. In the top navigation bar, select a region.
  4. On the Database Backup page, click Oracle in the top navigation bar.
  5. On the Local Database Instance tab, click Register Database Instance in the upper-right corner.
  6. In the Add Client panel, install the client as prompted.
    • Windows
      1. Download and decompress the HBR client for Windows.
      2. Log on to the on-premises server and run the following command in the decompressed directory to activate the HBR client for Windows. In this topic, PowerShell is used as the decompressed directory.
        You can obtain the command in the following example from the HBR console:
        ./client.exe init local-uni --uniUserInfoToken "eyJ1cmwiOiJodHRwczovL2EtaGJyLXJlc291cmNlLWhhbmd6aG91Lm9zcy1jbi1oYW5nemhvdS1pbnRlcm5hbC5hbGl5dW5jcy5jb20vY2xpZW50L2luc3RhbGwvZGJhY2t1cF9hZ2VudC93aW42NC84LjAuMjkyOTItMS4wMjg1Nzc2LmRiZy8iLCJob3N0IjoiMTAwLjEwMy44LjExNiIsInBvcnQiOjYwMzA1LCJteXNxbEFnZW50IjoiTm8iLCJtc3NxbEFnZW50IjoiTm8iLCJvcmFjbGVBZ2VudCI6IlllcyIsInZlcnNpb24iOiI4LjAuMjkyOTItMS4wMjg1Nzc2LmRiZyIsImFjY2Vzc0tleSI6IjMyNThhNzQyZjc1OGZhYzZlYTBkYTIxMGQ0YmYwOTYwIiwidXNlU3NsIjoiWWVzIiwiYWdlbnQiOiJvcmFjbGUiLCJ1c2VyVG9rZW4iOiIwNVA5R1NKVCIsInJlZ2lvbklkIjoiY24taGFuZ3pob3UiLCJzb3VyY2VUeXBlIjoiT1JBQ0xFIn0="
    • Linux
      1. Download and decompress the HBR client for Linux.
      2. Log on to the on-premises server and run the command to activate the HBR client for Linux.
        You can obtain the command in the following example from the HBR console:
        sudo ./client init local-uni --uniUserInfoToken "eyJ1cmwiOiJodHRwczovL2EtaGJyLXJlc291cmNlLWhhbmd6aG91Lm9zcy1jbi1oYW5nemhvdS1pbnRlcm5hbC5hbGl5dW5jcy5jb20vY2xpZW50L2luc3RhbGwvZGJhY2t1cF9hZ2VudC9saW51eDY0LzguMC4yOTI5Mi0xLjAyODU3NzYuZGJnLyIsImhvc3QiOiIxMDAuMTAzLjguMTE2IiwicG9ydCI6NjAzMDUsIm15c3FsQWdlbnQiOiJObyIsIm1zc3FsQWdlbnQiOiJObyIsIm9yYWNsZUFnZW50IjoiWWVzIiwidmVyc2lvbiI6IjguMC4yOTI5Mi0xLjAyODU3NzYuZGJnIiwiYWNjZXNzS2V5IjoiMzI1OGE3NDJmNzU4ZmFjNmVhMGRhMjEwZDRiZjA5NjAiLCJ1c2VTc2wiOiJZZXMiLCJhZ2VudCI6Im9yYWNsZSIsInVzZXJUb2tlbiI6IjA1UDlHU0pUIiwicmVnaW9uSWQiOiJjbi1oYW5nemhvdSIsInNvdXJjZVR5cGUiOiJPUkFDTEUifQ=="
    After you register the Oracle instance, HBR installs an HBR client for ECS on each node of the Oracle instance. On the Local Database Instance tab, you can view the installation status of the HBR client on each node of the Oracle instance. You can also upgrade an HBR client for ECS based on your business requirements.

What to do next

  • Create a cluster

    If your Oracle database instances belong to a cluster, you must create another cluster that consists of your Oracle database instances after you register the database instances. HBR backs up these database instances as a cluster to the same backup vault. On the Local Database Instance tab, select a database instance. Click + Create Cluster, select the database instances that belong to the cluster, and click OK.

  • To delete a registered Oracle database, perform the following steps:
    1. Uninstall the HBR client.

      Log on to the on-premises server and run the following command to uninstall the HBR client:

      • Windows
        1. Go to the installation directory of the HBR client (PowerShell), for example, C:\Program Files\aliyun\unibackup>.
        2. Run the command to uninstall the backup client.
           .\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"
    2. Unregister an instance.

      If you no longer need to back up an Oracle database, click the Local Database Instance tab. Then, choose More > Unregister Instance in the Actions column to the right of the Oracle database.

    3. In the dialog box that appears, click OK.

What to do next

Back up an Oracle database