Page 1 of 1

Q: migrating Scalix to a new server

Posted: Thu Jan 24, 2008 11:43 pm
by obrodkin
After reading tons of tips and how-to on this forum re: migration of Scalix to a new server, I think I am more comfortable to perform it now.

They mention re-creating scalix user and group accounts before installing Scalix to preserve UID and GID. How about postgres user? There is a postgres dir structure under /var/opt/scalix, so should I re-create this one too?

Thanks

Oleg B

P.S. To Scalix: you have to offer us at least Scalix-certified migration procedure, if not a fully functional tool to migrate.

Posted: Fri Jan 25, 2008 3:21 am
by Valerion
That gets created by the installer, so you don't need to do anything there.

Posted: Fri Jan 25, 2008 2:06 pm
by obrodkin
I was not clear with my question, let me reiterate it:

while moving data store, /var/opt/scalix, to a new server, you want to preserve the correct permission on dir and files. Some of them has "scalix" and "postgres" as their owners. So before reinstalling Scalix on the new server, you have to ensure "scalix" and "postgres" users will have the same UID and GID as on the old system. Otherwise, they will be created by scalix installation and might not match UID and GID on old /var/opt/scalix. Leading to access and permission problem.

My reading confirmed that "scalix" user HAS to be created, now I am asking whether the same applies to "postgres" user and group.

Thank you

Posted: Sun Jan 27, 2008 4:42 pm
by mikevl
Hi

Yep if you are installing on fresh hardawe then all should be the same. I have done this many this with success.

Mike