Skip to content

Jefferderp/zfs-destroy-snapshots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

A small script which accepts one argument, being a ZFS dataset, lists all snapshots and their cumulative size, and interactively offers to destroy them.

Usage: ./zfs-destroy-snapshots.sh "tank/datasetname"

Works great for home use, with some safeguards built in, but not production-ready. For example, my pool name is hardcoded on line 16.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages