zfsa-snapshot-delete(1)

Delete snapshots or bookmarks. Use dataset@a%b for the range from a to b

ZFS Assistant 0.7.0

NAME

zfsa-snapshot-delete - Delete snapshots or bookmarks. Use dataset@a%b for the range from a to b

SYNOPSIS

zfsa snapshot delete [GLOBAL OPTIONS] [-h|--help] <OBJECTS>

DESCRIPTION

Delete snapshots or bookmarks. Use dataset@a%b for the range from a to b.

The command shows how much space deleting frees and asks first. Snapshots with holds or clones can't be deleted.

OPTIONS

-h, --help

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

<OBJECTS>

The snapshots (dataset@name, dataset@first%last) and bookmarks (dataset#name)

EXAMPLES

Delete one snapshot:

zfsa snapshot delete tank/photos@before-cleanup

Delete every snapshot from monday to friday, and a bookmark:

zfsa snapshot delete tank/photos@monday%friday tank/photos#old-base

SEE ALSO

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