Subversion Repositories sysadmin_scripts

Rev

Rev 171 | Last modification | Compare with Previous | View Log | Download | RSS feed

Last modification

Path Last modification Log Download RSS
[NODE][NODE][NODE] [FILE] pruneSnap 172  22 d 11 h rodolico Log Download RSS
[NODE][NODE][NODE] [FILE] README.md 170  59 d 16 h rodolico Log Download RSS
[NODE][NODE][NODE] [FILE] replicate 171  23 d 9 h rodolico Log Download RSS
[NODE][NODE][NODE] [FILE] sync 171  23 d 9 h rodolico Log Download RSS
[NODE][NODE][NODE] [FILE] sync.sample.yaml 166  78 d 15 h rodolico Log Download RSS

replication is a script which is designed to manage replicating two sets of

ZFS snapshots. There are tons of them out there, and this is pretty

simplistic, especially as compared to some of the more throurough ones like

repl, etc...

I wrote replication to handle a specific problem. I wanted an 'Air Gap'

server for backup. When the server was turned on, it would contact its

upstream server, sync, then shut down. The key to unlock the encrypted file

server is stored external to the Air Gap server and, if not found, the

server shuts itself off immediately.

The script to do that is included (sync) showing how to call replication.

sync requires a configuration file, sync.yaml. There is a sample (with

comments) included (sync.sample.yaml).