Browse Source

added run if

master
Holger Frey 5 years ago
parent
commit
eeea4af257
  1. 4
      zfs-snapshot-backup.py

4
zfs-snapshot-backup.py

@ -121,3 +121,7 @@ def create_backups():
for member, snapshots in elab_snapshots.items(): for member, snapshots in elab_snapshots.items():
members_backups = existing_backups.get(member, []) members_backups = existing_backups.get(member, [])
backup_latest_snapshot(member, snapshots, members_backups) backup_latest_snapshot(member, snapshots, members_backups)
if __name__ == "__main__":
create_backups()

Loading…
Cancel
Save