Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Automatic Back up Configuration Files

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Automatic Back up Configuration Files

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

7 REPLIES
New Member

Re: Automatic Back up Configuration Files

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.

New Member

Re: Automatic Back up Configuration Files

The only thing about that command is you can not specify a max number for configurations to save on a network resource.

New Member

Re: Automatic Back up Configuration Files

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.

New Member

Re: Automatic Back up Configuration Files

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.

Re: Automatic Back up Configuration Files

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

New Member

Re: Automatic Back up Configuration Files

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.

New Member

Re: Automatic Back up Configuration Files

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.

1884
Views
0
Helpful
7
Replies
CreatePlease to create content