rsync /var/local/imap
Andrew Morgan
morgan at orst.edu
Wed Jun 7 16:26:38 EDT 2006
On Wed, 7 Jun 2006, Michael Johnson wrote:
> Hi all
>
> I'm looking for your experiences with combining two cyrus directories.
>
> Currently I have /var/local/imap and /var/local/imap2 on my machine because
> of some legacy stuff from an old machine and limited disk space. I'd like to
> combine the two directories into the /var/local/imap one. I was hoping to
> rsync imap and imap2 together as /var/local/imap and get rid of imap2 if I
> could.
>
> My plan so far:
>
> 1. Stop the IMAP server. (/etc/init.d/cyrus-imapd stop)
> 2. Run rsync /var/local/imap2 /var/local/imap
> 3. Check to see it worked.
> 4. rm -rf /var/local/imap2
> 5. Start the IMAP server. (/etc/init.d/cyrus-imapd start)
>
> Should this work as I want? Is there a better way to do this?
Are these configured as two separate partitions in cyrus? Wouldn't you
need to update the mailboxes.db with each mailbox's new partition as well?
Andy
More information about the Info-cyrus
mailing list