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.
Using the back up script provided in the N1 System Manager software as described in this section does not back up OS profiles.
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.
Identify a server with similar hardware and network configurations as that of the original management server.
Log in to the management server as superuser (root).
See To Access the N1 System Manager Command Line for details.
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.
Save the /var/tmp/n1smbackup/n1smbackup.tgz file to a safe location, for example, to CD media, FTP, or NFS.