ZFS_Snapshot is a simple program that CREATE, LIST, and DELETE ZFS snapshots in a specific Zfs storage filesystem
CREATEa snapshot into a given Filesystem from a poolDELETEa snapshot into a given Filesystem from a pool- Get the
LISTof Snapshots - Create a CSV and JSON file output containing all the snapshots
- Helpful CLI
- Python 3.6 or higher
- ZFS 0.8.1 or higher (untested on earlier versions)
- Install docopt
Check install docopt for more information
- Creating a snapshot
ZFS_snapshots.py -s [STORAGE] -fs [FILESYSTEM] -sp [SNAPSHOT] --create- Remove a snapshot
ZFS_snapshots.py -s [STORAGE] -fs [FILESYSTEM] -sp [SNAPSHOT] --remove- GET a list of all snapshots
ZFS_snapshots.py -s [STORAGE] -fs [FILESYSTEM] --list- HELP
ZFS_snapshots.py -h | --help
- [STORAGE] => name of your storage
- [FILESYSTEM] => name of your filesystem
- [SNAPSHOT] => name of the snapshot
- Update
CHANGELOG.mdwith new version