zfsa-rollback(1)
Throw away every change since a snapshot (zfs rollback)
ZFS Assistant 0.7.0NAME
zfsa-rollback - Throw away every change since a snapshot (zfs rollback)
SYNOPSIS
zfsa rollback [GLOBAL OPTIONS] [--destroy-newer] [-h|--help] <SNAPSHOT>
DESCRIPTION
Throw away every change since a snapshot (zfs rollback).
Rolling back to a snapshot that isn't the newest destroys the newer ones. That needs --destroy-newer and the dataset's name typed, or --yes --confirm DATASET without a terminal. Newer snapshots with holds or clones, and newer bookmarks, must be dealt with first. This can't be undone; zfsa restore dataset keeps the current data.
OPTIONS
- --destroy-newer
Destroy the snapshots that are newer, which a rollback needs
- -h, --help
Print help (see a summary with '-h')
- <SNAPSHOT>
The snapshot to go back to
EXAMPLES
Go back to the newest snapshot:
zfsa rollback tank/photos@before-cleanup
Go back further, destroying the newer snapshots after typing the dataset's name:
zfsa rollback tank/photos@monday --destroy-newer
SEE ALSO
zfsa(1) for the global options, authorization, confirmations and exit status.