Skip to main content
Element Software
12.5 and 12.7

CreateBackupTarget

Contributors netapp-pcarriga

You can use CreateBackupTarget to create and store backup target information so that you do not need to re-enter it each time a backup is created.

Parameters

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)

Return value

This method has the following return value:

Name

Description

Type

backupTargetID

Unique identifier assigned to the new backup target.

integer

Request example

Requests for this method are similar to the following example:

{
   "method": "CreateBackupTarget",
   "params": {
      "name": "mytargetbackup"
   },
"id": 1
}

Response example

This method returns a response similar to the following example:

{
   "id": 1,
   "result": {
      "backupTargetID": 1
   }
}

New since version

9.6