Backing Up and Restoring the Junos Scope Application Data

This chapter describes how to back up and restore application data stored by Junos Scope to prevent data loss in the event of a disaster.

Figure 19 shows the application data that you can back up and restore.

Figure 19: Junos Scope Application Data to Back Up and Restore

Image g002372.gif

You can back up and restore the following Junos Scope application data in the MySQL database:

You can also back up and restore archived device configuration files in the Configuration Version System (CVS) repository. Archived device configuration files are generated when you use Configuration > Repository > Archive or import a configuration file by using Configuration > Repository > Import.

You can also back up and restore archived inventory reports and imported Junos OS images. Archived inventory reports are generated when you schedule an inventory management system report using Inventory Management > Repository > Schedule. These are the reports that you see when you use Inventory Management > Repository > View. Junos OS images are stored when you import them using Software Management > Images.

The Junos Scope software supports only full MySQL database backups; not incremental ones.

You do not need to shut down the Junos Scope server while you back up the MySQL database and repositories. You do, however, need to temporarily shut down the Junos Scope server when you restore them.

It is recommended that you back up and restore the database and data repositories simultaneously and at a time when the operational activities of the Junos Scope server are at a minimum.

You can automate backup and restore tasks within a UNIX shell script, which could then be run at specified times by the cron utility.

This chapter includes the following sections: