Download backup sets generated by Data Disaster Recovery to archive data locally or restore it to an on-premises device. Data backup sets download in CSV format; log backup sets download in the native format. The download package is a <download-task-ID>.tar.gz archive.
Billing
Downloading backup sets does not incur network traffic fees.
Using a third-party download tool may generate additional download traffic and result in extra charges.
Usage notes
-
The download URL is valid for two days. Download the backup set within two days of getting the URL, or the URL expires.
-
Download the backup set before its retention period ends. If the backup set expires during the download, the task fails.
Download a backup set
Prerequisites
Before you begin, ensure that you have:
-
Access to the DMS console V5.0
-
A backup set available under Data Disaster Recovery (DBS)
Steps
-
Log on to the DMS console V5.0.
-
In the top navigation bar, choose Security and Specifications (DBS) > Data Disaster Recovery (DBS) > Disaster Recovery Data Source.
If the DMS console is in simple mode, move the pointer over the
icon in the upper-left corner and choose All Features > Security and Specifications (DBS) > Data Disaster Recovery (DBS) > Disaster Recovery Data Source. -
In the top navigation bar, select a region, then click the data source ID to open the Data Source Details page.
-
Find the backup set and click Download in the Actions column. The path to the backup set depends on your database type:
Database type Path Alibaba Cloud databases Backup Data page > Logical Backup tab > Download in the Actions column Self-managed databases on Elastic Compute Service (ECS) instances, on-premises databases, and third-party cloud databases (automatically backed up) Data Backup tab > Download in the Actions column Data Disaster Recovery packages, compresses, and converts the backup set automatically. The page navigates to the Download Task tab on the Task Management page.
-
Wait for the download task Status to change to Complete, then click Download in the Actions column.
-
In the dialog that appears, click Download. Alternatively, copy the internal or public URL to download the backup set using your preferred method.

Decompress the backup package
The downloaded file is a <download-task-ID>.tar.gz package. Follow these steps to decompress it.
-
Extract the tar.gz archive:
gzip -d <download-task-ID>.tar.gzThis produces a
<download-task-ID>.tarfile. -
Check the file type to determine the correct extraction command:
file <download-task-ID>.tarRun the extraction command that matches the output:
-
If the output is
POSIX tar archive:tar xvf <download-task-ID>.tar -
If the output is
Zip archive data, at least v2.0 to extract:unzip <download-task-ID>.tar
Both commands produce the
<download-task-ID>file. -
-
(Optional) If the extracted output contains an XB file, download the xbunpack tool and run the appropriate command for your operating system:
-
Windows: Download xbunpack.exe, then run:
xbunpack.exe -file=<download-task-ID>.xb -dir=<destination-directory> -
Linux: Download xbunpack, then run either command:
xbunpack -file=<download-task-ID>.xb -dir=<destination-directory>cat <download-task-ID>.xb | ./xbunpack -dir=<destination-directory>
-