backups: refuse to create encrypted and compressed backup (#775)
This commit is contained in:
parent
357fe37ed2
commit
26b32ca51e
@ -379,6 +379,10 @@ def backup_do(base_backup_dir, files_to_backup, passphrase,
|
||||
for file in files_to_backup:
|
||||
total_backup_sz += file["size"]
|
||||
|
||||
if compressed and encrypted:
|
||||
raise QubesException("Compressed and encrypted backups are not "
|
||||
"supported (yet).")
|
||||
|
||||
vmproc = None
|
||||
if appvm != None:
|
||||
# Prepare the backup target (Qubes service call)
|
||||
|
Loading…
Reference in New Issue
Block a user