Using Junos Space Network Management Platform, you can
save and restore the configuration of managed devices. The Restore
Configuration Files action from the Configuration Files workspace
enables you to deploy any version of the backup device configuration
file to the device. You can also deploy an edited version of the configuration
file to the device. Restoring a configuration file involves either
merging the contents of the selected configuration file version on
Junos Space Platform with the device’s running configuration
file or overriding the device’s running configuration file with
the selected version of the configuration backup file from Junos Space
Platform.
When you restore a configuration file, an audit log entry is
automatically generated.
To restore a device configuration file from Junos Space
Platform to a device:
- On the Junos Space Platform UI, select Configuration
Files > Config Files Management.
The Config Files Management page appears.
- On the Config Files Management page, select the configuration
file that you want to restore. (To restore all of them, select the
check box next to the first column header.)
- Select Restore Configuration Files from the
Actions menu.
The Restore Config File(s) dialog box appears, displaying
the name of the selected file, the name of the device, the version
that is to be restored to the device, and the type of restore. By
default, the latest version of the configuration file is merged with
the existing configuration on the device. If any of the columns is
not displayed by default, click the down arrow next to any of the
displayed columns and select the columns that you want to view from
the Columns list.
- Select the required version from the drop-down list that
appears when you click next to the version number displayed in the ConfigFile Version column.
The date and time at which the version of the configuration
was backed up is displayed adjacent to the version number.
- Select the type of restore from the list that appears
when you click the term displayed in the Type column. You
can opt to merge the contents of a configuration file on Junos Space
Platform with the existing configuration file on the device or override
the device’s running configuration file with a candidate configuration
file (a configuration file edited in the Configuration Files workspace)
or a configuration backup file from Junos Space Platform.
- (Optional) To restore the configuration file at a later
time, select the Schedule at a later time check box and
use the calendar icon and drop-down list, to specify the date and
time respectively.
If you do not select the Schedule at a Later Time check box, the configuration file is restored as soon as you click Restore on the Restore Config File(s) dialog box.
- Click Restore on the Restore Config File(s)
dialog box.
The Restore Configuration Files dialog box appears. The dialog
box displays a message indicating that the restore action was successfully
scheduled, and also displays a link to a job ID.
- Click OK to return to the Config Files Management
page or click the job ID link to view details of the restore job.
If the restore action was successful, the Status column on the Job
Management page shows success. If a device cannot be accessed, it
is skipped over and the job status indicates a failure.
To identify the reason for the failure of a restore job:
- Double-click the entry for the failed restore job.
The Configuration File Management Job Status page appears.
- From the Status column on the Configuration
File Management Job Status page, locate the job that has failed.
- For the failed job, click View Results in the Description column.
The Job Description page appears, displaying the reason for
the failure.
- Click Close.
You are returned to the Configuration File Management Job Status
page.
- Click the [X] icon at the top right of the Configuration
File Management Job Status page to return to the Job Management page.
To verify that the configuration file is restored on the device,
perform another backup operation and then compare versions (see Comparing Configuration Files).