summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <ya@sysdump.net>2018-03-31 23:33:13 -0700
committerMichał Górny <mgorny@gentoo.org>2018-05-11 19:35:50 +0200
commit5d769a2585b1de6503acc1c1ecabb69623b7bd78 (patch)
treec9d567be4804802ba04f7fad0a396206e14c4cb6 /sys-fs/zfs-auto-snapshot/files
parentapp-backup/bacula: Revbump with dropped Qt4 support. (diff)
downloadgentoo-5d769a2585b1de6503acc1c1ecabb69623b7bd78.tar.gz
gentoo-5d769a2585b1de6503acc1c1ecabb69623b7bd78.tar.bz2
gentoo-5d769a2585b1de6503acc1c1ecabb69623b7bd78.zip
sys-fs/zfs-auto-snapshot: new package
Closes: https://bugs.gentoo.org/437636 Closes: https://github.com/gentoo/gentoo/pull/7763 Package-Manager: Portage-2.3.27, Repoman-2.3.9
Diffstat (limited to 'sys-fs/zfs-auto-snapshot/files')
-rw-r--r--sys-fs/zfs-auto-snapshot/files/README.gentoo22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-fs/zfs-auto-snapshot/files/README.gentoo b/sys-fs/zfs-auto-snapshot/files/README.gentoo
new file mode 100644
index 000000000000..cb712d317ea0
--- /dev/null
+++ b/sys-fs/zfs-auto-snapshot/files/README.gentoo
@@ -0,0 +1,22 @@
+Use com.sun:auto-snapshot attribute to enable snapshots for datasets
+the syntax is:
+
+zfs set com.sun:auto-snapshot=[true|false]
+
+or:
+
+zfs set com.sun:auto-snapshot:<frequent|hourly|daily|weekly|monthly>=[true|false]
+
+for example:
+
+# zfs set com.sun:auto-snapshot=false zroot
+Will disalbe all snapshots for zroot and all nested datasets will inherit the property.
+
+# zfs set com.sun:auto-snapshot=true zroot/ROOT/default
+Will enable all types of snapshots for given dataset.
+
+# zfs set com.sun:auto-snapshot:weekly=true pool/var
+Will enable only weekly snapshots for given dataset.
+
+for details please visit:
+https://docs.oracle.com/cd/E19120-01/open.solaris/817-2271/ghzuk/index.html