Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CMS Admin Backup

CMS

CMS Admin Backup

by  SF0751  Posted    (Edited  )
CMSADM Backup Instructions

Any user currently logged into CMS at the time of the Admin Backup can continue to work, however, while the CMSADM backup is running, no new users will be able to login to CMS.

To start the CMSAMD process type the command cmsadm at the root prompt. This will open a menu of 9 to 10 prompts, for CMSADM Backup use prompt 3 (backup - File System Backup). You will be prompted by a message that the system is figuring the correct number of tape to use (in all cases the message will indicate that one tape will be used. The system will prompt the user to insert the tape and press ENTER to continue. There will be a slight delay before the CMSADM backup starts the backup process. This delay is the time the backup process takes a snapshot of the data to be backup. The actually backup begins by giving rows of .... across the screen. When you see the dots this indicates the backup portion of the backup. Upon competitions of the backup phased or the CMSADM backup, you will prompted by a block count.

CMSADM BACKUP Verification:
The second portion of the CMSADM backup is to verify the data recorded on the tape that was originally written from the disk(s). During this portion of the for the CMSAMD backup, no rows of .... will be displayed. The last message seen is a block count, and then the cursor just sits one line below the block count message during the Verification Phase. There is no activity on the console screen. At the end of the Verification of the CMSADM backup, information will be given that the backup is complete and that the tape needs to be labeled and marked with the correct date.

After the successful CMSADM backup tape is complete, remove the tape from the tape drive and write protect the tape cartridge, to avoid overwriting this most important backup tape.

BACKUP LOG
The backup.log does not provide a great deal of information regarding the process of the CMSADM backup, it will, however, confirm whether the backup was or was not successful. To view the log:

# cd /cms/install/logdir (enter)
view backup.log (enter)
shift ôgö This will take you to the bottom of the log file
which is the most current information regarding
the CMSADM backup status.

To exit the vi editor press shift ; this places the : in the lower left hand corner, press æqÆ and ! This is the exit sequence to the vi editor.

The backup.log looks like: (This is normal competition)

===== Begin backup Wed Aug 1 13:13:06 MDT 2001
1443940 blocks
===== Finished backup Wed Aug 1 14:04:52 MDT 2001

If you receive any different message on the console then you should assume something did not complete correctly. Note the message when reporting backup problems to CMS maintenance.

CMS REBOOT
Shutting the server down (rebooting the CMS), causes temporary files to be erased and any old processes (abandoned login sessions, etc) to be terminated. It is recommended that the server be shut down once a month prior to doing the CMSADM backup.

To reboot the server, log in as root and type: #/usr/sbin/shutdown -y -g0 -i6 A shutdown normally takes 5-8 minutes and is complete when a login prompt appears on user screens, including the main console.

Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top