st restore
[This document supports a preliminary release of a software product that may be changed substantially prior to final commercial release. This document is provided for informational purposes only.]
Restores specified authority or a container from the specified backup directory. When restoring an authority, the target authority must exist. Similarly, when restoring a container, the target container must exist. If /overwrite option is specified, existing entities will be updated.
st restore <authorityid> [<containerid>] <backup-directory>
[/overwrite] [/parallel:<num>]
<credentials>
[/REST | /SOAP] [/parallel:<number>] [/verbose]
Examples
Examples of the restore
command are given below.
Example 1 Restore an authority
The following command restores myauth
authority from the backup in MyBackupFolder.
cmdPrompt>st restore myauth .\MyBackupFolder /host:data.database.windows.net /user:username
Example 2 Restore a container
The following command restores c1
container in myauth
authority from the backup in MyBackupFolder.
cmdPrompt>st restore myauth c1 .\MyBackupFolder /host:data.database.windows.net /user:username