ServerMania logo

Restore File Entries from Recovery Point

To restore file entries from a recovery point, use the following request: 

POST /virtual_machines/:virtual_machine_id/backups/recovery_points/:recovery_point_id/file_entries.xml
POST /virtual_machines/:virtual_machine_id/backups/recovery_points/:recovery_point_id/file_entries.json 

XML Request Example

curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://test/virtual_machines/12/backups/recovery_points/3/file_entries.xml d '<paths type="array"><path>/home</path><path>/dev</path>></paths>'

JSON Request Example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://test/virtual_machines/12/backups/recovery_points/3/file_entries.json -d '{"paths": ["/dev", "/home"]}'

Where: 

paths* - the list of paths to the file entries starting with a slash mark (e.g. /home)