aboutsummaryrefslogtreecommitdiffstats
path: root/make-snapshot
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2017-10-11 23:36:34 -0400
committerBrian Cully <bjc@kublai.com>2017-10-12 00:01:17 -0400
commitb6e77390279ca0b5ae4953df8f651311420f6238 (patch)
tree95c91c179d3ca2b62fe5922213133cc740441d93 /make-snapshot
downloadzfs-scripts-b6e77390279ca0b5ae4953df8f651311420f6238.tar.gz
zfs-scripts-b6e77390279ca0b5ae4953df8f651311420f6238.zip
Initial commit.
Diffstat (limited to 'make-snapshot')
-rwxr-xr-xmake-snapshot6
1 files changed, 6 insertions, 0 deletions
diff --git a/make-snapshot b/make-snapshot
new file mode 100755
index 0000000..f2930ac
--- /dev/null
+++ b/make-snapshot
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
+
+stamp=`date +%Y-%m-%d-%H%M%S`
+zfs snapshot zhome/bjc@$stamp