backup without stopping the imap server?

Lars Kristiansen lars at adventuras.no
Tue Jun 14 06:52:45 EDT 2005


> Have you tried using rsync with:
>
> --size-only             ignore mod time for quick check (use size)
>
> O.
>
> On Fri, 2005-06-10 at 10:37 -0700, Andrew Morgan wrote:
>> On Thu, 9 Jun 2005, James Treleaven wrote:
>>
>> > The best idea I have seen is two rsync's: the first while the server
>> is
>> > running and the second (much faster one) with it momentarily stopped.
>>
>> Unfortunately, even rsync can take a very long time.  I'm preparing to
>> migrate to a new Cyrus server and I plan to use rsync.  I've been doing
>> daily rsyncs of the mail spool in preparation for the final rsync while
>> the old server is stopped.  We have about 375GB of mail in 6 million+
>> files, and the rsync process takes about 6 hours.  It's not the size of
>> the data (although the initial rsync did take considerably longer).
>> Just
>> calculating the differences for that many files is a lot of work.  :)

And uses a lot of memory.
rsync slows down when the job gets bigger.
Try to divide it into smaller segments.


>>
>>  	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
> --
> Ondrej Sury <ondrej at sury.org>
>
> ---
> 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
>

---
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




More information about the Info-cyrus mailing list