From c8b8cd0d1f9fdb82e8b4d10a786187b91836e359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 27 Nov 2013 03:20:45 +0100 Subject: [PATCH] backups: fix restore in non-debug mode --- core/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/backup.py b/core/backup.py index 09be708d..5bdce1d1 100644 --- a/core/backup.py +++ b/core/backup.py @@ -791,7 +791,7 @@ def restore_vm_dirs (backup_source, restore_tmpdir, passphrase, vms_dirs, vms, backup_stdin = open(backup_source,'rb') tar1_command = ['tar', - '-ix%sf' % ("v" if BACKUP_DEBUG else ""), backup_source, + '-ixvf', backup_source, '-C', restore_tmpdir] + vms_dirs tar1_env = os.environ.copy()