By browsing on this website you are agreeing to our 'Terms & Conditions' and the 'Privacy Policy' in regards to your rights and personal data handling.
Commands: How to start backup or restore operations?
StartBackup
curl \
http://{serverName}/databases/{databaseName}/admin/backup?incremental={incremental} \
-X POST
Request
Payload
Description
BackupLocation
Location of backup
DatabaseDocument
DatabaseDocument that will be stored with backup in 'Database.Document' file. Pass null to use the one from <system> database. WARNING: Database configuration document may contain sensitive data which will be decrypted and stored in backup.
Query parameter
Required
Description
incremental
No
Indicates if backup is incremental.
Response
Status code
Description
201
OK
Example
curl -X POST "http://localhost:8080/databases/Northwind/admin/backup?incremental=false" \
-d "{\"BackupLocation\":\"c:\\temp\\backup\\Northwind\\\",\"DatabaseDocument\":{\"SecuredSettings\":{},\"Settings\":{},\"Disabled\":false,\"Id\":null}}"
< HTTP/1.1 201 Created
StartRestore
curl \
http://{serverName}/admin/restore \
-X POST