Manual Backup

Contents
casp1032
You can create a backup of your database manually using the SSdbsave database utility, which is included with 
DX NetOps Spectrum
. Your database contains a catalog of template information that is used to create models (model types, relations, and rules) and the models themselves. You can create a backup copy of your database that includes either one or both of these components using SSdbsave. We recommend performing a complete save, containing both the modeling catalog and the models.
Create a Complete Backup
You can create a complete backup copy of your database. A complete backup includes both the modeling catalog (model type hierarchy, relations, and rules) and the models themselves.
 
Follow these steps:
 
  1. Navigate to the 
    $SPECROOT
    /SS directory.
  2. Verify that neither the SpectroSERVER nor any other program that accesses the SpectroSERVER database is running.
     When first installed, the utility is located in the 
    $SPECROOT
    /SS-Tools directory. If the location is not set in a system path statement, you must either use a full path, use a relative path, move the file, or link it to the same directory with the SpectroSERVER database.
  3. Enter the following command to save both the modeling catalog and models:
    ../SS-Tools/SSdbsave -cm <save_file>
    The suggested naming scheme for save files is to incorporate a date stamp and the flags for the save command. In this case, you are using both the “c” (catalog) and “m” (models) flags; therefore, assuming it is October 14, 2013, enter db_20131014_cm as the save file name.
    A file named “db_20001014_cm.SSdb” is created. The “.SSdb” suffix is added automatically.
Create a Split Backup
Although the models in the SpectroSERVER database can change on a daily basis, the modeling catalog changes only when you perform an upgrade installation, add new management modules, or make changes directly using the Model Type Editor. Therefore, if you have a very large database, you can save some time by splitting your backups. With a split backup, you save your models on a regular basis, but save the modeling catalog only after it changes. You then store the backup of the modeling catalog in a safe place. Along with the most recent save of your model information, this backup file provides a complete database backup.
The following procedure describes how to perform a split backup of the database on October 14, 2013, creating one save file for the modeling catalog and a separate file for the models.
 
Follow these steps:
 
  1. Navigate to the 
    $SPECROOT
    /SS directory.
  2. Verify that neither the SpectroSERVER nor any other program that accesses the SpectroSERVER database is running.
     When first installed, the utility is located in the 
    $SPECROOT
    /SS-Tools directory. If the location is not set in a system path statement, you must either use a full path, use a relative path, move the file, or link it to the same directory with the SpectroSERVER database.
  3. Enter the following command to save only the modeling catalog:
    ../SS-Tools/SSdbsave -c db_20131014_c
  4. Enter the following command to save only your models:
    ../SS-Tools/SSdbsave -m db_20131014_m
    The modeling catalog is saved in a file named db_20131014_c.SSdb, and the models are saved in a file named db_20131014_m.SSdb.
     Save your models on a regular basis or whenever you make a significant change to your network model. Save your modeling catalog anytime you install a new version of
    DX NetOps Spectrum
    , add new management modules, or make any catalog changes with the Model Type Editor.