Skip to content

Commit

Permalink
Save snmp config directory.
Browse files Browse the repository at this point in the history
(cherry picked from commit 81eeae6)
  • Loading branch information
mgrimesix authored and bugclerk committed Nov 22, 2024
1 parent 0557706 commit 3208ea0
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 @@ -451,6 +451,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 3208ea0

Please sign in to comment.