Technical Documentation

Database Backup and Restore Overview

You can perform Junos Space database backup and restore operations from the Administration workspace. By default, Junos Space does not automatically backup the database. However, you can schedule a backup to run at anytime and perform either local or remote backups. All jobs that completed prior to the time the backup operation starts are captured in the database backup file.

To perform database backup or restore operations, a Junos Space user must be assigned the system administrator role.

You might need to restore the Junos Space database if any of the following conditions occur:

  • Junos Space data is corrupted, and you need to replace it with uncorrupted data.
  • The Junos Space software became corrupted, and you reinstalled the Junos Space software.
  • You are upgrading to a new version of Junos Space and you need to populate the Junos Space database with your existing data.

Database Backup

You can perform a local backup to copy data and log files to the Junos Space default directory or perform a remote backup to copy data and log files to remote network hosts or media. You cannot specify a location for a local backup.

When you perform a local backup, Junos Space backs up all data and log files to a default directory.

When you perform a remote backup, you must specify a remote host that is configured to run the Linux Secure Copy (SCP) command. You must also specify a valid user ID and password for the remote host. To ensure that you are using a valid directory, check the destination directory before you initiate a database backup to the remote system.

During a backup, Junos Space archives data files and the logical logs that record database transactions, such as the users, nodes, devices, services that were added or deleted in Junos Space.

Database Restore

When you perform a restore operation, you retrieve data that was previously backed up to restore the Junos Space database to a previous state. You can restore a database from the Junos Space user interface, or directly from the Maintenance Mode Actions window, if Junos Space goes down and you cannot access the user interface. When a user initiates a restore database operation from the user interface, Junos Space prompts the user for the user name and password to enter maintenance mode. When the user is authenticated, Junos Space initiates the restore database operation and Junos Space remains in maintenance mode until the database is restored. When Junos Space is in maintenance mode, Junos Space is down on all nodes in the fabric and only the web proxy is running. During this time, all Junos Space users, except the maintenance mode administrator, are locked out of the Junos Space system. When the restore operation completes and the administrator exits maintenance mode, Junos Space is restarted on all nodes, and users can again access the system through the Junos Space user interface.


Published: 2009-12-16