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
License
GNU General Public License version 3.0 (GPLv3), Mozilla Public License 1.1 (MPL 1.1)
You Might Also Like
MongoDB Atlas runs apps anywhere
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.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ZFS Snapshot Extractor!