blob: b493efe7f6ebbae3f5c47ebdb372f1724bdc5e32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
Initial backup from our non ZFS storage:
Used rsync backup script: ../../../backup/rsync-jogamp2here.sh
ZFS send / receive ..
Note: To avoid recursion of backups,
the destination backup is in 'pool/backup' not in 'pool/data/backup' !
Example: ../../../backup/zsync-pool2dest.sh
On receiver:
> zfs list
...
pool/data/backup 22.2M 2.60T 22.1M /data/backup
pool/data/backup/jogamp.org 136K 2.60T 136K /data/backup/jogamp.org
..
> zfs set compression=gzip jausoft_com/data/backup
> zfs get compression jausoft_com/data/backup
jausoft_com/data/backup compression gzip local
On sender (initial):
test send:
zfs send -Pvn -R -D tank/data@data_01 > /dev/null
test receive:
zfs send -R -D tank/data@data_01 | ssh user@server.example.com "zfs receive -vn -u -d pool/backup/jogamp.org"
the real thing ..
zfs send -R -D tank/data@data_01 | ssh user@server.example.com "zfs receive -v -u -d pool/backup/jogamp.org"
On sender (incremental):
the real thing ..
zfs send -R -D -I data_01 tank/data@data_02 | ssh user@server.example.com "zfs receive -v -u -d pool/backup/jogamp.org"
On receiver:
zfs inherit mountpoint pool/backup/jogamp.org/data
zfs mount pool/backup/jogamp.org/data
|