Updated on 2023-03-15 GMT+08:00

Using OBS Browser+

You can use OBS Brower+ to download a manual or an automated backup to a local device for backup or restoration.

Precautions

  • When you use OBS Browser+ to download backup data, you will not be billed for outbound traffic from OBS.
  • If the size of a backup file is greater than 400 MB, use OBS Browser+ to download the backup file.
  • Backups downloaded from the DDS console are all full backups.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Document Database Service.
  4. In the navigation pane on the left, choose Backups.
  5. On the Backups page, click the Clusters, Replica Sets, or Single Nodes tab, locate the available backup you want to download and click Download in the Operation column.

    Figure 1 Download Backup

  6. In the displayed dialog box, select Use OBS Browser+ and click OK.

    Figure 2 Selecting a download method

  7. On the displayed page, download the DDS backup file as prompted.

    Figure 3 Download guide page

  8. Download OBS Browser+ following the step 1 provided in Figure 3.
  9. Decompress and install OBS Browser+.
  10. Log in to OBS Browser+.

    For details about how to log in to OBS Browser+, see "Logging In to OBS Browser+" in the Object Storage Service Tools Guide.

  11. Add an external bucket.

    In the Add External Bucket dialog box of OBS Browser+, enter the bucket name displayed in step 2 on page Figure 3, and click OK.

  12. Download the backup file.

    On the OBS Browser+ page, click the external bucket that you added. In the search box on the right of OBS Browser+, enter the backup file name displayed in step 3 on page Figure 3. In the search result, locate the target backup and download it.

  13. After the backup file is downloaded, use the LZ4 to decompress the file.

    Run the following command to decompress the backup file:

    lz4 -d $1 | tar -xC $2

    $1: indicates the downloaded backup file.

    $2: indicates the directory to which the backup file is decompressed.

  14. You can restore data locally as required.