Skip to content

Commit 10f9b3e

Browse files
committed
Document `--{pre,post}-snapshot
1 parent c08f366 commit 10f9b3e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/zfs-auto-snapshot.8

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ Snapshot named filesystem and all descendants.
6464
\fB\-v\fR, \fB\-\-verbose\fR
6565
Print info messages.
6666
.TP
67+
\fB\-\-pre-snapshot\fR
68+
Command to run before snapshotting. It is passed the
69+
filesystem and snapshot name. If it returns non-zero,
70+
snapshotting this filesystem is aborted.
71+
.TP
72+
\fB\-\-post-snapshot\fR
73+
Command to run after snapshotting. It is passed the
74+
filesystem and snapshot name.
75+
.TP
6776
name
6877
Filesystem and volume names, or '//' for all ZFS datasets.
6978
.SH SEE ALSO

0 commit comments

Comments
 (0)