*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: zfs-rollback | Section: 8 | Source: FreeBSD | File: zfs-rollback.8.gz
ZFS-ROLLBACK(8) FreeBSD System Manager's Manual ZFS-ROLLBACK(8) NAME zfs-rollback - roll ZFS dataset back to snapshot SYNOPSIS zfs rollback [-Rfr] snapshot DESCRIPTION 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 roll back the individual child snapshots. -R Destroy any more recent snapshots and bookmarks, as well as any clones of those snapshots. -f Used with the -R option to force an unmount of any clone file systems that are to be destroyed. -r Destroy any snapshots and bookmarks more recent than the one specified. EXAMPLES Example 8: Rolling Back a ZFS File System The following command reverts the contents of pool/home/anne to the snapshot named yesterday, deleting all intermediate snapshots: # zfs rollback -r pool/home/anne@yesterday SEE ALSO zfs-snapshot(8) FreeBSD 14.1-RELEASE-p8 March 16, 2022 FreeBSD 14.1-RELEASE-p8

Navigation Options