Sun Management Center 4.0 Installation and Configuration Guide

ProcedureTo Manually Back Up Sun Management Center Data to the Default Directory

  1. Log in as root on the Sun Management Center server machine.

  2. Stop all Sun Management Center processes.

    Type the command /opt/SUNWsymon/es-stop -A and press Return.

  3. Backup your Sun Management Center data.

    Type the command /opt/SUNWsymon/es-backup and press Return.

    If any Sun Management Center processes are still running, you are notified that Sun Management Center must be shut down.

    You are asked whether you want to proceed. Type y and press Return.

  4. Specify the backup directory.

    You are prompted for the directory path in which to store the backup. The default location /var/opt/SUNWsymon/backup is displayed.

    • To accept the default backup directory /var/opt/SUNWsymon/backup, press Return.

      If a prior backup has been performed using the default directory /var/opt/SUNWsymon/backup, you are asked whether to delete the old backups.

      • To keep the old backups, type n to exit the backup process, then copy /var/opt/SUNWsymon/backup to a different directory.

      • To overwrite the old backups, type y.

    • To specify a different backup directory, type the name of the directory and press Return.

      For example:


      # Enter full directory path to store the backup data files
         [/var/opt/SUNWsymon/backup]: /backup-set-1
      

      If the directory does not exist, you are asked whether you want to create the directory. Type y and press Return.

      es-backup stops all running processes, and then backs up the database and configuration data to the directory you specified. When the backup is completed, es-backup starts all Sun Management Center processes.

  5. Validate the backup.

    Type the command /opt/SUNWsymon/sbin/es-restore -c and press Return.

    You are prompted to enter the full directory path to the backup files. The default backup directory path /var/opt/SUNWsymon/backup is displayed.

    • If you chose the default backup directory /var/opt/SUNWsymon/backup, press Return.

    • If you specified a different backup directory, type the full path and name of the directory and press Return.

    es-restore validates the data in the backup directory. You are informed whether the backup data is valid.

    • If the backup is not valid, examine the backup log file /var/opt/SUNWsymon/install/backup_host-name.date and time string.process-id where:

      • host-name is the name of the server you used to create the backup

      • date and time string is the year, date, and time the backup was created

      • process-id is the process ID of the es-backup session that created the backup

    • If the backup is valid, copy the backup directory to a different directory for safe keeping.

    The es-backup log file is /var/opt/SUNWsymon/install/backup_host-name.date and time string.process-id where:

    • host-name is the name of the server you used to perform the backup

    • date and time string is the year, date, and time the backup was run

    • process-id is the process ID of the es-backup session