Skip to content

Create zfs snapshot and remove the 7 day old ones leaving at least one

License

Notifications You must be signed in to change notification settings

adi-dev/zfs-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

zfs-snapshot

Python 3 script to create a new zfs snapshot and delete old ones.

Arguments

  • pool - zfs pool name
  • --create (-c) - Create new snapshot on execution
  • --auto (-a) - Only create new snapshot if most fresh is too old
  • --silent (-s) - Silent operation (for cron jobs)
  • --maxage - define maximum age of snapshot, default = 7

About

Create zfs snapshot and remove the 7 day old ones leaving at least one

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages