networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Router Backups
PostPosted: Wed Aug 01, 2012 9:36 am 
Offline
New Member
New Member

Joined: Tue Jul 10, 2012 12:57 pm
Posts: 10
Hello Everyone,

I am looking to implement router backups in our environment. Unfortunately my workplace does not want to spend a dime on a backup solution, so I was thinking about sending the configs from the routers using kron command to a FTP server inside our network. I am hitting a snag right of the bet on this part.

I have a local Router that is directly connected to a switch, on the switch I have a server setup with a FTP server. Gave it a userrname password and port number and a shared directory. when I try to copy the running config to it I get an error saying (incorrect login/password) on the router

Code:
c881#copy running-config ftp://172.30.200.61/R1.txt     
Address or name of remote host [172.30.200.61]?
Destination filename [R1.txt]?
Writing R1.txt
%Error opening ftp://172.30.200.61/R1.txt (Incorrect Login/Password)
c881#


I did a traceroute to make sure that the FTP port is ok, and it is. I have also remotely connected to the lab's FTP server from my workstation using the username and password I set up on the Server.

My question is why is the router giving me the incorrect login? There is no option to specify username and password..

Also is Kron the right way of doing backups? I have almost 0 resources and I am not a scrip writer to write a batch script that will go out and grab the configurations and send it back to me.

Thanks


Top
 Profile  
 
 Post subject: Re: Router Backups
PostPosted: Wed Aug 01, 2012 9:39 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12424
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
rancid is free and works beautifully

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
 Post subject: Re: Router Backups
PostPosted: Wed Aug 01, 2012 9:47 am 
Offline
New Member
New Member

Joined: Tue Jul 10, 2012 12:57 pm
Posts: 10
they say no third party software eather....


Top
 Profile  
 
 Post subject: Re: Router Backups
PostPosted: Wed Aug 01, 2012 9:51 am 
Offline
Senior Member
Senior Member

Joined: Wed Jan 26, 2011 3:38 pm
Posts: 386
Location: New Hampshire
+1 for rancid. If you have to do things on the router:
Code:
copy run ftp://myusername:mypassword@172.30.200.61/R1.txt

...or...
Code:
conf t
ip ftp username myusername
ip ftp password mypassword
end
copy run ftp://172.30.200.61/R1.txt

Best option: use the 'archive config' option, rather than kron.


Top
 Profile  
 
 Post subject: Re: Router Backups
PostPosted: Wed Aug 01, 2012 1:12 pm 
Offline
New Member
New Member

Joined: Tue Jul 10, 2012 12:57 pm
Posts: 10
Thank you... to be honest I didint even think that I could do the usernam + password for ftp on a router


Top
 Profile  
 
 Post subject: Re: Router Backups
PostPosted: Wed Aug 01, 2012 2:55 pm 
Offline
New Member
New Member

Joined: Thu Nov 03, 2011 11:17 am
Posts: 35
Certs: A+, MCSE, MCDBA, CCNA, CCNP in progress
SysTrZ wrote:
they say no third party software eather....


Rancid isn't third party, it's open source just like the linux box your ftp server is running on....

SysTrZ wrote:
Thank you... to be honest I didint even think that I could do the usernam + password for ftp on a router


the permissions on your upload directory are probably wrong.

_________________
"Where I excel is ridiculous, sickening, work ethic. You know, while the other guy’s sleeping? I’m working. While the other guy’s eatin’? I’m working. While the other guy’s making love, I mean, I’m making love, too. But I’m working really hard at it."


Top
 Profile  
 
 Post subject: Re: Router Backups
PostPosted: Wed Aug 01, 2012 9:33 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Fri Nov 13, 2009 5:15 pm
Posts: 1948
Location: Pittsburgh
Certs: CCIE R&S,CCIP,JNCIA,VCP510
rancid is great once you get it working right. I would rather do a Archive than a kron set off to backup the config after x amount of hours. Even if you did not want third party you can always create a tftp server then parse the files based off of host name / time stamp.

_________________
"I will prepare and some day my chance will come." - Abraham Lincoln
http://danielhertzberg.wordpress.com - I blog about networks!


Top
 Profile  
 
 Post subject: Re: Router Backups
PostPosted: Wed Aug 01, 2012 9:39 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
chrismarget wrote:
Best option: use the 'archive config' option, rather than kron.

That.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, Luca29, wirerat and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group