Restore Juniper SRX from backup
Assuming you backup your SRX every time you make a change (see here) , you may have a need one day to restore your settings. To do so
root@srx# load replace scp://username:password@IP.Of.Backup.Server/path/NameOfConfigFileToLoad.conf.gz root@srx# commit
Where:
- username is a username on the system where you have stored your backups
- password: is the password for the above username
- IP.Of.Backup.Server is the ip address or FQDN of the server where you have stored your backup
- path is the path to the directory where you have stored the backups
- NameOfConfigFileToLoad.conf.gz is the full file name (including all/any extensions) to be restored
If you use “merge” instead “replace”, the configuration will be merged into the existing configuation. “replace” will throw away the current configuration and replace it with the backed up configuration
Reference: How to back up and restore configuration files to an FTP server on EX switches
Tested on: SRX300 with Junos: 15.1X49-D211