Re: Backing up freeradius
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@remotehost:/etc --delete
ssh root@remotehost /etc/init.d/freeradius stop
ssh root@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
This archive was generated by a fusion of
Pipermail (Mailman edition) and
MHonArc.