Did you ever wonder, how to backup your cisco configuration on a regular base? Earlier you need a tool which made the backups for you.
Since IOS version 12.2(25)S cisco has integrated the archive command, which can backup the IOS configuration based on time or an event:
archive log config logging enable notify syslog contenttype plaintext hidekeys path tftp://192.168.200.10/SwitchName- write-memory time-period 10080
in this example, the config is archived whenever you write your running config to the startup config and additionaly on a weekly (10080 minutes) interval.
note: if you like to write your backups in a subfolder for each switch, you have to create the subfolder on your server.
to list your backups, you can use this command:
show archive