Backing up freeradius

Peter Nixon listuser at peternixon.net
Fri Jun 1 09:46:40 CEST 2007


On Fri 01 Jun 2007, Peter Nixon wrote:
> On Fri 01 Jun 2007, Elie Hani wrote:
> > Hi;
> >
> > I have freeradius configured on Fedora Core 6, I tried to configure a
> > backup script where I can copy /etc/raddb folder to another server with
> > the same version and the same operating system.
> >
> > When it's done, the command service radiusd start did not work,
> > But radiusd -x & worked and the server is well functioning.
> >
> > What could be the problem?
>
> permissions...

My server synchronisation script looks like:

 rsync -a /etc/raddb root at remotehost:/etc --delete
 ssh root at remotehost /etc/init.d/freeradius stop
 ssh root at remotehost /etc/init.d/freeradius start

I run it AFTER I have already verified that the config works on the 
localhost, and I use ssh keys so that it doesnt ask for the password for 
each line...

If you have different ssl certs on each machine then you will need to modify 
the rsync line..

Cheers
-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc



More information about the Freeradius-Users mailing list