table of contents
other versions
- buster-backports 2.0.3-9~bpo10+1
- testing 2.0.3-9
- unstable 2.0.3-9
ZFS-ROLLBACK(8) | System Manager's Manual | ZFS-ROLLBACK(8) |
NAME¶
zfs-rollback
—
Roll back the given dataset to a previous snapshot.
SYNOPSIS¶
zfs |
rollback [-Rfr ]
snapshot |
DESCRIPTION¶
zfs
rollback
[-Rfr
] snapshot- When a dataset is rolled back, all data that has changed since the
snapshot is discarded, and the dataset reverts to the state at the time of
the snapshot. By default, the command refuses to roll back to a snapshot
other than the most recent one. In order to do so, all intermediate
snapshots and bookmarks must be destroyed by specifying the
-r
option.The
-rR
options 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 rollback the individual child snapshots.
SEE ALSO¶
zfs-snapshot(8)June 30, 2019 | Linux |