Make sure we copy over netdata state from previous BE to new BE

This commit is contained in:
M. Rehan
2024-04-01 07:11:03 +05:00
parent 5081243a16
commit f57ba5224d

View File

@@ -452,6 +452,8 @@ def main():
rsync.append("home")
if os.path.exists(f"{old_root}/var/lib/libvirt/qemu/nvram"):
rsync.append("var/lib/libvirt/qemu/nvram")
if os.path.exists(f"{old_root}/var/lib/netdata"):
rsync.append("var/lib/netdata")
if "var/log" not in cloned_datasets:
try:
logs = os.listdir(f"{old_root}/var/log")