A description of the Methods and Objects exported by the JSON-RPC Resource Provider.
Methods
Method |
Return Value |
Parameters |
Parameter Description |
|---|---|---|---|
BACKUP/listProviders |
BackupProviderInfo[] |
– |
– |
BACKUP/backup |
BackupResult. Error if backup operation has failed for some reason. |
|
|
BACKUP/restore |
MutliBackupStatus. Error if restore operation has failed for some reason. |
|
|
Objects
Object |
Field |
Field Description |
Representation |
|---|---|---|---|
BackupProviderInfo |
|
|
{name:String, version:String, data-version:String} |
BackupResult |
|
|
{url:String, status:JSONObject<MultiBackupStatus>} String[2]: {„#error", <cause>} on failure |
MultiBackupStatus |
|
|
{status:int, list:JSONArray<BackupStatus>} |
BackupStatus |
|
|
{status:int, name:String, version:String, exception*:String} on success |
System Properties
Property |
Type |
Default Value |
Description |
|---|---|---|---|
mbs.remote.backup.urlTimeout |
int |
5000 |
The timeout in milliseconds for making available the URL for executing the backup operation. After the predefined time expires the URL is no longer available. |
mbs.remote.backup.localOnly |
boolean |
false |
Indicates whether the backup should be executed locally or the data should be sent via an URL. |
mbs.remote.backup.filename |
String |
backup<yyyy-MM-dd_hh-mm-ss>.zip |
Indicates the name of the file that will be used for backing up the data. |
mbs.remote.backup.failOnError |
boolean |
true |
The property is used for the restore operation. It defines the behavior of the Backup Admin when one or more of the Backup Providers encounter a problem with the execution of the backup operation. If it is set to "true", the entire backup operation fails and a BackupAdminException is thrown. Set it to "false" to allow the backup process to continue in spite of the failed Backup Providers. In this case the exception(s) are ignored and an ERROR message is logged. |