2
System Backup
Qstick edited this page 6 years ago
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"
}