Download a backup set to restore it to an on-premises database, analyze or audit the data in Excel, or keep a local copy for offline storage. Downloading backup sets is currently free of charge.
Prerequisites
Before you begin, ensure that you have:
A backup schedule configured in DMS with at least one completed backup set stored in DBS Storage
(Optional) Checked the expiration date of the backup set — if it is about to expire, extend the retention period before starting the download to prevent the backup set from being deleted during the process
Only backup sets stored in DBS Storage can be downloaded. User-owned Object Storage Service (OSS) buckets are not supported.
Supported engines and data formats
Logical backup
| Data type | Supported engines | Format |
|---|---|---|
| Full data | MySQL, SQL Server, MariaDB, PostgreSQL, Oracle, MongoDB | MongoDB: JSON; others: CSV |
| Incremental data | MySQL | Native MySQL format |
Physical backup
| Data type | Supported engines | Format |
|---|---|---|
| Full data | MySQL, SQL Server | MySQL: compressed XtraBackup format; SQL Server: compressed native backup format |
| Incremental data | MySQL, SQL Server | Same as full data |
Download a backup set
Log on to Data Management (DMS) 5.0.
In the top navigation bar, choose Security and disaster recovery (DBS) > Data Disaster Recovery (DBS) > Backup Plan.
In simple mode, move the pointer over the
icon in the upper-left corner and choose All Features > Security and disaster recovery (DBS) > Data Disaster Recovery (DBS) > Backup Plan.Find the backup schedule to manage and click the schedule ID or Manage in the Actions column.

In the navigation pane on the left, choose Backup Tasks > Full Data.
To download incremental log backup sets (if your database engine supports it and you have enabled incremental log backup), go to Backup Tasks > Transaction Log Backup instead. The steps are the same.
Click Download in the Actions column for the desired Backup Set ID.
In the dialog box that appears, click OK. DMS packages, compresses, and converts the backup set into a downloadable file, then redirects you to the Backup Set Download product page. Processing time depends on file size — a 150 GB file takes approximately 4 hours.
When the Status changes to Completed, click Download.
In the panel that appears, select a download method:
Decompress the downloaded file
After the download completes, decompress the file based on its format.
ZIP format
Windows: Decompress the file directly using your preferred archive tool.
Linux:
Run the following command:
unzip <download task ID>.zipIf your database contains a large amount of duplicate data or a large volume of data, you may see the error
error: invalid zip file with overlapped components (possible zip bomb). Set theUNZIP_DISABLE_ZIPBOMB_DETECTION=TRUEenvironment variable to bypass this check:UNZIP_DISABLE_ZIPBOMB_DETECTION=TRUE unzip 1iyq***m42.zip(Optional) If the output contains a file with the
.xbextension, decompress it using the xbunpack tool. See Decompress an .xb file.
tar.gz format
Windows: Decompress the file directly using your preferred archive tool.
Linux:
Run the following command to extract the
.tarfile:gzip -d <download task ID>.tar.gzCheck the format of the resulting file:
file <download task ID>.tarDecompress based on the detected format:
POSIX tar archive: ``bash tar xvf <download task ID>.tar``Zip archive data, at least v2.0 to extract: ``bash unzip <download task ID>.tar``data: ``bash unzip <download task ID>.tar``
(Optional) If the output contains a file with the
.xbextension, decompress it using the xbunpack tool. See Decompress an .xb file.
tar.zst format
Windows: Windows does not natively support the zstd command-line tool. Use 7-Zip with the zstd plugin or PeaZip to decompress the file.
Linux and macOS:
Install
zstdif it is not already installed:macOS (Homebrew):
brew install zstdCentOS/RHEL:
sudo yum install zstdUbuntu/Debian:
sudo apt install zstd
Run the following command:
# Decompress <archive_file_name>.tar.zst to <decompression_destination_path> # zstd: -d=decompress, -c=output to stdout # tar: -x=extract, -v=verbose, -f-=read from stdin, -C=specify target directory zstd -d -c <archive_file_name>.tar.zst | tar -xvf - -C <decompression_destination_path>(Optional) If the output contains a file with the
.xbextension, decompress it using the xbunpack tool. See Decompress an .xb file.
Decompress an .xb file
If any of the preceding steps produce a file with the .xb extension, download the xbunpack tool and run the appropriate command.
Download the tool:
xbunpack.exe (Windows)
xbunpack (Linux)
Windows:
xbunpack.exe -file=<download task ID>.xb -dir=/<decompression destination folder>Linux:
The xbunpack tool requires executable permissions. Run chmod +x xbunpack before use.Method 1:
./xbunpack -file=<download task ID>.xb -dir=/<decompression destination folder>Method 2:
cat <download task ID>.xb | ./xbunpack -dir=/<decompression destination folder>