SecureRestore

Trigger this action to restore a secure backup to an appliance.

Use the HTTP POST method with the resource /mgmt/actionqueue/default, specifying a request payload with the following format:
{
  "SecureRestore": {
    "cred": {
      "value": "credential"
    },
    "source": "source",
    "validate": "on|off"
  }
}
credential
String
The name of an identification credentials object in the system configuration, which identifies a crypto certificate that is used to validate and decrypt the content of the backup.
source
String
The URL of a directory in which the backup files are stored. The URL can be a local directory in either the local: or the temporary: directory on the appliance, or it can be a location on a remote FTP server.
validate
Boolean
Optionally specify that the backup is just validated, rather than actually restored. Set to on to just validate, or off to validate and restore. The default is off.

Example

To restore a secure backup in the temporary:///myBackupDir/ folder using the myCert certificate, , overwriting and replacing the system configuration, post the following payload to https://yourhost:5554/mgmt/actionqueue/default:
{
  "SecureRestore": {
    "cred": {
      "value": "myCred"
    },
    "source": "temporary:///myBackupDir/",
    "validate": "off"
  }
}