IP Stories

“A Written IP Related Activities”

Archive for September 16th, 2008

[Cisco] Auto Archive Configuration – Save Cisco Config Periodically

Posted by a. Rahman Isnaini r. Sutan on September 16, 2008

Tired of saving your cisco configuration manually ?
And changes made very often & too lazy to back up.
This how to save your configuration automatically & periodically.
– Below sample save in weekly period.
– And save configuration weekly to disk2 of my Core Router.

But firstly check your IOS support or not (12.4 for e.g).
Here how to check :

Your-ROUTER(config)#archive

How to configure :

Core-1(config)#archive
Core-1(config-archive)#path disk2:config-backup
Core-1(config-archive)#time-period 604800
Core-1#dir disk2: (sample)
5  -rw-        3276  Sep 12 2008 10:14:02 +07:00  config-backup

Other options at archive level :

default              Set a command to its defaults
exit                  Exit from archive configuration mode
log                   Logging commands
maximum        Maximum number of backup copies
no                    Negate a command or set its defaults
path                 Path for backups
rollback           Rollback parameters
time-period     Period of time in minutes to automatically archive the running-config
write-memory  Enable automatic backup generation during write memory

a. rahman isnaini r.sutan

Posted in Cisco | Leave a Comment »