mongocli om backup restore start

Start a restore job for a project and cluster

Options

NameDescription
--checkpointId <checkpointId>Unique identifier for the sharded cluster checkpoint that represents the point in time to which your data will be restored. If you set checkpointId, you cannot set oplogInc, oplogTs, snapshotId, or pointInTimeUTCMillis
--clusterId <clusterId>
  • Required ✳
--expirationHours <expirationHours>Number of hours the download URL is valid once the restore job is complete. For use only with download restore jobs
--expires <expires>Timestamp in ISO 8601 date and time format after which the URL is no longer available. For use only with download restore jobs
--maxDownloads <maxDownloads>Number of times the download URL can be used. This value must be 1 or greater. For use only with download restore jobs
--oplogInc <oplogInc>32-bit incrementing ordinal that represents operations within a given second. When paired with oplogTs, they represent the point in time to which your data will be restored
--oplogTs <oplogTs>Oplog timestamp given as a timestamp in the number of seconds that have elapsed since the UNIX Epoch. When paired with oplogInc, they represent the point in time to which your data will be restored
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--pointInTimeUTCMillis <pointInTimeUTCMillis>Timestamp in the number of milliseconds that have elapsed since the UNIX epoch that represents the point in time to which your data will be restored. This timestamp must be within the last 24 hours of the current time
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable
--snapshotId <snapshotId>Unique identifier of the snapshot to restore
--targetClusterId <targetClusterId>Unique identifier of the target cluster. For use only with automated restore jobs
--targetProjectId <targetProjectId>Unique identifier of the project that contains the destination cluster for the restore job