The S3 Backup Restore Tool is the standalone utility for performing DR from your S3 backup bucket, either to the original cluster or to an empty cluster that is meant to replace the original. See S3 Backup Feeds.
Once your data is backed up in S3, the restore tool allows both examining a backup and control how, what, and where it is restored:
...
Section | Settings |
---|---|
[s3] |
|
[s3] archival only | If you are using an S3 bucket with an archival storage class (Glacier, Glacier Deep Archive), set these additional parameters:
|
[forwardProxy] | This section is for use only with an optional forward proxy:
|
[log] | You may use the same log settings as your Swarm cluster; if you do so, identify the logs by looking for those with the component "
|
[swarm] |
|
...
Info |
---|
Full cluster restoreBefore undertaking a restore of a large cluster, contact DataCore Support. They will help you balance the speed of your restore with your bandwidth constraints by examining the space used by the S3 backup bucket, estimating the bandwidth needed, and recommending best use of the If you are using an AWS Glacier storage class, you might may pull your AWS bucket out of cold storage before your full cluster restore by changing the storage class to Standard. |
...
-R or --recursive
— Recursively lists the given domain or bucket, or else the entire cluster. Without this option, the command lists only the top-level contents of the object.-v or --versions
— List previous versions of versioned objects. Versions are not listed by default.-l or --long
— Lists details for each item returned in the output:Creation date
Content length of the body
ETag
Archive status:
AN — Archived; not available for restoration
AR — Archived with an archive restore in progress; not available for restoration
AA — Archived with a copy available for restoration
OK — Not archived and fully available
Objectspec
Alias UUID, if the object is a domain or bucket
<objectspec>
— If none, the command runs across the entire contents of the S3 backup. If present, filters the command to a specific domain or bucket (context object) in Swarm. Use this format:
Cluster | |
---|---|
Domain |
|
Bucket |
|
Named object |
|
Named version |
|
Unnamed object |
|
Unnamed version |
|
Info |
---|
...
NoteUse the double-slash format ( |
When you run the command without any options, it returns the list of domains that are included in this S3 bucket for your Swarm cluster:
...
Cluster | |
---|---|
Domain |
|
Bucket |
|
Named object |
|
Named version |
|
Unnamed object |
|
Unnamed version |
|
Info |
---|
NoteUse the double-slash format ( |
...
Rate of Restore — Restoration might may take a long time run, especially if recursion (-R
) is used on domains or buckets. To boost the rate of restore, you can install the S3 Backup Restore tool on multiple servers and then run the restore command with partitioning parameters (-p
) across all the instances of the tool, which allows restoring faster in parallel, with minimal overlap.
...