Merge pull request #609 from truenas/NAS-127880

NAS-127880 / 24.10 / Make sure we copy over netdata state from previous BE to new BE
This commit is contained in:
M. Rehan
2024-04-04 18:32:47 +05:00
committed by GitHub

View File

@@ -441,6 +441,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")