From ae2ab8a99f093eefab08c5a16bab53491115b679 Mon Sep 17 00:00:00 2001 From: Carson Page Date: Mon, 16 Oct 2017 13:37:50 -0500 Subject: [PATCH] Edits on templates to integrate B2Blaze --- management/templates/system-backup.html | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/management/templates/system-backup.html b/management/templates/system-backup.html index 0ccb4bd6..13367f6d 100644 --- a/management/templates/system-backup.html +++ b/management/templates/system-backup.html @@ -18,6 +18,7 @@ + @@ -104,6 +105,31 @@ + +
+
+

Backups are stored in an B2Blaze bucket. You must have an B2Blaze account already.

+

You MUST manually copy the encryption password from to a safe and secure location. You will need this file to decrypt backup files. It is NOT stored in your Amazon S3 bucket.

+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
@@ -235,6 +261,11 @@ function show_custom_backup() { var host = hostpath.shift(); $("#backup-target-s3-host").val(host); $("#backup-target-s3-path").val(hostpath.join('/')); + } else if (r.target.substring(0, 5) == "b2://") { + $("#backup-target-type").val("b2"); + var hostpath = r.target.substring(5).split('@'); + var host = hostpath.shift(); + $("#backup-target-b2-path").val(hostpath.join('/')); } toggle_form() })