mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-11 22:40:01 +03:00
Update README.md
This commit is contained in:
parent
d602c67a2a
commit
ebe2f0bbd9
20
README.md
20
README.md
@ -31,10 +31,9 @@ Its important to choose a uniq and consistent backup name. In this case we name
|
||||
Select filesystems to backup
|
||||
----------------------------
|
||||
|
||||
|
||||
On the source zfs system set the ```autobackup:name``` zfs property.
|
||||
|
||||
On the source zfs system set the ```autobackup:smartos01_fs1``` zfs property to true.
|
||||
```
|
||||
[root@smartos01 ~]# zfs set autobackup:smartos01_fs1=true zones
|
||||
[root@smartos01 ~]# zfs get -t filesystem autobackup:smartos01_fs1
|
||||
NAME PROPERTY VALUE SOURCE
|
||||
zones autobackup:smartos01_fs1 true local
|
||||
@ -43,3 +42,18 @@ zones/3c71a6cd-6857-407c-880c-09225ce4208e autobackup:smartos01_fs1 tr
|
||||
zones/3c905e49-81c0-4a5a-91c3-fc7996f97d47 autobackup:smartos01_fs1 true inherited from zones
|
||||
```
|
||||
|
||||
Because we dont want to backup everything, we can exclude certain filesystem by setting the property to false:
|
||||
```
|
||||
[root@smartos01 ~]# zfs set autobackup:smartos01_fs1=false zones/backup
|
||||
[root@smartos01 ~]# zfs get -t filesystem autobackup:smartos01_fs1
|
||||
NAME PROPERTY VALUE SOURCE
|
||||
zones autobackup:smartos01_fs1 true local
|
||||
zones/1eb33958-72c1-11e4-af42-ff0790f603dd autobackup:smartos01_fs1 true inherited from zones
|
||||
...
|
||||
zones/backup autobackup:smartos01_fs1 false local
|
||||
zones/backup/fs1 autobackup:smartos01_fs1 false inherited from zones/backup
|
||||
...
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user