mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-22 15:53:23 +00:00
Created System Backup (markdown)
parent
f3c7678c1f
commit
380589435f
1 changed files with 33 additions and 0 deletions
33
System-Backup.md
Normal file
33
System-Backup.md
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
**Endpoint: "/system/backup"**
|
||||||
|
|
||||||
|
## GET ##
|
||||||
|
|
||||||
|
##### Summary #####
|
||||||
|
Returns the list of available backups
|
||||||
|
|
||||||
|
##### Parameters ######
|
||||||
|
|
||||||
|
*None*
|
||||||
|
|
||||||
|
##### Response (JSON Array) #####
|
||||||
|
```JSON
|
||||||
|
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"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](Command#backup)
|
Loading…
Reference in a new issue