Prerequisites
The preparations for database backup are completed. For more information, see Before you begin.
The on-premises database server is connected to virtual private clouds (VPCs) by using virtual private networks (VPNs) or Express Connect circuits. One of the following CIDR blocks can be used for communication between the on-premises database server and Alibaba Cloud: 100.64.0.0/10, 100.64.0.0/11, and 100.96.0.0/11. For more information, see Single-tunnel mode.
Procedure
Log on to the Cloud Backup console.
In the left-side navigation pane, choose . In the top navigation bar, select a region. On the Database Backup page, click the SQL Server tab. On the Local Database Instance tab, click Register Database Instance.
In the Add Client panel, install and activate a Cloud Backup client as prompted.
Automatically install the Cloud Backup client for database backup
Download and decompress the Cloud Backup client for Windows.
Note To download the Cloud Backup client to your on-premises server, you can right-click the URL to copy the URL, and then open the URL in a browser on the on-premises server.
Log on to the on-premises server. Go to the decompression directory and enter PowerShell in the path bar to open the terminal window. Then, click the
icon in the Cloud Backup console, and copy and run the installation command in PowerShell to activate the Cloud Backup client for Windows.
In the Add Client dialog box, note the following:
Before installing, uninstalling, or deleting a client, check important files in the NAS directory.
Ensure the local database server network is connected to Alibaba Cloud VPC through VPN or Express Connect.
The activation command has an expiration time. After it expires, click Refresh to obtain a new one.
If automatic activation fails, click the prompt at the bottom to try manual activation.
If the following output appears, the Cloud Backup client for Windows is installed.
estId":"b16e83eb-6827-4417-bb6b-5f7a16ba4dc9","cloudUniqueId":null,"regionId":null,"ownerId":0,"clientId":null,"clientSecret":null,"clusterId":null}" file=client.go gid=52 line=247 pid=8416
time="2025-05-28T18:45:11.080955+08:00" level=info msg="UniBackup Client registered successfully. ClientID: " file=aliyun.go gid=1 line=398 pid=8416
time="2025-05-28T18:45:11.0841596+08:00" level=info msg="Init local client complete" file=initlocaluni.go gid=1 line=236 pid=8416
time="2025-05-28T18:45:11.085201+08:00" level=info msg="Save config file complete" file=initlocaluni.go gid=1 line=246 pid=8416
If Database Status is displayed as Inactivated, perform the following substeps to activate the database:
Find the database and click Config in the Database Status column.
In the Activate Instance dialog box, enter the database username and password you prepared in advance and click OK.
Optional. If the automatic installation of the Cloud Backup client for Windows fails, perform the following steps to manually install the Cloud Backup client.
Manually install the Cloud Backup client for database backup
Download and decompress the Cloud Backup client for Windows.
Double-click dbackupxxxxx.dbg.exe of version 42518 and click Next.
Select File and Microsoft SQL Server and click Next.

Copy the values of the Backup Server IP Address, Backup Server Port, and Access Key parameters from the Cloud Backup console to the corresponding fields in the installation step, and select Secure Sockets Layer (SSL) encryption. Click Next until the installation is complete.
When the installation is complete, go to the decompression directory and enter PowerShell in the path bar to open the terminal window. Then, click the
icon in the Cloud Backup console to copy and run the installation command in PowerShell.
The Add Client dialog box contains the following notes:
Before installing, uninstalling, or deleting a client, check important files in the NAS directory.
Ensure the local database server network is connected to Alibaba Cloud VPC through VPN or Express Connect.
The activation command has an expiration time. After it expires, click Refresh to obtain a new one.
If automatic activation fails, click the prompt at the bottom to try manual activation.
The terminal outputs log information containing Init local client complete and Save config file complete, which indicates that the Cloud Backup client is installed.
estId":"b16e83eb-6827-4417-bb6b-5f7a16ba4dc9","cloudUniqueId":null,"regionId":null,"ownerId":0,"clientId":null,"clientSecret":null,"clusterId":null}" file=client.go gid=52 line=247 pid=8416
time="2025-05-28T18:45:11.080955+08:00" level=info msg="UniBackup Client registered successfully. ClientID: " file=aliyun.go gid=1 line=398 pid=8416
time="2025-05-28T18:45:11.0841596+08:00" level=info msg="Init local client complete" file=initlocaluni.go gid=1 line=236 pid=8416
time="2025-05-28T18:45:11.085201+08:00" level=info msg="Save config file complete" file=initlocaluni.go gid=1 line=246 pid=8416
Go back to the Cloud Backup console and activate the on-premises database.
Choose <hd> More </hd> > Reactivate in the Actions column of the database.
In the Activate Instance dialog box, enter your database username and password and click OK.
After you register and activate the on-premises database, you can view the registration status on the Local Database Instance tab. If Client Status is displayed as Installed, Database Status is displayed as Online.
After successful activation, on the On-Premises Database Instances tab, the Client Status column of the target instance displays Installed and the Database Status column displays Online, indicating that both client installation and database activation are complete.
Delete a registered database
Log on to the on-premises server and perform the following substeps to uninstall the Cloud Backup client for Windows:
Go to the installation directory of the Cloud Backup client by using PowerShell, for example, C:\Program Files\aliyun\unibackup>.
Run the following command:
.\uninstall-unibackup.exe /S /NCRC
On the Local Database Instance tab, find the database that you want to unregister, and choose in the Actions column.
Warning After 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
When you no longer need to back up a SQL Server database instance, on the ECS Database Instance tab, find the target instance, and in the Actions column, select ⋮ > Unregister Instance. In the dialog box that appears, click Confirmation.
Warning
When you unregister an instance, all its backup data becomes permanently unrecoverable. This action cannot be undone. Proceed with caution.
-
Create Cluster
If your SQL Server database instances belong to a cluster, you must manually create a cluster after you register the instances. Cloud Backup backs up these database instances as a single cluster to the same backup vault. On the ECS Database Instance tab, select the database instances that you want to add to the cluster and click Create Cluster. In the dialog box that appears, select the database instances for the cluster and click OK to create the cluster.
Note
After you create an SQL Server Always On availability group, you need to configure a backup plan for only one database instance in the group.