blob: c48b72277569a1a578e18850b23bf12b6ded388c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 disable 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
|