[rancid] Restore Older Rancid Configurations to Newer Rancid Server

510 views
Skip to first unread message

Smokeping slt

unread,
Jun 30, 2011, 12:12:00 AM6/30/11
to rancid-...@shrubbery.net
hi all.
 
My older rancid server got currupt due to hard disk failure. I had a backup of all the configuration inside /usr/local/rancid folder[etc, bin share, var]
It stored lot of configurations changes in routers using their coressponding revision numbers.
 
I freshly installed the rancid system on top of new server. Now I need to restore the older configurations to the new server. I copied the contents of this backup folder to my new server folder.[attached]
 
But Still the old data not showing. How can I sort out this problem.
 
your responses are very much.
 
Thanks
 
rancid.JPG

Smokeping slt

unread,
Jun 30, 2011, 12:25:00 AM6/30/11
to rancid-...@shrubbery.net
rancid.JPG

Smokeping slt

unread,
Jun 30, 2011, 2:08:13 AM6/30/11
to he...@shrubbery.net, rancid-...@shrubbery.net

 hi ,
 
 
tnx for your response. But I didnt get your poing clearly. My fresh installation work fines. Then I restored the config in all /var folder with my older configurations.
 
what else do I need to do ? Please guide me to solve the issu.
 
tnx
 
> Date: Thu, 30 Jun 2011 05:57:25 +0000
> From: he...@shrubbery.net
> To: smokep...@hotmail.com
> Subject: Re: [rancid] Restore Older Rancid Configurations to Newer Rancid Server
>
> Thu, Jun 30, 2011 at 10:25:00AM +0600, Smokeping slt:

> > I freshly installed the rancid system on top of new server. Now I need to restore the older configurations to the new server. I copied the contents of this backup folder to my new server folder.[attached]
> >
> > But Still the old data not showing. How can I sort out this problem.
>
> IIRC, those tools look directly at the CVS repository, which means to me
> that you have't restored it properly or the config of the web interface
> points to the wrong location. you'd also need to 'cvs update' the rancid
> group dirs.

P C

unread,
Jun 30, 2011, 11:03:43 AM6/30/11
to Smokeping slt, rancid-...@shrubbery.net
If anyone knows of a migration guide in general or tips/pointers for performing a migration while retaining data, I would love to hear it.

Sure, it's easy enough to move the config to a new install, but I'm not terribly familiar with the back end CVS bits interact with rancid and how fork-lifting a CVS database over might affect things...


2011/6/30 Smokeping slt <smokep...@hotmail.com>
_______________________________________________
Rancid-discuss mailing list
Rancid-...@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

Smokeping slt

unread,
Jul 11, 2011, 12:04:15 AM7/11/11
to rancid-...@shrubbery.net

hi all,
 
Still I couldnt solve this issue. Where this configuration revision numbers stored. I only take the bakup of /usr/local/rancid directory.
 
Even I restore all the configurations , revision numbers of each configuration file not showned.
 
 I followed the installation process using this URL : http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch1_:_Network_Backups_With_Rancid
 
Please help me to solve this out
 
tnx

Smokeping slt

unread,
Jul 12, 2011, 2:58:01 AM7/12/11
to rancid-...@shrubbery.net

 hi ,
 
tnx for you reply . I search for the files that you have mentioned. But I couldnt find such a file.
 
 
[root@rancid ~]# find / -name *.cvs
[root@rancid ~]# find / -name *.svn
/usr/share/doc/pcsc-lite-1.4.4/ChangeLog.svn
[root@rancid ~]#

So this should not be the files which stored revision numbers. I couldnt find where they are stored
 
your responses are highly.
 
tnx
 

Date: Mon, 11 Jul 2011 10:59:13 -0700

Subject: Re: [rancid] Restore Older Rancid Configurations to Newer Rancid Server
From: ran...@gheek.net
To: smokep...@hotmail.com

The revision number is stored as part of the SVN/CVS. It should be in the .cvs or .svn files somewhere.

2011/7/10 Smokeping slt <smokep...@hotmail.com>
Reply all
Reply to author
Forward
0 new messages