Using Current Browser
Scenarios
You can use a browser to download a manual or an automated backup to a local device for backup or restoration.
Precautions
- Cluster backup files cannot be downloaded using a browser.
- Backups downloaded from the DDS console are all full backups.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click
in the upper left corner of the page and choose Databases > Document Database Service. - In the navigation pane on the left, choose Backups.
- 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.
- In the displayed dialog box, select Use Current Browser for Download Method and click OK. Figure 1 Selecting a download method
- After the backup file is downloaded, decompress it using LZ4.
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.
- You can restore data locally as required. For details, see the following documentation.