mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
Make sure we copy over netdata state from previous BE to new BE
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user