I want to move eGroupware from my old (Fedora 8) server to my new
(xubuntu 8.10) server. What's the easiest way to do this?
Both servers are home machines on my home LAN so I have root access to
both.
I can see two obvious ways to do this:-
1 - Copy the whole of the eGroupware www directory across to the new
server, plus the mysql database. Some configuration of the apache
configuration would be needed too.
2 - Do a new, clean installation of eGroupware on the new server and
copy just the database across from the old server.
Would both of these work? Which would be best? I don't have a large
amount of data (only two or three users, contacts and calendar only).
Come to think of it I could probably avoid copying the database across
in 2 above by synchronizing data with my PDA before the move and then
synchronizing again after the move - would this work?
Both will work (given the version you install on the new system is >=
the one on the old system).
You forgot an important part: the files (by default under
/var/lib/egroupware)!
Ralf
Chris G schrieb:
> I want to move eGroupware from my old (Fedora 8) server to my new
> (xubuntu 8.10) server. What's the easiest way to do this?
>
> Both servers are home machines on my home LAN so I have root access to
> both.
>
> I can see two obvious ways to do this:-
>
> 1 - Copy the whole of the eGroupware www directory across to the new
> server, plus the mysql database. Some configuration of the apache
> configuration would be needed too.
>
> 2 - Do a new, clean installation of eGroupware on the new server and
> copy just the database across from the old server.
>
> Would both of these work? Which would be best? I don't have a large
> amount of data (only two or three users, contacts and calendar only).
>
> Come to think of it I could probably avoid copying the database across
> in 2 above by synchronizing data with my PDA before the move and then
> synchronizing again after the move - would this work?
>
On Fri, Nov 21, 2008 at 09:44:31AM +0100, Ralf Becker wrote:
> Both will work (given the version you install on the new system is >=
> the one on the old system).
>
> You forgot an important part: the files (by default under
> /var/lib/egroupware)!
>
OK, thanks for the reply. I guess I'll go for a clean installation of
egroupware when 1.6 is released and then copy the database (or even do
it by synchronisation).
> Ralf
>
> Chris G schrieb:
> > I want to move eGroupware from my old (Fedora 8) server to my new
> > (xubuntu 8.10) server. What's the easiest way to do this?
> >
> > Both servers are home machines on my home LAN so I have root access to
> > both.
> >
> > I can see two obvious ways to do this:-
> >
> > 1 - Copy the whole of the eGroupware www directory across to the new
> > server, plus the mysql database. Some configuration of the apache
> > configuration would be needed too.
> >
> > 2 - Do a new, clean installation of eGroupware on the new server and
> > copy just the database across from the old server.
> >
> > Would both of these work? Which would be best? I don't have a large
> > amount of data (only two or three users, contacts and calendar only).
> >
> > Come to think of it I could probably avoid copying the database across
> > in 2 above by synchronizing data with my PDA before the move and then
> > synchronizing again after the move - would this work?
> >
>
> --
> Ralf Becker
> Director Software Development
>
> Stylite GmbH
> [open style of IT]
>
> Morschheimer Strasse 15
> 67292 Kirchheimbolanden
>
> fon +49 (0) 6352 70629-0
> fax +49 (0) 6352 70629-30
> cell +49 (0) 170 7815917
> mailto: rb@... >
> www.stylite.de
> www.egroupware.org
> ________________________________________________
>
> Geschäftsführer Andre Keller, Nigel John Vickers,
> Gudrun K. Müller und Ralf Becker
> Registergericht Kaiserslautern HRB 12087
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________
> eGroupWare-users mailing list
> eGroupWare-users@... > https://lists.sourceforge.net/lists/listinfo/egroupware-users >
> On Fri, Nov 21, 2008 at 09:44:31AM +0100, Ralf Becker wrote:
>> Both will work (given the version you install on the new system is >=
>> the one on the old system).
>>
>> You forgot an important part: the files (by default under
>> /var/lib/egroupware)!
>>
> OK, thanks for the reply. I guess I'll go for a clean installation of
> egroupware when 1.6 is released and then copy the database (or even do
> it by synchronisation).
>
Chris,
That's the way I do it and I've never had any problems. When I need to move
machines, I just:
Then on the new machine (make sure you have set up the mysql default tables,
and secured the root account, etc..):
mysql -u root -p < egroupware.sql
mysql -u root -p
GRANT ALL ON egroupware.* TO 'egwuser'@'localhost' IDENTIFIED BY 'some_pass';
Then Create the directories where egw will store its files and backups and
make sure your web server has write permission. I use (on the new machine):
rsync -av oldmachine:/var/lib/egroupware /var/lib
***NOTE: NO trailing slash after egroupware in the line above. Also, you will
need to give yourself read permission under the user your running rsync as on
the old machine.
Then just: www.yourdomain.com/egroupware/setup
--
David C. Rankin, J.D.,P.E. | openSoftware und SystemEntwicklung
Rankin Law Firm, PLLC | Countdown for openSuSE 11.1
www.rankinlawfirm.com | http://counter.opensuse.org/11.1/small