zfsa-snapshot-create(1)

Take a snapshot of one or more datasets

ZFS Assistant 0.7.0

NAME

zfsa-snapshot-create - Take a snapshot of one or more datasets

SYNOPSIS

zfsa snapshot create [GLOBAL OPTIONS] [-r|--recursive] [--name] [-h|--help] <DATASETS>

DESCRIPTION

Take a snapshot of one or more datasets.

Every dataset named, and with -r the datasets inside them, gets a snapshot of the same name at the same moment. Snapshots taken by hand are never pruned by a policy.

OPTIONS

-r, --recursive

Include the datasets inside them

--name <NAME>

The snapshot's name (manual-<date and time> by default)

-h, --help

Print help (see a summary with '-h')

<DATASETS>

The datasets, all of one pool

EXAMPLES

A snapshot of one dataset with a name of your choice:

zfsa snapshot create tank/photos --name before-cleanup

One snapshot of rpool/ROOT and everything inside it, taken at the same moment:

zfsa snapshot create rpool/ROOT -r

SEE ALSO

zfsa(1) for the global options, authorization, confirmations and exit status, zfsa-snapshot(1).