Skip navigation
Language:
English
  • Contact Us
  • Help
  • Home
  • Top Contributors
  • Expert Corner

Document

Created on: Jul 3, 2009 2:28 AM by Travis Williams - Last Modified:  Nov 18, 2009 7:25 PM by TCC
Previous Contributors: Amit Sharma  

Currently Being Moderated

Periodical Configuration Save of Cisco Devices

VERSION 4  Click to view document history

Periodical configuration save of Cisco devices can be done from inside the device by using a combination of "kron" and "archive" commands. I usually place the backup on a network path.

 

Define the location of your configuration save apart from the default Flash location. Based on your IOS support, this can be a HTTP, HTTPS, FTP, or TFTP path. I include the device name and the timestamp:

 

archive
   path tftp://10.10.10.10/cisco/$h-$t
   write memory

 

Define the policy list for the scheduler. The following is calling the "write config" command which will trigger the copy over network from the above:

kron policy-list backup-config


   cli write memory

 

Define the schedule of the policy. The following example is for five minutes past midnight, everyday:

 

kron occurrence daily-config-backup at 0:05 recurring
   policy-list backup-config

 

Note: Every time the "write memory" command is issued, the device will trigger a network copy to the path specified above.

 

- Adrian Turcu, Newbay Software Ltd, Dublin, Ireland

 

To receive the latest information on Cisco online tools, certifications, support documentation, insights from Cisco experts and peers, and upcoming events, check out the Cisco Technical Services Newsletter today.

Average User Rating
(1 rating)
Comments (1)

Actions

Bookmarked By (2)

More Like This

  • Retrieving data ...