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'
snapshot_id String REQUIRED The Parent ID of the Backup. Find the Parent ID from the Backup Object. snapshot_id=607f602a47fdfc271457147a
items List [] REQUIRED When not using the snapshot_id. List of Backup Item Object IDs you would like to add to the restore queue. The list of Backup Item Objects can be found when using getBackupItems. items[]=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