Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
ZFS Snapshot & Backup Management Scripts
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
Bliss ZFS Scripts 3.5.0 Jonathan Vasquez <email@example.com> Apache License 2.0 This is a collection of scripts that I use to manage my zfs setup at home. Customize the scripts to your needs! 1) zfs_snapshot - Takes a snapshot of a dataset 2) clean_snapshots - Deletes snapshots older than 30 days or older than a date set by the user 3) check_zfs_pool - Checks the pools health. If degraded, it sends you an email 4) zpool_scrub - Scrubs the pool 5) zfs_backup - Backs up your datasets automatically (replication to another pool) 6) system_backup - Tars up your root filesystme, excluding some directories, and then compresses it with pxz. -- Example scripts that would be called from your crontab *) tank_snapshot - Wrapper around zfs_snapshot *) tank_backup - Wrapper around zfs_backup -- *) debug/* - Files used for various debugging purposes -- Note: Some of the tools also provide btrfs support. However at the moment, ZFS is the main focus for these scripts. These scripts can be used as cronjobs. Requirements: Python 3+ bash