Skip to content

Commit

Permalink
Save snmp config directory. (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrimesix authored Nov 22, 2024
1 parent a228cd1 commit b272ff5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions truenas_install/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ def main():
rsync.append("var/lib/libvirt/qemu/nvram")
if os.path.exists(f"{old_root}/var/lib/netdata"):
rsync.append("var/lib/netdata")
if os.path.exists(f"{old_root}/var/lib/snmp"):
rsync.append("var/lib/snmp")
if os.path.exists(f"{old_root}/var/lib/syslog-ng/syslog-ng.persist"):
rsync.append("var/lib/syslog-ng/syslog-ng.persist")
if "var/log" not in cloned_datasets:
Expand Down

0 comments on commit b272ff5

Please sign in to comment.