Re: rsync /var/local/imap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux