Cisco… what else…
today I let you know how you can do a “secure” automatic backup from your router configuration… let’s go! I’ve done it with an Windows Server 2003 as backup server you can also try it with a Linuxbox 😉
Note: the username and password are stored in cleartext in the config.
Download & Install OpenSSH for windows (http://sshwindows.sourceforge.net)
Create a local user:
open services.msc and start this service -> “OpenSSH”
Now test with putty if you can connect to this SSH Server
Now we have to configure the router that it does the backup automatically.
Path: save path
Write-memory – when you save manually he will save also via SCP
Time-period: 1440 Minutes -> daily backup | 10080 weekly backup
Connect to router via SSH and execute following commands
router# conf t
router(config-archive)# path scp://cisco:firstname.lastname@example.org//cygdrive/e/backup/network/switch/$h/$t-$h
router(config-archive)# time-period 1440
router# write memory
You are done!
Every time you do a write memory – it will also save via SCP!