summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backup/zfs-new-snap.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/backup/zfs-new-snap.sh b/backup/zfs-new-snap.sh
new file mode 100644
index 0000000..1a856a5
--- /dev/null
+++ b/backup/zfs-new-snap.sh
@@ -0,0 +1,11 @@
+#! /bin/bash
+
+pool=jausoft_com
+snap=20130920
+
+zfs snapshot $pool@$snap
+zfs snapshot -r $pool@$snap
+zfs snapshot -r $pool/data@$snap
+zfs snapshot -r $pool/services@$snap
+zfs snapshot -r $pool/system@$snap
+zfs snapshot -r $pool/users@$snap