Professional Documents
Culture Documents
OMC Server Backup
OMC Server Backup
GTSS - Motorola
Page1
SIGN-OFF FORM
Author: Revised: Revised: Revised: Revised: Alaa Abbasi Signature: Signature: Signature: Signature: Signature: Date: 18, Sep, 2003 Date:
GTSS - Motorola
Page2
...............................................................................................................................................3 Introduction :................................................................................................................................4 How to organize your backup :....................................................................................................4 Backup procedures :.....................................................................................................................4 OMCR Server Backup; UNIX file system backup:.................................................................4 Backing up CM and PM Informix DB:...................................................................................5
GTSS - Motorola
Page3
Introduction :
Backups is the most important operation that you should do on a daily bases so you can recover once you have any kind of data losses.
Backup procedures :
OMCR Server Backup; UNIX file system backup:
A backup can be performed automatically by using the backup_splat utility. Use the following procedure to back up the file systems on the System Processor. 1. Log in to the System Processor using the login id: root. 2. Insert a new tape (DAT) into the tape drive, ensuring it is not write-protected. 3. Change to the /usr/gsm/current/sbin directory by entering the following command: cd /usr/gsm/current/sbin. 4. Enter the following command to run the backup_splat utility: ./backup_splat The following prompt is displayed. Is there a writable DAT tape loaded in the Tape Please enter YES to continue : 5. Enter YES to continue. The following prompt is displayed: Enter Backup Tape Device: 6. Enter the backup tape device name as /dev/rmt/0n. 7. Press RETURN, the following message is displayed: REWINDING TAPE.... 8. Check to see if the tape is error free: dd if=/dev/rmt/0n of=/dev/null bs=96k 9. Check each partition by entering the following command: ufsrestore ivfs /dev/rmt/0n <x> where x is the number of partitions to be backed up. The ufsrestore prompt appears. 10. To list all the contents of the /root directory enter the following:
GTSS - Motorola
Page4
ls 11. To quit enter: q 12. To forward to the next partition enter the following command, incrementing each time to the next dump block: ufsrestore ivfs /dev/rmt/ 0n 2 Note: This backup should be done on daily bases.
Please mount tape and press Return to continue The archive procedure can be interrupted to fix any problems before pressing RETURN. 8. When the archive is complete, a message indicating which tapes are required to restore the database to its present state is displayed. The message also indicates the logical log at which to start to restore the system after the backup tapes have been mounted. (The logical log information can be ignored as logical logs are not currently used.) 9. For each of the PM and CM databases, confidence check the tape using the following UNIX command: dd if=/dev/rmt/0 of=/dev/null bs=64k 10. If successful, write protect, label and store the tape(s). If an error is returned, the faulty tape should be replaced and the archive procedure repeated from Step 3. Note: This backup should be done on daily bases. Also note that this procedure is for two backup types, CM and PM so you should perform the above steps twice.
GTSS - Motorola
Page6