cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
32253
Views
10
Helpful
12
Replies

Scheduling backup of running-config on TFTP/FTP

mzsaad123
Level 1
Level 1

Hi,

Is there a way to schedule automated backup on a TFTP or FTP server from cisco IOS?

Any help would be appreciated.

1 Accepted Solution

Accepted Solutions

Hi,

Didn't got a change to go through the details.

Please check the vedio tutorial below for the procedure to configure the achieve command and enable auto backup whenever a change is made -

http://www.blindhog.net/cisco-automatic-configuration-backup/

Apologize if this is a repeatative info.

-> Sushil

View solution in original post

12 Replies 12

michael.leblanc
Level 4
Level 4

You can use a product such as Kiwi CatTools to schedule configuration backups, if that helps.

http://www.kiwisyslog.com/kiwi-cattools-overview/

jcoke
Level 3
Level 3

Ivan Pepelnjak wrote an excellent article on using the IOS configuration archive for automated config backups:

http://www.nil.com/ipcorner/RouterConfigArch/

mzsaad123
Level 1
Level 1

Here is what I found. Its a feature of cisco ios.

example:

Router(config)# kron policy-list Backup

Router(config-kron-policy)# show run | redirect tftp://10.1.1.1/test.cfg

Router(config-kron-policy)# exit

Router(config)# kron occurrence Backup at 23:00 Sun recurring

Router(config-kron-occurrence)# policy-list Backup

Did you read the article I posted? The IOS config archive feature is so much more robust than redirecting the output of a "sh runn."

hi,

http://www.nil.com/ipcorner/RouterConfigArch/

the command path will not save the configs on the tftp server

That's incorrect. The archive feature's path command supports any IOS-supported file system ftp, tftp, http, etc.

http://www.cisco.com/en/US/docs/ios/fundamentals/configuration/guide/cf_config-rollback_ps6441_TSD_Products_Configuration_Guide_Chapter.html#wp1100253

Hi,

Sorry but i tried it and it did work.

Router(config)#archive

Router(config-archive)#path

Router(config-archive)#path ?

ftp: Write archive on ftp: file system

http: Write archive on http: file system

pram: Write archive on pram: file system

rcp: Write archive on rcp: file system

tftp: Write archive on tftp: file system

below is the link which will help more.

http://blogs.techrepublic.com.com/networking/?p=532

IOS limitation one week point.

regards,

Pravin

Here is what I encountered when I was trying to do archive on TFTP.

conf t

archive

path tftp://10.0.0.1

end

archive config

.....

%Error opening tftp://10.0.0.1-1 (Timed out)

It is creating -1 itself (which doesn't exist).

I even tried tftp://10.0.0.1/ and the error I get then is:

tftp://10.0.0.1/-1

Any help would be appreciated.

Regards

Cisco URLs are normally in this format:

tftp:[[//location]/directory]/filename

Can you try that?

-serg

Hi,

Didn't got a change to go through the details.

Please check the vedio tutorial below for the procedure to configure the achieve command and enable auto backup whenever a change is made -

http://www.blindhog.net/cisco-automatic-configuration-backup/

Apologize if this is a repeatative info.

-> Sushil

enable the port number 69 on your windows firewall

Jeesemon91
Level 1
Level 1

conf t
archive
path ftp://<<FTP,/ TFTP / SFT Server ip>>/Backup file name
time-period 10080 <- in mins

<<To Verify>>
show archive

<<to Clear archive>>
clear archive log config force

 

Getting Started

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: