Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Overview

Updated on 2022-09-16 GMT+08:00

This section uses the Linux operating system as an example to describe how to restore the downloaded backup file of a cluster to your on-premises database. For details about how to download backup files, see Downloading Backup Files.

Precautions

  • This method applies only to cluster instances.
  • Only DDS 3.4 and 4.0 instances can be restored in this method. DDS 4.2 does not support this method.
  • The directories, IP addresses, and ports provided in the example are for reference only. Configure these items based on your service requirements.
  • There is one backup file of the configsvr node and multiple backup files of the shardsrv node. The number of backup files depends on the number of shardsvr nodes.
  • After the backup file is downloaded, decompress the file using LZ4. Command for reference: lz4 -d $1 | tar -xC $2

    $1: indicates the downloaded backup file.

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

Prerequisites

MongoDB client 3.4 or 4.0 has been installed on your on-premises database.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback