diff --git a/man/zfs-snapshot-all.1 b/man/zfs-snapshot-all.1 new file mode 100644 index 0000000..d8c0a78 --- /dev/null +++ b/man/zfs-snapshot-all.1 @@ -0,0 +1,46 @@ +.TH ZFS\-SNAPSHOT\-ALL 1 "NOV 2018" "User Commands" +.SH NAME +.PP +\fB\fCzfs\-snapshot\-all\fR \- Recursively snapshot all zpools +.SH SYNOPSIS +.PP +\fB\fCzfs\-snapshot\-all [OPTIONS] [[pool1] pool2 ...]\fR +.SH DESCRIPTION +.PP +Recursively snapshot all or a subset of zpools +.SH OPTIONS +.TP +\fB\fC\-h\fR +print this message and exit +.TP +\fB\fC\-n\fR +dry\-run, don't actually create snapshots +.TP +\fB\fC\-x\fR +don't automatically append the date in epoch to the snapshot name +.TP +\fB\fC\-V\fR +print the version number and exit +.SH EXAMPLES +.TP +\fB\fCzfs\-snapshot\-all foo\fR +snapshot all zpools with the prefix foo +.TP +\fB\fCzfs\-snapshot\-all bar pool1 pool2\fR +snapshot zpools pool1 and pool2 with the prefix bar +.TP +\fB\fCzfs\-snapshot\-all \-x baz pool3\fR +snapshot zpool pool3 with the \fIexact\fP snapshot name 'baz' +.SH BUGS +.PP +\[la]https://github.com/bahamas10/zfs-snapshot-all\[ra] +.SH AUTHOR +.PP +\fB\fCDave Eddy (https://www.daveeddy.com)\fR +.SH SEE ALSO +.PP +.BR zpool (1M), +.BR zfs (1M) +.SH LICENSE +.PP +MIT License diff --git a/man/zfs-snapshot-all.md b/man/zfs-snapshot-all.md new file mode 100644 index 0000000..2f7d2be --- /dev/null +++ b/man/zfs-snapshot-all.md @@ -0,0 +1,64 @@ +ZFS-SNAPSHOT-ALL 1 "NOV 2018" "User Commands" +============================================= + +NAME +---- + +`zfs-snapshot-all` - Recursively snapshot all zpools + +SYNOPSIS +-------- + +`zfs-snapshot-all [OPTIONS] [[pool1] pool2 ...]` + +DESCRIPTION +----------- + +Recursively snapshot all or a subset of zpools + +OPTIONS +------- + +`-h` + print this message and exit + +`-n` + dry-run, don't actually create snapshots + +`-x` + don't automatically append the date in epoch to the snapshot name + +`-V` + print the version number and exit + +EXAMPLES +-------- + +`zfs-snapshot-all foo` + snapshot all zpools with the prefix foo + +`zfs-snapshot-all bar pool1 pool2` + snapshot zpools pool1 and pool2 with the prefix bar + +`zfs-snapshot-all -x baz pool3` + snapshot zpool pool3 with the *exact* snapshot name 'baz' + +BUGS +---- + +https://github.com/bahamas10/zfs-snapshot-all + +AUTHOR +------ + +`Dave Eddy (https://www.daveeddy.com)` + +SEE ALSO +-------- + +zpool(1M), zfs(1M) + +LICENSE +------- + +MIT License