From 380589435ff004391e6d92228f4b3afeb65b94d9 Mon Sep 17 00:00:00 2001 From: Qstick Date: Wed, 22 Nov 2017 21:10:05 -0500 Subject: [PATCH] Created System Backup (markdown) --- System-Backup.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 System-Backup.md 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)