Open main menu

CDOT Wiki β

Changes

OPS335 A2

No change in size, 17:40, 4 April 2012
PART 3 - Automated Back-ups
Describe how to set up a backup server to pull the configuration data from ALL the servers (Primary DNS and master NIS on the host, secondary DNS on VM1, and slave NIS server on VM2). 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>-host-conf-bu.tar on your host, <date>-vm1-conf-bu.tar on VM1, and <date>-vm2-conf-bu.tar on VM2. Create a separate directory for each day's backup file.
# if the tar ball file is created successfully, create a statue status file in the same directory.
# run a shell script 1 minute after 1:00am on vm3 transfer each backup file on host, VM1, and VM2 to VM3 if the backup file was created successfully. Create a separate directory for storing each day's backup files using the date so the back ups are sorted.
1,760
edits