User Tools

Site Tools


freebsd:zfs_rep

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
freebsd:zfs_rep [2014/02/27 09:45]
tschulz created
freebsd:zfs_rep [2014/02/27 09:49]
tschulz
Line 1: Line 1:
 ====== ZFS Replication Script ====== ====== ZFS Replication Script ======
  
 +===== On primary node and backup node =====
 +  * set **pool**
 +  * link to /​etc/​periodic/​daily/​
 <file bash /​scripts/​clean_snaps.sh>​ <file bash /​scripts/​clean_snaps.sh>​
 #`date -v -1d +"​$type%Y-%m-%d"​` #`date -v -1d +"​$type%Y-%m-%d"​`
Line 21: Line 24:
 </​file>​ </​file>​
  
 +===== On primary node =====
 +  * set **pool**, **host**, and **destination**
 +  * link to /​etc/​periodic/​daily/​
 <file bash /​scripts/​zfs_rep.sh>​ <file bash /​scripts/​zfs_rep.sh>​
 #!/bin/sh #!/bin/sh
freebsd/zfs_rep.txt · Last modified: 2017/09/28 21:22 by tschulz