Skip to content

Commit

Permalink
Save snmp config directory. (#773)
Browse files Browse the repository at this point in the history
(cherry picked from commit 81eeae6)

Co-authored-by: Mark Grimes <mark.grimes@ixsystems.com>
  • Loading branch information
bugclerk and mgrimesix authored Nov 22, 2024
1 parent 00b93c9 commit 8f010fc
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 8f010fc

Please sign in to comment.