Share via


st backup

[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.]

Backup specified authority to the specified folder.

st backup <authorityid> <backup-directory> [/overwrite]
          <credentials> 
          [/REST | /SOAP] 
          [/parallel:<number>] [/verbose]

All the containers in the specified authority are backed up. You cannot use this command to backup individual containers or entities. The command creates following files in the backup folder:

  • Authority.xml that stores the list of containers in the authority.
  • One XML file (Container-<container-id>.xml) for each container in the authority. Each of the container XML files stores backup copies of all entities.
  • If the container has blobs, those blobs are stored in a subfolder, (container-<container-id>-blobs).

Examples

Examples of the backup command are given below.

Example 1 Backup an authority

The following command backs up myauth authority to MyBackupFolder.

cmdPrompt>st backup myauth .\MyBackupFolder /host:data.database.windows.net /user:username 

See Also

Concepts

SDS Command Line Tool