User Tools

Site Tools


zfs:snapshots:rollback_a_snapshot

This is an old revision of the document!


ZFS - Snapshots - Rollback a Snapshot

WARNING: This will revert all changes made since a specific snapshot.

sudo zfs rollback testpool/some_directory@sunday

NOTE: Once the rollback is completed, you can verify the files present in the directory.


Snapshot Rollback Test

Destroy all the files and then roll back:

rm -rf testpool/some_directory
sudo zfs rollback testpool/some_directory@sunday
zfs/snapshots/rollback_a_snapshot.1634127387.txt.gz · Last modified: 2021/10/13 12:16 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki