From 49e718cf57dcecd2b7b8bf888f7250db6ca1ace4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 25 Oct 2016 22:11:39 +0200 Subject: [PATCH] backup: mark 'encryption' option as deprecated - all backups are encrypted QubesOS/qubes-issues#971 --- qubes/backup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qubes/backup.py b/qubes/backup.py index a1ed07fd..74abd01b 100644 --- a/qubes/backup.py +++ b/qubes/backup.py @@ -376,7 +376,9 @@ class Backup(object): self.log = logging.getLogger('qubes.backup') - self.compression_filter = DEFAULT_COMPRESSION_FILTER + if not self.encrypted: + self.log.warning('\'encrypted\' option is ignored, backup is ' + 'always encrypted') if exclude_list is None: exclude_list = []