gentoo-full-overlay/sys-fs/zfs-auto-snapshot/files
2020-09-28 15:29:10 +03:00
..
README.gentoo Sync with portage [Sat May 12 01:11:37 MSK 2018]. 2018-05-12 01:11:37 +03:00
zfs-auto-snapshot-daily.service Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00
zfs-auto-snapshot-daily.timer Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00
zfs-auto-snapshot-frequent.service Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00
zfs-auto-snapshot-frequent.timer Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00
zfs-auto-snapshot-hourly.service Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00
zfs-auto-snapshot-hourly.timer Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00
zfs-auto-snapshot-monthly.service Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00
zfs-auto-snapshot-monthly.timer Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00
zfs-auto-snapshot-weekly.service Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00
zfs-auto-snapshot-weekly.timer Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00
zfs-auto-snapshot.target Sync with portage [Mon Sep 28 15:29:10 MSK 2020]. 2020-09-28 15:29:10 +03:00

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