qvm-create -l yellow backuptest-1-vm qvm-create -l yellow backuptest-2-vm echo -n passphrase >test.passphrase qvm-backup --passphrase-file test.passphrase --yes `pwd` backuptest-1-vm backuptest-2-vm qvm-remove backuptest-1-vm1 || true qvm-remove backuptest-2-vm1 || true qvm-backup-restore --rename-conflicting --passphrase-file test.passphrase qubes-2017-08-09T165253 backuptest-1-vm qvm-remove backuptest-1-vm1 || true qvm-remove backuptest-2-vm1 || true qvm-backup-restore --rename-conflicting --passphrase-file test.passphrase qubes-2017-08-09T165253 backuptest-2-vm
This commit is contained in:
parent
1d29929ae1
commit
6534f8c191
@ -247,8 +247,8 @@ def main(args=None, app=None):
|
||||
parser.error_runtime(str(e))
|
||||
|
||||
if args.vms:
|
||||
backup.options.exclude += [vm.name for vm in restore_info.values()
|
||||
if vm.name not in args.vms]
|
||||
backup.options.exclude += [vm_info.vm.name for vm_info in restore_info.values()
|
||||
if vm_info.vm.name not in args.vms] # use original name here, not renamed
|
||||
restore_info = backup.restore_info_verify(restore_info)
|
||||
|
||||
print(backup.get_restore_summary(restore_info))
|
||||
|
Loading…
Reference in New Issue
Block a user