Automatic Back up Configuration Files

Answered Question
Oct 6th, 2008

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?

I have this problem too.
0 votes
Correct Answer by milan.kulik about 8 years 2 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
Loading.
krhashbarger Mon, 10/06/2008 - 06:16

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

Gerald Vogt Mon, 10/06/2008 - 13:50

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.

krhashbarger Tue, 10/07/2008 - 03:15

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.

Correct Answer
milan.kulik Tue, 10/07/2008 - 04:12

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

krhashbarger Fri, 10/10/2008 - 07:29

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.

Actions

This Discussion