10-06-2008 04:13 AM - edited 03-03-2019 11:48 PM
I know there is commands to make a Kron job on a router to backup the configuration every day, week or month. Is there a way to do the automatic backup every month, but each time specify that it change the end of the file name to the date that it is doing the backup?
Solved! Go to Solution.
10-07-2008 04:12 AM
Hi,
I'm afriad the "maximum" works only if you save the files to the router Flash, not to an FTP server.
Using archive
write-memory
together with
path ftp:...
you can automatically save your config to your FTP server any time you save your running config into the start-up one.
This way you'll keep all config versions on your FTP server (the file name will end with -xx = version number.)
BR,
Milan
10-06-2008 05:57 AM
A good place to start may be here:
http://www.cisco.com/en/US/docs/ios/12_3t/12_3t7/feature/guide/gtrollbk.html
See also the Configuration Fundamentals Configuration Guide.
10-06-2008 06:16 AM
The only thing about that command is you can not specify a max number for configurations to save on a network resource.
10-06-2008 01:50 PM
You can set a number with 'maximum'. But I more thought of this as a way to get the configuration down from the router whenever you make a change. On the server you are free to do whatever you like with those copies. You can setup a cron job there.
10-07-2008 03:15 AM
The thing is I want to prevent as much interaction with the server as possible. If I did everything from the router, it would be just one place that has to be taken care of instead of two.
10-07-2008 04:12 AM
Hi,
I'm afriad the "maximum" works only if you save the files to the router Flash, not to an FTP server.
Using archive
write-memory
together with
path ftp:...
you can automatically save your config to your FTP server any time you save your running config into the start-up one.
This way you'll keep all config versions on your FTP server (the file name will end with -xx = version number.)
BR,
Milan
10-10-2008 07:26 AM
Depending on what your end goal is, you may be more interested in something like RANCID. RANCID monitors router configurations and keeps a history (CVS or Subversion) of changes.
This was particularly helpful in my company where we had many automated and manual changes being made frequently.
10-10-2008 07:29 AM
I have Cisco LMS 3.1 that does the configuration backup. But my company wants me to have another backup that is done from the router or switch or what ever cisco device. I know that you can schedule backups. I think I will have to do the backup and then use windows to automatically change the file name extension to the date.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: