zfs:snapshots:rollback_a_snapshot
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
zfs:snapshots:rollback_a_snapshot [2021/10/12 22:43] – created peter | zfs:snapshots:rollback_a_snapshot [2021/10/13 12:16] (current) – peter | ||
---|---|---|---|
Line 13: | Line 13: | ||
**NOTE: | **NOTE: | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Snapshot Rollback Test ===== | ||
+ | |||
+ | Destroy all the files and then roll back: | ||
+ | |||
+ | <code bash> | ||
+ | sudo zfs snapshot testpool/ | ||
+ | rm -rf testpool/ | ||
+ | sudo zfs rollback testpool/ | ||
+ | </ | ||
zfs/snapshots/rollback_a_snapshot.1634078591.txt.gz · Last modified: 2021/10/12 22:43 by peter