summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-08 21:57:50 +0200
committerSven Gothel <[email protected]>2013-06-08 21:57:50 +0200
commitb010abc3b1b23bfad668f899b2d1e2dbe2e7f017 (patch)
tree49aa807e2c41e23683f4d0c0d4c31964cb923a70 /server
parent6b07618f6c86d3ff93254bb73552555ab07044e9 (diff)
server 04 transfer data backup: Add ZFS backup (send/receive) example
Diffstat (limited to 'server')
-rw-r--r--server/setup/04-transfer_data_backup/README.txt29
1 files changed, 28 insertions, 1 deletions
diff --git a/server/setup/04-transfer_data_backup/README.txt b/server/setup/04-transfer_data_backup/README.txt
index 2907b07..e789039 100644
--- a/server/setup/04-transfer_data_backup/README.txt
+++ b/server/setup/04-transfer_data_backup/README.txt
@@ -1,2 +1,29 @@
-Used rsync backup script: ../../../backup/rsync-jogamp2here.sh
+Initial backup from our non ZFS storage:
+ Used rsync backup script: ../../../backup/rsync-jogamp2here.sh
+
+ZFS send / receive ..
+ 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:
+ test send:
+ zfs send -Pvn -R -D tank/data@data_01 > /dev/null
+
+ test receive:
+ zfs send -R -D tank/data@data_01 | ssh [email protected] "zfs receive -vn -u -d pool/data/backup/jogamp.org"
+
+ the real thing ..
+ zfs send -R -D tank/data@data_01 | ssh [email protected] "zfs receive -v -u -d pool/data/backup/jogamp.org"
+ zfs inherit mountpoint pool/data/backup/jogamp.org/data
+ zfs mount pool/data/backup/jogamp.org/data
+
+