diff --git a/System-Backup.md b/System-Backup.md new file mode 100644 index 0000000..0a88e70 --- /dev/null +++ b/System-Backup.md @@ -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)