Create a backup of the SMS database.
Definition
smsAdmin/backup
Parameters
| Parameter | Type | Description |
| type | string | Destination type.
|
| location | string | Destination path for backup file. Does not apply for
type/sms. |
| username | string | Type-specific username. Required for type/smb, scp,
or sftp. |
| password | string | Type-specific password. Required for type/smb, scp,
or sftp . |
| domain | string |
Type-specific domain; only used for destination type
smb
|
| tos | integer | Number of most recent TOS packages to include. Default is 0. |
| dv | integer | Number of most recent DV packages to include. Default is 1. |
| events | boolean | Whether to include events data.
|
| sslPrivateKeys | boolean | Whether to include SSL private key.
|
| notify | boolean | Whether to send email notifications when a backup has
completed or failed.
|
| timestamp | boolean | Whether to include the timestamp.
|
| encryptionPass | string | Encrypt backup using supplied password. Default is
null, do not encrypt. |
Example
curl -k --header "X-SMS-API-KEY: <string>""https://<sms_server>/smsAdmin/backup? type=<smb>&location=<//198.51.100.100/backups/sms.bak>&username=<smb_user>& password=<smb_pwd>&domain=<dom00>&tos=<1>&dv=<1>&events=<false>¬ify=<false>& timestampName=<true>"
