dom0/qvm-backup: do not backup volatile.img
It is always cleaned before VM start anyway.
This commit is contained in:
parent
ba6c682254
commit
1ebe503af8
@ -410,9 +410,6 @@ def backup_prepare(base_backup_dir, vms_list = None, exclude_list = [], print_ca
|
|||||||
sz = vm.get_disk_usage(vm.root_img)
|
sz = vm.get_disk_usage(vm.root_img)
|
||||||
files_to_backup += file_to_backup(vm.root_img, sz)
|
files_to_backup += file_to_backup(vm.root_img, sz)
|
||||||
vm_sz += sz
|
vm_sz += sz
|
||||||
sz = vm.get_disk_usage(vm.volatile_img)
|
|
||||||
files_to_backup += file_to_backup(vm.volatile_img, sz)
|
|
||||||
vm_sz += sz
|
|
||||||
|
|
||||||
s = ""
|
s = ""
|
||||||
fmt="{{0:>{0}}} |".format(fields_to_display[0]["width"] + 1)
|
fmt="{{0:>{0}}} |".format(fields_to_display[0]["width"] + 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user