Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Restoring Product Data from Backup

Here is how to restore Paragon Active Assurance data from backup files. In this chapter, the backup files are assumed to be named in the same way as in the chapter Backing Up Product Data.

Note:

The procedure that follows requires that Control Center has been installed (so that the netrounds database exists).

  1. Stop all Paragon Active Assurance services that are accessing the database:

  2. Drop the PostgreSQL database:

  3. Recreate the database:

  4. Restore the database:

    Setting ON_ERROR_STOP to on will cause psql to exit if an error occurs. For further details, see the PostgreSQL documentation: https://www.postgresql.org/docs/9.4/backup-dump.html#BACKUP-DUMP-RESTORE.

    There are several options for the backup format. Please refer to the psql documentation (https://www.postgresql.org/docs/) if you are using anything other than plain .sql.

    If you are restoring from a backup of an earlier version of Control Center than the one you currently have installed, you also need to run sudo ncc migrate.

    If you backed up the database in binary format, use this command to restore it:

  5. Restore the OpenVPN keys:

  6. Restore RRD files, either from a tarball or from a snapshot. Compare the chapter Backing Up Product Data. In the tarball case, the procedure is as follows:

  7. Copy the configuration files into their original locations.

  8. Copy the license files into their original location. (Alternatively, you may download the license files once more from the Juniper EMS Portal and apply them using the ncc license activate command, as explained in the Installation Guide.)

  9. Start Paragon Active Assurance services: