Sun N1 System Manager 1.3 Discovery and Administration Guide

Backing Up Database and Configuration Files

This section describes how to back up the N1 System Manager database and configuration files. Successful completion of the procedure in this section enables you to swap management server and management server-related hardware without losing the N1 System Manager database and configuration files.

Note –

Using the back up script provided in the N1 System Manager software as described in this section does not back up OS profiles.

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.

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

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

  2. Run the script.

    For example:

    # /opt/sun/n1gc/bin/
    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 

    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