Restore

addQueueItems

This function lets you Queue Backup Items for restore. For the complete parameters available for this API call, please click HERE.

Parameters

Parameter name Type Description Possible values Example
type Integer REQUIRED The Queue Group Type. 2: Restore Queue 'type=2'
items List [] REQUIRED List of Backup Item Object IDs you would like to add to the restore queue.   607f602a47fdfc271457147a
options List [] List of options you want to execute with the Restore Queue. For boolean type options, value is set to false by default.
  • terminate (boolean): true | false
  • suspend (boolean): true | false
  • merge (boolean): true | false
  • reseller (boolean): true | false
  • owner (string)
  • package (string)
'options[terminate]=true&options[owner]=reseller1&options[package]=reseller_pkg'
files List [] List of files/folders paths you want to restore. This parameter is only available for file-based backups(homedir files).   'files[]=/public_html/index.html&files[]=/test.txt'

Response

This API call returns queue group objects.
To view the parameters returned by this function, click on Queue Group Object.