| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I'm trying to migrate a Cyrus installation from one server to another. I've copied a test account using imapsync, but all the public folders are copied into the destination user's folder hierarchy. On the original: /cyrus/mail/Customers/xxxx #public folder hierarchy /cyrus/mail/user/xxxx/Drafts # user folder On new server after copying with imapsync: /cyrus/mail/user/xxxx/Customers /cyrus/mail/user/xxxx/Drafts Command used: imapsync --host1 a.b.c.d --user1 xxxx --password1 xxxx --host2 v.x.y.z --user2 xxxx --password2 xxxx --ssl1 --ssl2 --syncacls --port1 993 -- authmech1 PLAIN --port2 993 --authmech2 PLAIN If imapsync can't handle this, what's the best way of moving the Cyrus data from one server to another, given that they use different versions of bdb? rsync and db_convert? Thanks, Keith Versions: imapsync -v 1.182 Old server: name : Cyrus IMAPD version : v2.2.10 2004/11/23 17:52:52 vendor : Project Cyrus support-url: http://asg.web.cmu.edu/cyrus os : FreeBSD os-version : 4.11-STABLE environment: Built w/Cyrus SASL 2.1.20 Running w/Cyrus SASL 2.1.20 Built w/Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001) Running w/Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001) Built w/OpenSSL 0.9.7d 17 Mar 2004 Running w/OpenSSL 0.9.7d 17 Mar 2004 CMU Sieve 2.2 TCP Wrappers mmap = shared lock = fcntl nonblock = fcntl auth = unix idle = poll New server: name : Cyrus IMAPD version : v2.2.13-Debian-2.2.13-10 2006/11/13 16:17:53 vendor : Project Cyrus support-url: http://asg.web.cmu.edu/cyrus os : Linux os-version : 2.6.18-6-686 environment: Built w/Cyrus SASL 2.1.22 Running w/Cyrus SASL 2.1.22 Built w/Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003) Running w/Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003) Built w/OpenSSL 0.9.8c 05 Sep 2006 Running w/OpenSSL 0.9.8c 05 Sep 2006 CMU Sieve 2.2 TCP Wrappers NET-SNMP mmap = shared lock = fcntl nonblock = fcntl idle = poll |
|
#2
| |||
| |||
| Hello Keith, > I've copied a test account using imapsync, but all the public folders > are copied into the destination user's folder hierarchy. > If imapsync can't handle this [...] imapsync can. http://www.linux-france.org/prj/imapsync/FAQ From the FAQ : ================================================== ==================== Q. I want to exclude a folder hierarchy like "public" R. Use --exclude '^public\.' or maybe --exclude '^"public\.' In the example given the character "." is the folder separator, you can ommit it. Just take the string as it appears on the imapsync output line : From folders list : [INBOX] [public.dreams] [etc.] Adapt this with "Custumer" Au revoir, 02 99 64 31 77 Gilles Lamiral. France, Chavagne (35310) 06 20 79 76 06 |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.