Child pages
  • Create Disk Backup

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
curl -i -X POST -H 'Accept: application/xml' -H 'Content-type:application/xml' -u user:password --url http://onapp.test/settings/disks/:id/backups.xml -d '<backup><note>manual backup</note><force_windows_backup>0</force_windows_backup></backup></backup>'

JSON Request example

Code Block
curl -i -X POST -H 'Accept: application/json' -H 'Content-type:application/json' -u user:password --url http://onapp.test/settings/disks/:id/backups.json -d '{"backup":{"note":"manual backup", "force_windows_backup":"0"}}'

...