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 lets you both examine your backup and control how, what, and where you restore:
...
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] |
|
...
Code Block | ||
---|---|---|
| ||
>>> swarmrestore ls domain1/ domain2/ www.testdomain.com/ |
For example, if If you wanted a complete accounting of every object backed up for a specific domain, you would run a command like this, redirecting to an output file:
...
current
— The object was not restored because the target cluster already has the same version of the object.older
— The object was not restored because it is older than the one in the target cluster.obsolete
— The object was not restored because the cluster would does not allow the object to be written. Usually, it means the object has been deleted.needed
— The object needs restoration, but the -n option was used.restored
— The object was successfully restored.nocontext
— The object could not be restored because its parent domain or bucket could not be restored.failure
— The object could not be restored. Consult the logs for details.archived
— The object is archived and the restore tool is not configured for archive restoration. This is a failure condition.initiated
— The object is archived and the tool has issued an object restoration request. See the Amazon S3 API RestoreObject Request Syntax. This is also a failure condition, but the object will be counted in the archive retrieval initiated stats. It is these operations that incur expense to the bucket owner by the restore tool.ongoing
— The object is in archive and a restoration request has already been initiated. Restoration from archive is in progress. This is also a failure condition.
...