All Products
Search
Document Center

Data Management:Manually download a backup set

Last Updated:Mar 28, 2026

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 typeSupported enginesFormat
Full dataMySQL, SQL Server, MariaDB, PostgreSQL, Oracle, MongoDBMongoDB: JSON; others: CSV
Incremental dataMySQLNative MySQL format

Physical backup

Data typeSupported enginesFormat
Full dataMySQL, SQL ServerMySQL: compressed XtraBackup format; SQL Server: compressed native backup format
Incremental dataMySQL, SQL ServerSame as full data

Download a backup set

  1. Log on to Data Management (DMS) 5.0.

  2. 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 2023-01-28_15-57-17.png icon in the upper-left corner and choose All Features > Security and disaster recovery (DBS) > Data Disaster Recovery (DBS) > Backup Plan.
  3. Find the backup schedule to manage and click the schedule ID or Manage in the Actions column.

    管理按钮

  4. 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.
  5. Click Download in the Actions column for the desired Backup Set ID.

  6. 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.

  7. When the Status changes to Completed, click Download.

  8. 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:

  1. Run the following command:

    unzip <download task ID>.zip

    If 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 the UNZIP_DISABLE_ZIPBOMB_DETECTION=TRUE environment variable to bypass this check:

    UNZIP_DISABLE_ZIPBOMB_DETECTION=TRUE unzip 1iyq***m42.zip
  2. (Optional) If the output contains a file with the .xb extension, 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:

  1. Run the following command to extract the .tar file:

    gzip -d <download task ID>.tar.gz
  2. Check the format of the resulting file:

    file <download task ID>.tar
  3. Decompress 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 ``

  4. (Optional) If the output contains a file with the .xb extension, 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:

  1. Install zstd if it is not already installed:

    • macOS (Homebrew): brew install zstd

    • CentOS/RHEL: sudo yum install zstd

    • Ubuntu/Debian: sudo apt install zstd

  2. 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>
  3. (Optional) If the output contains a file with the .xb extension, 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:

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>

What's next