dom0/backup: Allow to exclude dom0 home from backup
This commit is contained in:
parent
0a0a88650d
commit
277cdd9173
@ -445,6 +445,7 @@ def backup_prepare(base_backup_dir, vms_list = None, exclude_list = [], print_ca
|
||||
print_callback(s)
|
||||
|
||||
# Dom0 user home
|
||||
if not 'dom0' in exclude_list:
|
||||
local_user = grp.getgrnam('qubes').gr_mem[0]
|
||||
home_dir = pwd.getpwnam(local_user).pw_dir
|
||||
home_sz = get_disk_usage(home_dir)
|
||||
|
Loading…
Reference in New Issue
Block a user