dpinkston wrote:You don't want to know

. I tried SCP, several times and it kept erroring out (I don't remember the exact error) So I figured that transfering over the wire wasn't going to work to well. So I copied to an external drive.
scp or cp are no good. rsync is the only option to preserve permissions.
I did one the other day, old box centos 4.6, scalix 11.4.0, new box centos 5.3 scalix 11.4.0 with an upgrade to 11.4.3 and everything went fine. 35 gigabyte mailstore.
A rough run down of what i did....
1. move old server to new ip on lan. shutdown all scalix related services.
2. setup new server on original ip. Install virgin scalix 11.4.0. stop scalix and all related services.
3. mkdir /var/opt/scalix.11.4.0.virgin
4. mv /var/opt/scalix/* /var/opt/scalix.11.4.0.virgin/.
5. cd /var/opt/scalix
6. rsync -avz root@oldserver:/var/opt/scalix/* . (rsync ran over ssh)
7. wait 2-3 hours
8. mv postgres to postgres.old (postgres changed from v7 to v8 in centos 5, so the old postgres wont work. It's just indexes so they will be re-created)
9. rsync -av /var/opt/scalix.11.4.0.virgin/??/postgres /var/opt/scalix/??/.
10. ompatchom
11. omcheck -s -d > /tmp/check_file
review the file and then type:
sh /tmp/check_file
12. start all scalix related services and test login to webmail and sac on 11.4.0 - all worked.
Note: scalix uid and gid did end up being different between the two servers, but it didn't cause any issues. omcheck fixed a few things. the new server had the same ip and hostname as the old when i installed scalix.
13. stop scalix again.
14. run a standard upgrade to 11.4.3 on the new server. tested all - worked ok.
That process should work everytime. Hope this helps you out for next time.