Subversion Repositories sysadmin_scripts

Rev

Rev 168 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
167 rodolico 1
replication is a script which is designed to manage replicating two sets of
2
ZFS snapshots. There are tons of them out there, and this is pretty
3
simplistic, especially as compared to some of the more throurough ones like
4
repl, etc...
5
 
6
I wrote replication to handle a specific problem. I wanted an 'Air Gap'
7
server for backup. When the server was turned on, it would contact its
8
upstream server, sync, then shut down. The key to unlock the encrypted file
9
server is stored external to the Air Gap server and, if not found, the
10
server shuts itself off immediately.
11
 
12
The script to do that is included (sync) showing how to call replication.
13
 
168 rodolico 14
sync requires a configuration file, sync.yaml. There is a sample (with
170 rodolico 15
comments) included (sync.sample.yaml).