Creates the backup schedule of the current portal with the parameters specified in the request.
Name | Description | Type | Example |
StorageType
sent in body
|
Storage type | string | some text |
StorageParams
sent in body
|
Storage parameters |
Collection of ASC.Api.Collections.ItemKeyValuePair{System.Objecs
collection
|
|
BackupsStored
sent in body
|
Maximum number of the stored backup copies | string | some text |
CronParams
sent in body
|
Cron parameters | ASC.Data.Backup.ApiModels.Cron | |
Dump
sent in body
|
Specifies if a dump will be created or not | Bool value | true |
POST api/2.0/backup/createbackupschedule Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "StorageType": "Documents", "BackupsStored": "some text", "CronParams": { "Period": "0", "Hour": "0", "Day": "0" }, "Dump": true }
Boolean value: true if the operation is successful