Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

backing up the configuration file on a 6500

Status
Not open for further replies.

paublo

ISP
Sep 14, 2006
127
US
Hi, does anyone know how to automatically backup a configuration file on the 6500. It's seems that unlike a 7200, the 6500 does not have the archive command and although it has the kron command on the 6500 im not sure how to setup a policy-list to have it copy the configuration at a certain date/time to an ftp server.

 
kron occurence daily at 03:30 recurring
policy-list copy_config
!
kron policy-list copy_config
cli copy run tftp://blablabla

That is for every day at 3:30AM

/
 
hi, this will give us a file named "router-confg"
is there any manner to name it with a format
dd-MM-yy-hh-mm.txt
 
hmm, i guess i got tripped up on

core.frv.ma(config-kron-policy)#cli copy ?
LINE <cr>

didnt know what LINE was? thought it was vty.

thanks for the info.

zizoudevinci to add the hostname to the file and its its

$h for hostname and $t for time :)
 
question, is there a way not to be prompted to verify the destination ip and file name when you do a copy ftp://1.1.1.1/filename.

I mean i got kron working but wont it prompt for all that stuff like it does on the cli???
 
to remove the destination ip and file name prompts
just this

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#file prompt quiet
Router(config)#^Z
 
ok---so how exactly does one go about doing the time and date thing to name the file?

/
 
Same here. My handle says that I'm a programmer, but I only play one on t.v.

/
 
I give up---I just kron'd a job to copy it, named it hostname-config.doc, and kron it to do it every night at a certain time. I can look at the properties of the file, and just run the tftp daemon all the time.

/
 
why don't you use a tool like Kiwi CatTools, or SolarWinds Cirrus Configuration Manager
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top