This is a simple Bash script to extract a specific version of a given file from ZFS snapshots. It must be started in the directory where the ZFS dataset is mounted. The relative path for the file must be given as parameter. It then displays a list of all files with a unique modification time time from the snapshots under .zfs/scnapshot and allows to select one (or several) to be copied to the user's home directory.

Example:

cd /tank/mydata
zfs-snapshot-extract.sh documents/report.txt

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3), Mozilla Public License 1.1 (MPL 1.1)

Follow ZFS Snapshot Extractor

ZFS Snapshot Extractor Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ZFS Snapshot Extractor!

Additional Project Details

Operating Systems

Linux

Intended Audience

Advanced End Users

User Interface

Console/Terminal

Programming Language

Unix Shell

Registered

2025-12-30