Hi,
for the CLI:
You can use the following command to copy the active configuration file to a server:
aviva@router1> file copy /config/juniper.conf.gz server1:/homes/aviva/tmp
aviva@server1's password:
juniper.conf.gz 100% 2127 2.1KB/s 00:00
From configuration mode, use the save command to copy the candidate configuration to your home directory on a server:
[edit]
aviva@router1# save server1:configuration-march02
aviva@server1's password:
tempfile 100% 11KB 11.2KB/s 00:00
Wrote 433 lines of configuration to 'server1:configuration-march02'
You can also save it to a file in your home directory on the router:
[edit]
aviva@router1# save configuration-march02
Wrote 433 lines of configuration to 'configuration-march02'
aviva@router1# run file list
/var/home/aviva:
.ssh/
configuration-march02
Another way to back up configuration files is to automatically transfer the file each time you commit the configuration:
[edit system]
aviva@router1# set archival configuration transfer-on-commit
aviva@router1# set archival configuration archive-sites ftp: //aviva:password@server1.
mynetwork.com:/m20-config-archives