migrating Cyrus data

Ban Attila Istvan Attila.Ban at bibl.u-szeged.hu
Fri Sep 23 08:37:06 EDT 2005


Dear Vladimir,

> simple question. I have two servers, A and B. Both have
> cyrus-imapd2.2.10 installed. I want to migrate all A`s cyrus data to B one.
> 
> Is safe to simply _scp_ all cyrus-based directories to B ? I mean:
> scp -R /data/cyrus/ root at B:/data
> 
> Or is there any better way how to migrate much more elegantly ?
Personally I prefer using rsync, which is generally the better choice
for this kind of job.

You don't need to install rsyncd on the machines, you'll just need the
rsync command.
Something similar will be required to be issued:
root at B# rsync -e ssh -avHx A:/data/cyrus/ /data/

Don't forget, that it will not succeed if A and B has some arch
differencies, eg. i386 and amd64. At least is resulted segfault at me.

Bye,
    Miham.
-- 
Miham Kerekes -- Hungary -- University of Szeged, University Library
perl -e 'print pack("H*", "6d6968616d406269626c2e752d737a656765642e68750a")'
Connection reset by newbies crawling under routers to pick up dropped packages.



More information about the Info-cyrus mailing list