To start or restore backup use startBackup
or startRestore
operations respectively.
{PANEL:StartBackup}
{CODE:java backup_restore_1@ClientApi\Commands\HowTo\StartBackupRestoreOperations.java /}
Parameters | ||
---|---|---|
backupLocation | String | Path to directory where backup will be stored. |
databaseDocument | DatabaseDocument | Database configuration document 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. |
incremental | boolean | Indicates if backup is incremental. |
databaseName | String | Name of a database that will be backed up. |
{CODE:java backup_restore_3@ClientApi\Commands\HowTo\StartBackupRestoreOperations.java /}
{PANEL/}
{PANEL:StartRestore}
{CODE:java backup_restore_2@ClientApi\Commands\HowTo\StartBackupRestoreOperations.java /}
Parameters | ||
---|---|---|
restoreRequest | DatabaseRestoreRequest | Restore information |
{CODE:java backup_restore_4@ClientApi\Commands\HowTo\StartBackupRestoreOperations.java /}
{PANEL/}