You can use CreateBackupTarget to create and store backup target information so that you do not need to reenter it each time a backup is created.
This method has the following input parameters:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
name | Name for the backup target. | string | None | Yes |
attributes | List of name-value pairs in JSON object format. | JSON object | None | Yes (but can be empty) |
This method has the following return value:
Name | Description | Type |
---|---|---|
backupTargetID | Unique identifier assigned to the new backup target. | integer |
Requests for this method are similar to the following example:
{ "method": "CreateBackupTarget", "params": { "name": "mytargetbackup" }, "id": 1 }
This method returns a response similar to the following example:
{ "id": 1, "result": { "backupTargetID": 1 } }