|ZFS-ROLLBACK(8)||System Manager's Manual||ZFS-ROLLBACK(8)|
roll ZFS dataset back to snapshot
-rRoptions do not recursively destroy the child snapshots of a recursive snapshot. Only direct snapshots of the specified filesystem are destroyed by either of these options. To completely roll back a recursive snapshot, you must roll back the individual child snapshots.
- Destroy any more recent snapshots and bookmarks, as well as any clones of those snapshots.
- Used with the
-Roption to force an unmount of any clone file systems that are to be destroyed.
- Destroy any snapshots and bookmarks more recent than the one specified.
Example 8: Rolling Back a ZFS File SystemThe following command reverts the contents of pool/home/anne to the snapshot named yesterday, deleting all intermediate snapshots:
|March 16, 2022||Debian|