Re: rsync /var/local/imap

From: Andrew Morgan (no email)
Date: Wed Jun 07 2006 - 16:26:38 EDT

  • Next message: Nigel Kersten: "What does 'reconstruct' via IMAP actually do?"

    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

    ----
    Cyrus Home Page: http://asg.web.cmu.edu/cyrus
    Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Nigel Kersten: "What does 'reconstruct' via IMAP actually do?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD