Sun N1 System Manager 1.3 Discovery and Administration Guide

ProcedureTo Back Up Database and Configuration Files

This procedure describes how to back up the database and configuration files from a running management server. The N1 System Manager service is restarted several times during this process. Therefore, perform these steps only when the N1 System Manager is not currently running jobs.

Do not change the configuration or OS usage of the managed servers during the period between executing the backup and restore procedures.

Before You Begin

Identify a server with similar hardware and network configurations as that of the original management server.

Steps
  1. Log in to the management server as superuser (root).

    See To Access the N1 System Manager Command Line for details.

  2. Run the n1smbackup.sh script.

    For example:


    # /opt/sun/n1gc/bin/n1smbackup.sh
    This program will back up Sun N1SM on this Linux/SunOS machine.
    
    The N1SM services will be restarted and N1SM will be interrupted during 
    the process.
    
    All files related to N1SM, including network interface 
    configuration, will be backed up. Therefore, it is recommended 
    that these files are restored to an identical hardware setup. 
    
    Verify that N1SM does not have outstanding jobs before proceeding.
    
    The backup process will take about 8 minutes.
    
    Would you like to continue? [y/N] y
    
    Backing up configuration files (done)
    Backing up SCS database (done)
    Backing up SPS database (done)
    N1SM restarted.
    N1SM backup completed. Backup saved to file 
    /var/tmp/n1smbackup/n1smbackup.tgz.

    The backup file and the /var/tmp/n1smbackup directory are created.

  3. Save the /var/tmp/n1smbackup/n1smbackup.tgz file to a safe location, for example, to CD media, FTP, or NFS.

Next Steps

To Restore Database and Configuration Files