dom0/qvm-backup: update list of backed up files (#294)

Config and kernel not needed any more, but added appmenus list.
This commit is contained in:
Marek Marczykowski 2011-07-21 00:10:19 +02:00
parent 1dc226aba1
commit fd4821a1ff

View File

@ -120,12 +120,12 @@ def main():
files_to_backup += file_to_backup(vm.private_img, vm_sz )
files_to_backup += file_to_backup(vm.icon_path)
files_to_backup += file_to_backup(vm.conf_file)
if vm.is_updateable():
files_to_backup += file_to_backup(vm.dir_path + "/apps")
files_to_backup += file_to_backup(vm.dir_path + "/kernels")
files_to_backup += file_to_backup(vm.dir_path + "/apps.templates")
if os.path.exists (vm.firewall_conf):
files_to_backup += file_to_backup(vm.firewall_conf)
if os.path.exists(vm.dir_path + '/whitelisted-appmenus.list'):
files_to_backup += file_to_backup(vm.dir_path + '/whitelisted-appmenus.list')
if vm.is_updateable():
sz = vm.get_disk_usage(vm.root_img)