|
Dear Cys Tembakup,
If your tape drive's total capacity allows you to backup your entire system then the process is pretty simple. You must first log in as "root" on your server, then place a maximum capacity tape (for your particular drive) in the tape drive. You then execute the command: tar cvp8 ./* & from the root directory. If you performed this correctly, you will notice lines of text similar to the following appearing on your screen:
a ./dispatch/db/client/bg/acctblib.pl 880 tape blocks
a ./dispatch/db/client/bg/acctserv 5169 tape blocks
a ./dispatch/db/client/bg/acctserv.pf 1 tape blocks
a ./dispatch/db/client/bg/acctstart 42 tape blocks
a ./dispatch/db/client/bg/emps.error 9495 tape blocks
When the command prompt is returned to your console, the backup has completed.
If the capacity of your tape drive is too small to archive your entire disk(s) space then you must choose the directories to archive. The following directories contain the most critical, dynamic data on your system.
On a Cabmate 6.X system you should choose these directories:
/usr/gandalf
/usr/apex (may not apply to all sites)
/usr/disp
/db
/files
/fares
/dispatch
/usr/log
/usr/lib/spectab*
/usr/sysconf.
On a Cabmate 7.X or 8.X system the following directories should be chosen:
/gmsi
/data
/db/cache/cabmate
We have left out the /backups directory because as mentioned in the "Under Serviced Zones" Health Tip you should already be archiving this directory on a monthly if not bi-weekly basis.
To perform a backup of the chosen directories you will need to log in as "root" and then from the root directory execute the following:
tar cvp8 .[a] .[b] and so fourth
replacing the [a] and [b] etc. with the appropriate directories.
For example on a 7.X or 8.X system you would type:
tar cvp8 ./gmsi ./data ./db/cache /cabmate &
Again, if you executed this correctly you will see lines similar to the following appearing on your screen:
a ./data/supvstat/day31.stat 1 tape blocks
a ./data/supvstat/day28.stat 1 tape blocks
a ./data/supvstat/day28.rep 3 tape blocks
a ./data/supvstat/day31.rep 2 tape blocks
a ./data/supvstat/day1.rep 3 tape blocks
a ./data/supvstat/day3.rep 2 tape blocks
a ./data/supvstat/day10.rep 1 tape blocks
Please note that these backups should be performed on the main server only on a slow hour of the day as it may, depending on your system speed, slow down your dispatching operations. Once the archives are complete, keep the tapes in a safe place. Regular backups (once a month) are also recommended as this aids in data disaster recovery. For assistance in backing up your data, please contact Mobile Knowledge customer support 1-866-624-5330.
Dr. Know
|