Open main menu

CDOT Wiki β

Changes

OPS335 A2 Summer 2015

1 byte removed, 09:17, 7 August 2015
Phase 3 - Automated Back-ups
Describe how to set up a backup server to <b>pull</b> the configuration data from the Primary DNS server, secondary DNS server, master NIS server, and slave NIS server and save the files in the directories /backup/pri-dns, /backup/sec-dns, /backup/mas-nis, /backup/sla-nis respectively. You should consider doing the following steps:
# run a shell script 1 minute after midnight to package all configuration files and database files into a tar ball file. Name the tar ball file as <date>-primary.tar for all the files for your primary DNS server, <date>-secondary.tar for your secondary DNS server, and <date>-master.tar for your master NIS server, and <date>-slave.tar for your slave NIS server. Pull the tar ball files file to the corresponding directory on the backup server.
# Create a status file in the corresponding backup directory to indicate when the backup tar ball file was created and when it was successfully backup to the backup server..
1,760
edits