Open main menu

CDOT Wiki β

Changes

Initial Setup
===Initial Setup===
This applies to any new server that will be backed up (this process could be scriptable become a script eventually)
* Create a user named "backup"
* Give that user certificate access through ssh (to and from) the other servers (in the backup group). Tutorials available [http://zenit.senecac.on.ca/wiki/index.php/OPS235_Lab_7 here]
20 2 * * * ADMHOST=$(cat /etc/sysconfig/blaze); BKU=backup; export ADMHOST BKU; scp $BKU@$ADMHOST:/usr/local/bin/blaze \
/usr/local/bin/; chown -R $BKU:$BKU /usr/local/bin/blaze; chmod 755 /usr/local/bin/blaze; /usr/local/bin/blaze
* If the server will be a reposync host then follow the first three steps to create a user account called apache and give is access to and from the repohost
===Scheduling===
1
edit