Using SCP to back up Juniper Router Configs
srx1> start shell % scp /config/juniper.conf.gz username@myserver.domain.com:/someplace/myrouter.conf.gz
Where:
- /config/juniper.conf.gz will be the latest config that you saved with the “commit” command
- username – is the username to use to authenticate to the server you are copying the config to
- myserver.domain.com is the FQDN or IP address of the server to copy the config to
- /someplace/myrouter.conf.gz is the full path and file name of where you want to save the config to
That’s it!