This topic describes common issues and solutions for database backups in Cloud Backup.
FAQ
Database instance issues
-
What should I do if a database instance fails to register with Database Backup?
-
How do I resolve the "Inactivated" status for a database instance?
-
How do I resolve the "DB Offline" status for a database instance?
-
What should I do if the database status cannot be retrieved after I register a database instance?
Client issues
-
How do I view the client process status, find the log path, and restart the client?
-
How do I resolve the "Offline" status for a database client?
-
How do I resolve a backup client installation failure when backing up a local SQL Server database?
-
How do I resolve a Database Backup client installation failure on an ECS instance?
Backup issues
-
How can I get a free trial of the local database backup feature?
-
What are the network requirements for backing up a local database?
-
How do I change the username and password for Database Backup?
-
How do I resolve the "RMAN reports a non-fatal error" error during an Oracle incremental backup?
-
What should I do if I fail to view database details when backing up an SQL Server 2019 database?
-
What MySQL database versions and operating systems are supported for backup?
-
Why does the backup history contain duplicate or unexpected backup records?
-
Why does a backup fail and the backup plan status show "Error"?
-
Why is the alert time different from the time when the error actually occurred?
Restore issues
Backup vault issues
Database instance issues
Instance registration failure
First, check if the backup client is installed on your server (a local server or an ECS instance). If it is, uninstall it and remove its configuration files by following the instructions in Uninstall the client. Then, try registering the instance again.
Inactive instance status
MySQL
-
This issue may be caused by an incorrect Database Account or Password, or by a backup account with insufficient permissions. Verify the credentials, grant the necessary permissions, and then retry the registration.
For more information, see Create a MySQL backup account and configure permissions.
-
Run
systemctl restart dbackup3-agentto restart the backup client. -
If the database instance remains inactive after you restart the backup client, collect the log files for analysis.
The client log path is
/var/log/dbackup3/agent.log.
Oracle
-
This issue may be caused by an incorrect Database Account or Password, or by a backup account with insufficient permissions. Verify the credentials, grant the necessary permissions, and then retry the registration.
For more information, see Create an Oracle backup account and configure permissions.
-
Restart the backup client.
-
Linux: Run
systemctl restart dbackup3-agentto restart the backup client. -
Windows:
-
Press
Win + Rto open the Run dialog box. -
Enter
services.mscand press Enter to open the Services management console. -
In the list of services, find the
dbackup3-agentservice. -
Check that the service status is Running. If not, right-click the
dbackup3-agentservice and select Restart.
-
-
-
If the database instance remains inactive after you restart the backup client, collect the log files for analysis.
-
The client log path on Linux is
/var/log/dbackup3/agent.log. -
The client log path on Windows is
Local Disk (C) > ProgramData > scutech > dbackup3 > agent > log > dbackup3-agent.log.
-
SQL Server
-
This issue may be caused by an incorrect Database Account or Password, or by a backup account with insufficient permissions. Verify the credentials, grant the necessary permissions, and then retry the registration.
For more information, see Create an SQL Server backup account and configure permissions.
-
Restart the
dbackup3-agentservice.-
Press
Win + Rto open the Run dialog box. -
Enter
services.mscand press Enter to open the Services management console. -
In the list of services, find the
dbackup3-agentservice. -
Check that the service status is Running. If not, right-click the
dbackup3-agentservice and select Restart.
-
-
If the database instance remains inactive after you restart the service, collect the log files for analysis.
The client log path is
Local Disk (C) > ProgramData > scutech > dbackup3 > agent > log > dbackup3-agent.log.
Offline instance status
MySQL
-
Check the MySQL database status.
Log on to the ECS instance and run the
systemctl status mysqldcommand. If the status is inactive, the MySQL database service is not running. -
Restart the MySQL service.
Run the
systemctl start mysqldcommand to restart the MySQL service. The database status in the console changes to Online.
Oracle
-
Check the Oracle listener status.
Log on to the ECS instance and run the following commands:
su - oracle lsnrctl statusIf the service is running, the status is running. Otherwise, a TNS: no listener message is displayed.
-
Check the Oracle database runtime status.
su - oracle sqlplus /nolog conn /as sysdba SELECT name, status FROM v$instance;The
v$instanceview provides information about the database instance. Thestatuscolumn shows the instance status. A status of OPEN means the database is open and ready for connections. -
Restart the Oracle listener.
Start the Oracle listener service to listen for connection requests from clients.
su - oracle lsnrctl start -
Restart the Oracle database instance.
In SQL*Plus, log on with system administrator privileges and then start the Oracle instance.
sqlplus / as sysdba; STARTUP;After the database instance starts, the database status in the console changes to Online.
SQL Server
-
Check the SQL Server database status.
-
Press
Win + Rto open the Run dialog box. -
Enter
services.mscand press Enter to open the Services management console. -
In the list of services, find the SQL Server service, such as "SQL Server (MSSQLSERVER)".
-
Check the service status, which can be Running, Stopped, or Paused.
-
-
Restart the SQL Server service.
If the SQL Server database status is Stopped or Paused, right-click the SQL Server service and select Start. If the Start option is grayed out, reopen the Services management console as an administrator and try again. After the service starts, the database status in the console changes to Online.
Multiple instances after registration
If multiple database instances are deployed on a single ECS instance, the Cloud Backup console scans and displays all of them during registration.
On the ECS database instance tab, the console displays multiple database instances on the same ECS instance as separate records. Each record corresponds to a different instance name and port number.
Cannot retrieve database status
-
Symptom
After a database instance is registered, the Cloud Backup console cannot retrieve its status.
In the console, the database status column continuously displays a loading icon.
-
Cause
The current operating system is not supported by the database.
-
Solution
Switch to a supported operating system and try again.
Client issues
Check client status, log path, and restart
-
Linux
-
Check the process status of the backup client.
Run the
systemctl status dbackup3-agentorservice dbackup3-agent statuscommand to check the process status of the database backup client.An output of active or
dbackup3-agent is running...indicates that the client is running correctly.● dbackup3-agent.service - dbackup3 agent daemon Loaded: loaded (/usr/lib/systemd/system/dbackup3-agent.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2023-12-11 13:47:34 CST; 1min 13s ago Main PID: 22192 (dbackup3-agent) CGroup: /system.slice/dbackup3-agent.service └─22192 /opt/scutech/dbackup3/bin/dbackup3-agent -f /etc/opt/scutech/dbackup3/agent/svc.conf.d Dec 11 13:47:34 iZbp1******gktZ systemd[1]: Started dbackup3 agent daemon. -
Restart the backup client.
After you restart the client process by running the
systemctl restart dbackup3-agentorservice dbackup3-agent restartcommand, the client status has returned to normal if the database Client Status on the console is Installed.
The client log path is:
/var/log/dbackup3/agent.log -
-
Windows
-
Press
Win + Rto open the "Run" dialog box. -
Enter
services.mscand press Enter to open the Services console. -
In the service list, find the
dbackup3-agentservice. -
Check if the status of the service is "Running". If the status is not "Running", right-click the
dbackup3-agentservice and select "Restart" to start it.
The client log path is:
C:\ProgramData\scutech\dbackup3\agent\log\dbackup3-agent.log -
Resolve "Offline" client status
-
Symptom
The database's Client Status is Offline.
At this point, the Client Status is Offline, and the database status is Unknown.
-
Cause
The Offline status indicates a loss of heartbeat from the client, commonly caused by the client process being terminated due to insufficient memory or the host device being powered off.
-
Solution
Check and restart the client as described in How do I check the client process status, find the log path, and restart the client?. After the client status changes to Running, wait until the database's Client Status in the console changes to Installed. This indicates that the client has returned to normal.
Resolve "exit status 4" installation error
This error occurs because the local security policy setting "User Account Control: Admin Approval Mode for the Built-in Administrator account" is not enabled. This policy must be set to Enabled.
-
Press Win+R to open the Run command, enter
gpedit.mscto run the Local Group Policy Editor. -
In the Local Group Policy Editor, navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options. In the right pane, find User Account Control: Admin Approval Mode for the Built-in Administrator account and change its status to Enabled.
Resolve client installation failures for local SQL Server
-
Log on to the server and check the backup log.
Windows client log path:
C:\ProgramData\scutech\dbackup3\agent\log\dbackup3-agent.log -
In the log, check the entries around the time the task failed.
If the backup log contains the error message Failed to install dbackup3-agent service, errno=1783, The stub received bad data, the system may have rejected the installation. Check if any antivirus or security software has blocked the installation and review the block records. Add the installer to the allowlist or temporarily disable the security software, then try the installation again.
Resolve client installation failures on ECS
To ensure a successful installation, check the following:
-
Cloud Assistant status: Verify that Cloud Assistant is installed on the ECS instance and is running properly.
If the installation fails, you can usually find a failed command record in the Cloud Assistant console. Copy the command and run it manually on the ECS host. During manual installation, if network or script execution errors occur, specific error messages will appear. Use these messages to resolve the issues, for example, by adjusting network settings.
After you resolve the issues and the script runs successfully, the client is installed. Then, re-trigger the installation from the console to complete the process.
-
C drive space: Ensure that the C drive has enough free space. Insufficient space will prevent the client installation.
Backup issues
Free trial for local database backup
The free trial process for local database backup is the same as for ECS database backup. For details, see 30-day free trial.
Network requirements
You must connect your on-premises database server to an Alibaba Cloud virtual private cloud (VPC) through a leased line or VPN. You must also configure routing from your on-premises network to the following CIDR blocks in the cloud: 100.64.0.0/10 and 100.96.0.0/11.
Real-time backup interval and incremental backup
A real-time backup can achieve a seconds-level RPO and currently supports MySQL and Oracle databases. After you enable real-time backup, you cannot configure a separate traditional log backup. However, you can combine it with an incremental backup to improve your data protection.
Change database backup credentials
Use Reactivate to change the backup credentials, for example, when a password expires. Reactivation does not affect existing backup plans but does affect any backup jobs in progress. To minimize the impact, do the following:
-
On the Backup Plans tab, pause any real-time log backups.
-
In the actions column for the database, choose More > Reactivate.
Database backup encryption
Yes, database backups are encrypted to protect your data from security risks. This includes both encryption in transit and encryption at rest.
-
Encryption in transit:By default, data is encrypted in transit using HTTPS, which is based on secure sockets layer/transport layer security (SSL/TLS). SSL/TLS ensures confidentiality and data integrity between communicating applications.
-
Encryption at rest: Cloud Backup encrypts your backup data in the backup vault using the AES-256 algorithm and provider-managed keys.
Handling database backup failures
MySQL
In Job History, the job status is Error.
Follow these steps:
-
Log on to the ECS instance or local server to check the MySQL service status.
Run the
systemctl status mysqldcommand. An active status indicates the service is running normally. If the status is inactive, the service is not running correctly. Restart the service and try again. -
Verify the database username, password, and permissions. An expired password or recently changed user permissions can also cause this issue.
If the Database Account or Password that you entered during database registration is incorrect, or if the backup account has insufficient permissions, verify that the credentials are correct and grant the required permissions to the backup account. We recommend that you create a dedicated backup user.
The minimum required set of permissions includes RELOAD, LOCK TABLES, REPLICATION, and PROCESS.
-
Log on to the server and view the backup log.
Linux client log path:
/var/log/dbackup3/agent.log-
If the log contains the keyword uploadPart SecurityTokenExpired, the local time on your server is incorrect. Correct it.
-
If the log contains the keyword ib_logfile0, a restore operation was initiated while another restore job was already in progress. This caused the ib_logfile0 file to be deleted but not recreated, causing subsequent backup failures.
-
If the log contains the error message Error: failed to execute query LOCK TABLES FOR BACKUP: Access denied; you need (at least one of) the RELOAD privilege(s) for this operation, the backup account has insufficient permissions. To perform a backup job, the account needs at least the following permissions: RELOAD, LOCK TABLES, REPLICATION, and PROCESS. In MySQL 8.0, the BACKUP_ADMIN permission is also required.
-
If the log contains the message no space left on device, a restore job failed on MySQL backup client version 29292 due to insufficient cache space for restoring incremental backup files. You can create a symbolic link to point the storage path to another disk to resolve the issue.
-
If the log backup status in the console is "Error" and the log contains the keyword @LM_ERROR@agent|To backup binlog in slave node needs to set log_slave_updates to ON, the backup node is a slave node. To perform log backups correctly, enable the
log_slave_updates=1parameter. After changing this configuration, we recommend that you perform a full backup before you perform another log backup.
-
Oracle
-
Log on to the server and view the backup log.
Linux client log path:
/var/log/dbackup3/agent.logWindows client log path:
C:\ProgramData\scutech\dbackup3\agent\log\dbackup3-agent.log -
In the log, check the entries around the time the task failed. If the backup log contains any of the following error messages, use the corresponding solution:
-
If the log contains the keyword ORA-12560: TNS:protocol adapter error, check whether the ORACLE_SID environment variable is unset or set incorrectly, which can prevent a connection to Oracle. Try to log on by using the sqlplus command with sysdba permissions. If you can log on after correctly configuring the ORACLE_SID environment variable, the issue is resolved.
-
If the log contains the keyword sbtclose2 returned error-failed to close file, the local time on your server is incorrect, or the system time zone is not set correctly. Change the time on the database server and restart the dbackup3-agent service. For instructions, see How do I check the client process status, find the log path, and restart the client?.
-
If the log contains the keyword Failed to probe oracle instances, there are two possible causes:
-
The Oracle instance was not running when the client was installed.
Restart the dbackup3-agent service. For instructions, see How do I check the client process status, find the log path, and restart the client?.
-
The ORACLE_HOME environment variable is not configured correctly.
-
For Linux systems: Run
/etc/init.d/dbackup3-agent config oracleand then enter the actual $ORACLE_HOME path. -
Restart the dbackup3-agent service. For instructions, see How do I check the client process status, find the log path, and restart the client?.
-
-
-
If the log contains the keyword ORA-12154: TNS:could not resolve the connect identifier specified, your password contains special characters, causing validation to fail and the backup to fail.
-
If the log contains the keyword ORA-01017: invalid username/password; logon denied, reactivate the instance with the correct username and password, and then perform the backup again.
-
If the log contains the keyword The difference between the request time and the current time is too large, the time on the server where the Cloud Backup client is installed does not match the time on the Cloud Backup server.
Solution:
-
Check and sync the time: We recommend using the Network Time Protocol (NTP) to synchronize the server time with Coordinated Universal Time (UTC). On a Linux system, use the
ntpdateorchronycommand to sync the time. You can run thesudo ntpdate pool.ntp.orgcommand for manual synchronization. -
Check the time zone settings: To ensure that the time zone is set correctly, use the
timedatectlcommand to view and set the time zone. -
Restart the backup client and then run the backup job again in the Cloud Backup console. For instructions, see How do I check the client process status, find the log path, and restart the client?.
-
-
SQL Server
If a backup fails when you use Cloud Backup to back up an SQL Server database, follow these steps:
-
Log on to the server and view the backup log.
The Windows client log path is:
C:\ProgramData\scutech\dbackup3\agent\log\dbackup3-agent.log -
Based on the time range (start and end time) from the error record in the console, find and analyze the log entries from around the time the task failed. If the backup log contains any of the following error messages, use the corresponding solution:
-
Error: The login has insufficient permissions.
Cause: The SQL Server backup account has insufficient permissions.
Solution: Check the backup account and its permissions. For more information, see Step 2: Create a backup account and configure permissions.
-
Error: Login failed for user 'xxx'.
Cause: The password for the SQL Server backup user has expired (Error Code: 18487, SQL State: 28000).
Solution: Change the password of the backup user in SQL Server. Then, log on to the Cloud Backup console and in the Actions column for the database, choose More > Reactivate.
-
Error: Cannot overwrite file.
Cause: The SQL Server database restore path is occupied by another database.
Solution: Create a new restore job. When you restore from a specified backup, double-click the restore path to modify it.
On the Restore Configuration tab, you can configure parameters such as reconnection time and rate limit. You can also double-click a target path in the file path tree below to modify it.
-
Error: The target SQL Server database does not exist. Make sure you have entered the name correctly.
Cause: The target SQL Server database does not exist.
Solution: Verify that the target database exists. If the database no longer exists, edit the backup plan and remove the corresponding database.
-
Error: The database is participating in a database mirroring session or an availability group. Some operations are not allowed on a database that is participating in a database mirroring session or an availability group.
Cause: SQL Server AlwaysOn is enabled for the SQL Server database.
Solution: To restore the database, use the ALTER DATABASE command to remove it from the database mirroring session or availability group.
-
Error: The database is configured for database mirroring or is joined to an availability group. If you want to restore the database, use ALTER DATABASE to remove mirroring or remove the database from its availability group.
Cause: SQL Server AlwaysOn is enabled for the SQL Server database.
Solution: To restore the database, use the ALTER DATABASE command to remove it from the database mirroring session or availability group.
-
Error:
The backup job fails in the console, displaying the message "Job failed, error: -1 Backup or restore of database ""xxx"" failed, VDI error "0x80770004"".
Troubleshooting steps:
-
Go to the
C:\ProgramData\scutech\dbackup3\agent\log\dbackup3-agent.logdirectory and open the log file. Based on the time range (start and end times) from the error record in the console, locate the logs from around the time the task failed. -
If the log contains "Failed to receive WebSocket data from x.x.x.x:60305, errno=10054, connection reset" or "Failed to open socket x.x.x.x:60305, errno=10060, connection timed out", the connection between the client and the backup server was interrupted. Check your network connectivity.
-
If "Channel xxxxxxxxxxxxxx is registered" appears in subsequent logs, the client has reconnected to the server after retrying. You can trigger a new backup job or wait for the next scheduled job to run, and then check whether the backup proceeds normally.
-
If the backup still fails, contact technical support for assistance. You can join our DingTalk support group or contact a service expert directly.
-
Cloud Backup Technical Support Group
Get quick answers to your questions about pricing, features, and usage. Click to join Cloud Backup Online Support (Chrome is recommended). Search for and join the public group using DingTalk ID 88650005148.
-
Cloud Backup Expert Support
Technical experts provide live analysis to quickly resolve product issues. Click to contact Cloud Backup support (Chrome is recommended). Add the contact on DingTalk using the ID: d37_g935gslgo.
-
-
-
Oracle backup error: Failed to get install path from registry
-
Symptom
An Oracle data backup fails, and the log contains the following error message:
Failed to get install path from registry. Failed import $APPDATA\scutech\dbackup3\common\conf/config.ini: No such file or directory (Failed to open '$APPDATA\ scutech\dbackup3\common\conf/config ini' as default global config. -
Cause
Oracle 12c and later versions support running the Oracle service as a virtual user. However, the Cloud Backup client runs as the system user. This can cause a permission conflict that prevents Oracle from accessing directories created by the backup software.
-
Solution
Manually grant the Full Control permission to the Users group. Follow these steps:
-
Open Registry Editor. Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\scutech\dbackup3, right-click theagentkey, and then select Permissions. -
In the Permissions for agent dialog box, select the Users group, check the Allow check box for Full Control, and click OK.
-
Incremental backup is as slow as full backup
-
Symptom
An incremental or log backup takes nearly as long as, or longer than, a full backup.
-
Solution
Enable Block Change Tracking (BCT) in your Oracle database. BCT accelerates RMAN incremental backups by tracking data block changes to reduce backup time. This feature is disabled by default and must be enabled manually.
Recommended scenarios for enabling BCT:
-
Systems that perform daily or hourly RMAN incremental backups.
-
Terabyte-scale databases that require faster incremental backups.
-
Production environments that require high availability and fast recovery, and rely on incremental backups.
Use caution when enabling BCT in the following scenarios:
-
Very small databases, such as those under 1 GB, where the benefits of BCT are minimal.
-
OLTP systems with an extremely high write load, such as tens of thousands of transactions per second, where you must weigh the potential performance impact.
-
Environments with limited storage space, where you need to evaluate the storage requirements of the BCT file.
-
RMAN non-fatal error during Oracle incremental backup
-
Symptom
A full backup of your Oracle database succeeds, but incremental backups consistently fail. You receive an error message similar to the following:
oracle.phxxdb.18472|RMAN reports a non-fatal error: ORA-19505: failed to identify file "/arch/1_5137021_976544044.dbf" ORA-27037: unable to obtain file status Linux-x86_64 Error: 2: No such file or directory Additional information: 3 -
Cause
This issue is caused by missing archive logs. Another backup script or backup task may have moved the logs, preventing Cloud Backup from finding the files required for the incremental backup.
-
Solution
Do not use Cloud Backup concurrently with other backup software or backup scripts. Running multiple backup tools concurrently can cause conflicts, leading to backup failures or preventing successful restores.
Failed to list SQL Server 2019 database details
-
Symptom
When you create or edit a backup plan for SQL Server 2019 and select a database instance, the console displays the error message: "Failed to list unibackup instance detail".
-
Cause
This error occurs if another backup software or script performs a concurrent backup on SQL Server 2019 while you are creating or editing a backup plan.
The console then displays an error dialog with the message: "Failed to list unibackup instance detail".
-
Solution
-
Remove the
C:\ProgramData\scutech\dbackup3\agent\mssql\(local)\data.dbfile. -
In the Services console (services.msc), find and restart the dbackup3-agent service.
-
Incorrect local SQL Server IP address
-
Symptom
After you register a local SQL Server database with Cloud Backup, the IP address in the Cloud Backup console does not match the host's local IP address. This issue occurs even when the local client is running normally and its IP address has not been changed.
On the Local Database Instance tab, the IP address in the Client IP address column is in the 169.x.x.x range, which is different from the local IP address.
-
Cause
In a multi-NIC environment, Cloud Backup retrieves the IP address of an unused network interface on the host.
-
Solution
To resolve this issue, disable the unused network interface, and then reinstall the client.
SQL Server TDE backup
No, this is not supported.
Troubleshoot an offline client that cannot be uninstalled
-
Symptom
After you deploy the anti-ransomware service for an SQL Server instance, the client appears offline, attempts to delete the anti-ransomware policy fail, and you cannot uninstall the client.
On the anti-ransomware management page on the console, the client status for the SQL Server instance is Offline, and you cannot delete the anti-ransomware policy.
In Windows Task Manager, the dbackup3-agent service is stopped, and the agent log contains entries similar to "Stopping all jobs".
Attempting to connect database ... ... Stopping all jobs -
Cause
Antivirus software has blocked the client. Check your antivirus software for any related block records from around that time.
-
Solution
Add the client to the allowlist in your antivirus software, and restart the client service (or reinstall the client).
Database backup issues after an ECS instance transfer
After an ECS instance is transferred from its original Alibaba Cloud account to a new one, its ECS metadata is not automatically synchronized to the Cloud Backup service. You must synchronize the ECS metadata in the Cloud Backup service backend before you can install and use the database backup feature. For detailed steps, contact Cloud Backup Support or join the Cloud Backup Online Support DingTalk group.
-
Cloud Backup Technical Support Group
Get quick answers to your questions about pricing, features, and usage. Click to join Cloud Backup Online Support (Chrome is recommended). Search for and join the public group using DingTalk ID 88650005148.
-
Cloud Backup Expert Support
Technical experts provide live analysis to quickly resolve product issues. Click to contact Cloud Backup support (Chrome is recommended). Add the contact on DingTalk using the ID: d37_g935gslgo.
MySQL version and OS limitations
There are limitations on supported database versions, operating systems, and backup features. For example, MySQL databases deployed on Windows are not supported. For more information, see Compatibility list and limits.
Backing up a new database
Since MySQL backups are performed at the instance level, any new databases are automatically included in the next backup cycle with no manual configuration required.
Cancel a database backup
MySQL
Canceling a database backup stops all associated fees and releases its resources.
When you cancel a database backup, your backup data is permanently deleted and cannot be recovered. Evaluate the impact of this action before you proceed.
-
Delete the backup plan.
-
Unregister the instance. When you unregister an ECS instance database, the installed backup client is automatically uninstalled.
-
If the MySQL database is installed on a local server, log on to the local server and uninstall the backup client.
-
Linux:
-
CentOS
sudo rpm --erase "dbackup3-agent-mysql" sudo rpm --erase "dbackup3-agent" sudo rpm --erase "dbackup3-common" -
Ubuntu
sudo dpkg -r "dbackup3-agent-mysql" "dbackup3-agent" "dbackup3-common"
-
-
-
Delete the following directories:
-
Linux:
/etc/default/dbackup3* /opt/scutech /var/opt/scutech/ /var/log/dbackup3/ /etc/opt/scutech/
-
-
Delete the backup vault.
In the navigation pane, click Vault Management. Then, find and delete the corresponding backup vault.
Oracle
Canceling a database backup stops all associated fees and releases its resources.
When you cancel a database backup, your backup data is permanently deleted and cannot be recovered. Evaluate the impact of this action before you proceed.
-
Delete the backup plan.
-
Unregister the instance. When you unregister an ECS instance database, the installed backup client is automatically uninstalled.
-
If the Oracle database is installed on a local server, log on to the local server and uninstall the backup client.
-
Windows:
-
In PowerShell, navigate to the backup client installation directory. 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"
-
-
-
Delete the configuration files.
-
Windows:
Delete all configuration files under
c:\programdata\scutech. -
Linux:
Delete the following directories:
/etc/default/dbackup3* /opt/scutech /var/opt/scutech/ /var/log/dbackup3/ /etc/opt/scutech/
-
-
Delete the backup vault.
In the navigation pane, click Vault Management. Then, find and delete the corresponding backup vault.
SQL Server
Canceling a database backup stops all associated fees and releases its resources.
When you cancel a database backup, your backup data is permanently deleted and cannot be recovered. Evaluate the impact of this action before you proceed.
-
Delete the backup plan.
-
Unregister the instance. When you unregister an ECS instance database, the installed backup client is automatically uninstalled.
-
If the SQL Server database is installed on a local server, log on to the local server and uninstall the backup client.
-
Windows:
-
In PowerShell, navigate to the backup client installation directory. For example,
C:\Program Files\aliyun\unibackup>. -
Run the
uninstall-unibackup.execommand and follow the prompts in the uninstallation wizard.
-
-
-
Delete all configuration files under
c:\programdata\scutech. -
Delete the backup vault.
In the navigation pane, click Vault Management. Then, find and delete the corresponding backup vault.
Duplicate or unexpected backup records
This occurs when you clone a server (a local server or an ECS instance) that has the database backup client installed, or when you create a new ECS instance or local server from an image that includes the same client. The cloned server retains some client information from the original server, which causes duplicate backup records. To resolve this issue, log on to the cloned server and uninstall the client. To uninstall the database backup client, follow the relevant instructions below.
MySQL
Unregistering an ECS instance automatically uninstalls the database backup client. If the MySQL database is on a local server, follow these steps to uninstall the client:
-
Uninstall the client.
Linux:
-
CentOS
sudo rpm --erase "dbackup3-agent-mysql" sudo rpm --erase "dbackup3-agent" sudo rpm --erase "dbackup3-common" -
Ubuntu
sudo dpkg -r "dbackup3-agent-mysql" "dbackup3-agent" "dbackup3-common"
-
-
Delete the following directories:
Linux:
/etc/default/dbackup3* /opt/scutech /var/opt/scutech/ /var/log/dbackup3/ /etc/opt/scutech/
Oracle
Unregistering an ECS instance automatically uninstalls the database backup client. If the Oracle database is on a local server, follow these steps to uninstall the client:
-
Uninstall the client.
-
Windows:
-
In PowerShell, navigate to the backup client installation directory. 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"
-
-
-
Delete the configuration files.
-
Windows:
Delete all configuration files from the
c:\programdata\scutechdirectory. -
Linux:
Delete the following directories:
/etc/default/dbackup3* /opt/scutech /var/opt/scutech/ /var/log/dbackup3/ /etc/opt/scutech/
-
SQL Server
Unregistering an ECS instance automatically uninstalls the database backup client. If the SQL Server database is on a local server, follow these steps to uninstall the client:
-
Uninstall the client.
-
Windows:
-
In PowerShell, navigate to the backup client installation directory. For example,
C:\Program Files\aliyun\unibackup>. -
Run the
uninstall-unibackup.execommand and follow the wizard to complete the uninstallation.
-
-
-
Delete the configuration files.
-
Windows:
Delete all configuration files from the
c:\programdata\scutechdirectory.
-
Backup plan error
If a backup fails and the backup plan status is "Error", first check whether the server (a local server or ECS instance) where the client is installed has been cloned, had its operating system reinstalled, or had its system disk reset. These operations can break the association between the backup plan and the client. To resolve this issue, follow these steps:
-
Uninstall the client and remove its configuration file from the cloned server. For more information, see Uninstall the client.
-
Verify that the client status on the current server is "Installed".
-
Delete the original backup plan in the console and create a new backup plan.
Alert time inconsistency
With nighttime suppression, text message alerts triggered between 8:00 PM and 8:00 AM are not sent until after 8:00 AM. In contrast, email alerts are sent immediately.
Duplicate success and failure backup records
This occurs when you clone a server (a local server or an ECS instance) that has the database backup client installed, or when you create a new ECS instance or local server from an image that includes the same client. The cloned server retains some client information from the original server, which causes duplicate backup records. To resolve this issue, log on to the cloned server and uninstall the client. To uninstall the database backup client, follow the relevant instructions below.
MySQL
For databases on an ECS instance, the backup client is automatically uninstalled when the instance is released. If the MySQL database is installed on a local server, uninstall the client as follows:
-
Uninstall the client.
Linux:
-
CentOS
sudo rpm --erase "dbackup3-agent-mysql" sudo rpm --erase "dbackup3-agent" sudo rpm --erase "dbackup3-common" -
Ubuntu
sudo dpkg -r "dbackup3-agent-mysql" "dbackup3-agent" "dbackup3-common"
-
-
Delete the following directories:
Linux:
/etc/default/dbackup3* /opt/scutech /var/opt/scutech/ /var/log/dbackup3/ /etc/opt/scutech/
Oracle
For databases on an ECS instance, the backup client is automatically uninstalled when the instance is released. If the Oracle database is installed on a local server, uninstall the client as follows:
-
Uninstall the client.
-
Windows:
-
Navigate to the backup client installation directory in PowerShell. For example,
C:\Program Files\aliyun\unibackup>. -
Run the 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"
-
-
-
Clean up the configuration files.
-
Windows:
Delete all configuration files in the
c:\programdata\scutechdirectory. -
Linux:
Delete the following directories:
/etc/default/dbackup3* /opt/scutech /var/opt/scutech/ /var/log/dbackup3/ /etc/opt/scutech/
-
SQL Server
For databases on an ECS instance, the backup client is automatically uninstalled when the instance is released. If the SQL Server database is installed on a local server, uninstall the client as follows:
-
Uninstall the client.
-
Windows:
-
Navigate to the backup client installation directory in PowerShell. For example,
C:\Program Files\aliyun\unibackup>. -
Run the
uninstall-unibackup.execommand and follow the wizard.
-
-
-
Clean up the configuration files.
-
Windows:
Delete all configuration files in the
c:\programdata\scutechdirectory.
-
Restore issues
View Offline Instances Only feature
The View Offline Instances Only feature applies to scenarios where a client can no longer connect to its original instance, making it necessary to restore data from a backup. This can happen if the operating system on the client is reinstalled or if the client process and configuration are deleted, for example, by a malicious program. In such cases, if you install a new client, the system assigns it a different instance ID to distinguish it from the offline instance and prevent confusion. You can then restore data from the offline instance to the new one. For detailed instructions, see Restore MySQL, Restore Oracle, and Restore SQL Server.
Resolving SQL Server restore failures
-
Log on to the server and view the backup log.
Windows client log path:
C:\ProgramData\scutech\dbackup3\agent\log\dbackup3-agent.log -
In the log, check the entries around the time the task failed.
If the backup log contains the keyword RestoreContainer::ValidateTargetForCreation, it indicates the restore operation failed because you changed the database path but not the database name, which caused a name conflict. To successfully restore the database, change both the database name and the path.
SQL Server restore failure: File initialization error
-
Symptom
When an SQL Server restore fails, the agent log shows that a file failed to initialize correctly. The log shows the following:
2025-11-10 11:25:53.967@iZrxhug********@2208@LM_INFO@dbackup3-agent|[SQLSERVER] output: 100 percent processed. 2025-11-10 11:25:53.968@iZrxhug********@2208@LM_INFO@dbackup3-agent|[SQLSERVER] output: Processed 51595000 pages for database 'xxx', file 'xxx' on file 1. 2025-11-10 11:25:53.985@iZrxhug********@2208@LM_INFO@dbackup3-agent|[SQLSERVER] output: Processed 3865 pages for database 'xxx', file 'xxx_log' on file 1. 2025-11-10 11:25:53.987@iZrxhug********@2208@LM_INFO@dbackup3-agent|[SQLSERVER] output: File "xxx_log" failed to initialize correctly. See the error log for details. 2025-11-10 11:25:53.989@iZrxhug********@2208@LM_INFO@dbackup3-agent|[SQLSERVER] output: RESTORE DATABASE is terminating abnormally.Additionally, the SQL Server ErrorLog reports the message
the file "xxx_log" failed to initialize correctly. -
Cause
This error can occur when restoring a backup of a SQL Server 2008 R2 database that was previously encrypted. Even after disabling encryption, residual information can remain in the backup set, causing the file initialization error when you restore it. The analysis process is as follows.
NoteIf the source database is SQL Server 2008 R2 and has transparent data encryption (TDE) enabled, the restore operation fails even if the target instance is a later version, such as SQL Server 2014. The restore fails with a "Certificate not found" error. To complete the restore, you must manually restore the certificate and private key.
-
Confirm the database version from the SQL Server ErrorLog.
Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) -
This issue is often related to transparent data encryption (TDE). Confirm whether TDE was ever enabled on the source database, even if it is currently disabled.
Run the following SQL statement on the database. If the
key_algorithmandkey_lengthcolumns for your database in the query result are not NULL, the database was likely encrypted in the past.USE master; SELECT d.name, d.is_encrypted, drs.database_id, drs.encryption_state, drs.percent_complete, drs.key_algorithm, drs.key_length FROM sys.databases AS d LEFT JOIN sys.dm_database_encryption_keys AS drs ON d.database_id = drs.database_id;An example query result is as follows.
In the query results, if the values of the key_algorithm and key_length fields for a database are not NULL, it indicates that TDE encryption has been enabled for that database.
-
-
Solution
-
Upgrade the source database to a later version and create a new backup. Use the new backup set to perform the restore operation. Previous backup sets are invalid.
-
Restore the private key and certificate from the source instance to the target instance, and then perform the restore operation.
After the restore is complete, delete the TDE certificate and database encryption key from the target instance. Then, back up the target instance. Subsequent backup and restore operations on the target instance will function correctly.
NoteEven if the data backup was created after TDE was disabled, the restore process still requires the private key and certificate. They are required to handle residual encrypted metadata in the backup. However, the restored database itself is not encrypted and can run normally without the certificate afterward.
# On the source instance, run the following commands. USE master; # 1. Query the certificate name for the TDE-encrypted database. SELECT d.name AS DatabaseName, k.encryption_state, c.name AS CertificateName FROM sys.dm_database_encryption_keys AS k JOIN sys.certificates AS c ON k.encryptor_thumbprint = c.thumbprint JOIN sys.databases AS d ON k.database_id = d.database_id # Assume the CertificateName in the result is TDECert. Back up the TDE certificate and private key to a custom path. BACKUP CERTIFICATE TDECert TO FILE = 'C:\Backup\TDECert.cer' -- Specify a custom file path. WITH PRIVATE KEY ( FILE = 'C:\Backup\TDECert_PrivateKey.pvk', -- Specify a custom file path. ENCRYPTION BY PASSWORD = 'Strong_Password_123!' -- Remember this password. ); -- Copy the certificate and private key from the preceding path to the target instance. # 2. On the target instance, run the following commands. USE master; # Restore the master key. If you receive the message 'The master key already exists in the database. Drop the master key before you perform this statement.', skip this step. CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'Another_Strong_Password_456!'; # Restore the TDE certificate. CREATE CERTIFICATE TDECert -- Specify a custom certificate name. You will use it later for deletion. FROM FILE = 'C:\TDE_Test\TDECert.cer' -- The path where the copied files are located. WITH PRIVATE KEY ( FILE = 'C:\TDE_Test\TDECert_PrivateKey.pvk', DECRYPTION BY PASSWORD = 'Strong_Password_123!' -- The password used when backing up the private key. ); # 3. Perform the restore in the Cloud Backup console as usual. # 4. After the restore, delete the database encryption key. USE TDE_TestDB_Restore -- The name of the target database. DROP DATABASE ENCRYPTION KEY; # 5. Delete the certificate. USE master; DROP CERTIFICATE TDECert;
-
Cross-database restore: Local and ECS
Direct restore between these two environments is not supported. You must first register the database on the ECS instance as a local database instance. After registration, you can restore data between different local database instances.
Backup vault questions
What is a database backup vault?
You must create a database backup vault before you can create a database backup plan.
A database backup vault is a repository that stores your database backups. The vault rental fee and the vault capacity determine the cost of a database backup. For more information, see Billing methods and billable items.
Purging expired backups
Incremental backups, cumulative incremental backups, and log backups all depend on a complete backup chain. This chain includes the initial full backup and all subsequent incremental, cumulative incremental, and log backups. In a backup chain, all dependent backups are retained and consume storage space until the last backup in the chain expires. You should configure your backup cycle and expiration time carefully to manage storage costs.
For example, if you perform a full backup on September 1 and an incremental backup every day from September 2 to September 7 with a retention period of seven days, the seven backups created from September 1 to September 7 are automatically deleted only after the entire chain expires on September 14.
Data size, usage, and billing
The Source Data Size represents the total amount of data you have backed up. For example, if you back up a 1 TB file twice, Cloud Backup stores two independent copies, and the Source Data Size is calculated as 2 TB. Cloud Backup uses deduplication and compression to reduce the storage your backups consume, which helps you save on costs. Billing is based on the actual Storage Vault Data Size. You can view the Source Data Size and Storage Vault Data Size for a database backup vault on the Vault Management page.