2 System Backup
Qstick edited this page 2018-04-15 00:46:45 -04:00

Endpoint: "/system/backup"

GET

Summary

Returns the list of available backups

Parameters

None

Response (JSON Array)

[
  {
    "name": "lidarr_backup_2017.08.17_22.00.00.zip",
    "path": "/backup/update/lidarr_backup_2017.08.17_22.00.00.zip",
    "type": "update",
    "time": "2017-08-18T05:00:37Z",
    "id": 1207435784
  }
]

type is one of:

  • scheduled
  • manual
  • update

Backups can be downloaded by using the host URL + URL Base (if configured) + the path returned (ie: http://localhost:8686/urlbase/backup/update/lidarr_backup_2017.08.17_22.00.00.zip)

A new backup can be taken using the backup command

POST

Summary

Restores a given backup

Parameters

Required:

id (int)

Response (JSON Array)
  {
    "restartRequired": "true"
  }