Backup and restore FR
Hello everyone, It can be a little weird to ask this question, if it is I am sorry but is there any way to clone the FR application with everything related to another machine with same OS? If I am using FR on my centos and I want to install FR to another centos with the exactly same configs. Instead of installing FR and coping the configs one by one, is there any way to directly get a backup of FR in my main machine and restore it on the other machine? Also in case of any disaster scenarios, I can simple restore a previously backuped FR with efficient way in a little time. Any suggestions? Thank you -- View this message in context: http://freeradius.1045715.n5.nabble.com/Backup-and-restore-FR-tp5710672.html Sent from the FreeRadius - User mailing list archive at Nabble.com.
On Wed, May 16, 2012 at 03:54:03AM -0700, yagizozen wrote:
It can be a little weird to ask this question, if it is I am sorry but is there any way to clone the FR application with everything related to another machine with same OS?
tar, dump/restore, rsync, cfengine, csync2 ? There's plenty of ways of copying files between two machines. If you're using a database, do whatever method that uses to copy data across. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Architect (UNIX and Networks), Network Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Thank You for your reply but when I use tar which folder/files I should backup? May be FR files are distributed under many different folders, how can I succeed a error-less and guarentee backup of FR application? -- View this message in context: http://freeradius.1045715.n5.nabble.com/Backup-and-restore-FR-tp5710672p5711... Sent from the FreeRadius - User mailing list archive at Nabble.com.
On 05/17/2012 06:48 AM, yagizozen wrote:
Thank You for your reply but when I use tar which folder/files I should backup? May be FR files are distributed under many different folders, how can I succeed a error-less and guarentee backup of FR application?
As standard installation of FreeRADIUS stores all of it's config in the "raddb" directory and sub-directories. But if your install has been customised, it could be anywhere. Start the server up in debug mode with "radiusd -X". It will print a list of the files it loads. Check the location of all of these. This is basic Unix skills, really. YOU have to decide what files to backup.
I used default installization, but I think during the installization, it modifiy some OS files like managing enviroment settings or something like this. Anyway, like u said, I will check the debug list to make sure. Thank you very much -- View this message in context: http://freeradius.1045715.n5.nabble.com/Backup-and-restore-FR-tp5710672p5711... Sent from the FreeRadius - User mailing list archive at Nabble.com.
On 05/17/2012 03:36 AM, yagizozen wrote:
I used default installization, but I think during the installization, it modifiy some OS files like managing enviroment settings or something like this.
I believe earlier you said this was a Red Hat derived system (e.g. CentOS). All your config files will be under /etc/raddb. You can also query RPM and have it tell you every config file in a package, but as I said all config files are located under /etc/raddb. There is no such thing as "modifying some OS files". If you simply want to move your freeradius to another node (at the same version level) just copy over the contents of /etc/raddb. However most freeradius implementations also utilize backend data stores (e.g. SQL, LDAP, etc.) If you need to move those too then that's a separate task. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
Hi,
If you simply want to move your freeradius to another node (at the same version level) just copy over the contents of /etc/raddb. However most freeradius implementations also utilize backend data stores (e.g. SQL, LDAP, etc.) If you need to move those too then that's a separate task.
I was going to say the same thing - the FreeRADIUS 'config' is all in /etc/raddb so you can just copy /tar/ scp across. but be aware that eg clients and remote proxies will probably not be awared of the new box IP address...or required shared secrets to be adjusted! however, other parts of the Os may also need adjusting - if, as John said, you use MySQL you will have MySQL access tables and DB tables.... psql would have hb_pga.conf entries etc and finally, if your box is eg bound into an AD for PEAP against AD then you will have eg samba config files, kerberos config files etc to do - as well as running the bind commands on the new box to ensure it works... alan
participants (5)
-
alan buxey -
John Dennis -
Matthew Newton -
Phil Mayers -
yagizozen