|
| 1 | +.TH ZFS-AUTO-SNAPSHOT "8" "June 16, 2013" "zfs-auto-snapshot.sh" "System Administration Commands" |
| 2 | +.SH NAME |
| 3 | +zfs-auto-snapshot \- take regular ZFS snapshots |
| 4 | +.SH SYNOPSIS |
| 5 | +.B zfs-auto-snapshot |
| 6 | +[\fIoptions\fR] [\fI-l label\fR] \fI<'//' | name \fR[\fIname\fR...]\fI>\fR |
| 7 | +.SH DESCRIPTION |
| 8 | +.B zfs-auto-snapshot |
| 9 | +automatically creates, rotates, and destroys snapshots for all your |
| 10 | +ZFS datasets, and is compatible with both zfsonlinux and zfs-fuse. |
| 11 | +.SH OPTIONS |
| 12 | +.TP |
| 13 | +\fB\-\-default\-exclude\fR |
| 14 | +By default \fBzfs-auto-snapshot\fR will snapshot all datasets except |
| 15 | +for those in which the user-property \fBcom.sun:auto-snapshot\fR is |
| 16 | +set to \fBfalse\fR. This option reverses the behavior and requires |
| 17 | +\fBcom.sun:auto-snapshot\fR to be set to \fBtrue\fR. |
| 18 | +.TP |
| 19 | +\fB\-d\fR, \fB\-\-debug\fR |
| 20 | +Print debugging messages. |
| 21 | +.TP |
| 22 | +\fB\-e\fR, \fB\-\-event\fR=\fIEVENT\fR |
| 23 | +Set the com.sun:auto\-snapshot\-desc property to EVENT. |
| 24 | +.TP |
| 25 | +\fB\-\-fast\fR |
| 26 | +Use a faster zfs list invocation. |
| 27 | +.TP |
| 28 | +\fB\-n\fR, \fB\-\-dry\-run\fR |
| 29 | +Print actions without actually doing anything. |
| 30 | +.TP |
| 31 | +\fB\-s\fR, \fB\-\-skip\-scrub\fR |
| 32 | +Do not snapshot filesystems in scrubbing pools. |
| 33 | +.TP |
| 34 | +\fB\-h\fR, \fB\-\-help\fR |
| 35 | +Print the usage message. |
| 36 | +.TP |
| 37 | +\fB\-k\fR, \fB\-\-keep\fR=\fINUM\fR |
| 38 | +Keep NUM recent snapshots and destroy older snapshots. |
| 39 | +.TP |
| 40 | +\fB\-l\fR, \fB\-\-label\fR=\fILAB\fR |
| 41 | +LAB is usually 'hourly', 'daily', or 'monthly'. |
| 42 | +.TP |
| 43 | +\fB\-p\fR, \fB\-\-prefix\fR=\fIPRE\fR |
| 44 | +PRE is 'zfs\-auto\-snap' by default. |
| 45 | +.TP |
| 46 | +\fB\-q\fR, \fB\-\-quiet\fR |
| 47 | +Suppress warnings and notices at the console. |
| 48 | +.TP |
| 49 | +\fB\-\-send\-full\fR=\fIF\fR |
| 50 | +Send zfs full backup. Unimplemented. |
| 51 | +.TP |
| 52 | +\fB\-\-send\-incr\fR=\fIF\fR |
| 53 | +Send zfs incremental backup. Unimplemented. |
| 54 | +.TP |
| 55 | +\fB\-\-sep\fR=\fICHAR\fR |
| 56 | +Use CHAR to separate date stamps in snapshot names. |
| 57 | +.TP |
| 58 | +\fB\-g\fR, \fB\-\-syslog\fR |
| 59 | +Write messages into the system log. |
| 60 | +.TP |
| 61 | +\fB\-r\fR, \fB\-\-recursive\fR |
| 62 | +Snapshot named filesystem and all descendants. |
| 63 | +.TP |
| 64 | +\fB\-v\fR, \fB\-\-verbose\fR |
| 65 | +Print info messages. |
| 66 | +.TP |
| 67 | +name |
| 68 | +Filesystem and volume names, or '//' for all ZFS datasets. |
| 69 | +.SH SEE ALSO |
| 70 | +.BR zfs (8) |
0 commit comments