Hi,

Did you check correct dirs ownership?

you can just create a script and add for example:

tar -zcvf myemails.tar.gz /somedir/ and then sync the tarred file to your 
backup disk.

regards,

Carlos.

--- El sáb 31-oct-09, Richard Rasker <[email protected]> escribió:

> De: Richard Rasker <[email protected]>
> Asunto: [courier-users] Question restoring messages from backup, 
> courierimapuiddb
> A: [email protected]
> Fecha: sábado, 31 octubre, 2009, 5:27 am
> Hello,
> 
> I set up a courier-imap mailserver with a Maildir
> structure, with rsync
> for creating regular backups on a remote machine. But I'm
> running into a
> problem testing this backup method; here's what I did:
> - I cc'd a hundred or so messages to the Inbox of a test
> account
> - I created a backup of this test account
> - I deleted half the messages in this Inbox (using MUA)
> - I created another backup
> - I restored all backed-up messages to ~/Maildir/cur/
> - I renamed ("safe removed") ~/Maildir/courierimapuiddb,
> expecting
> courier-imap to rebuild the correct list from the restored
> files found
> in ~/Maildir/cur.
> 
> This is where things go wrong. When I connect using a mail
> client, I get
> error messages "NO Cannot open message" (Squirrelmail) for
> all deleted
> messages, and only the ones I didn't delete originally are
> still shown
> correctly. Evolution doesn't show messages at all, and just
> says "Error
> while refreshing folder".
> 
> AFAICS, the number of lines in courierimapuiddb matches the
> number of
> files in ~/Maildir/cur, so that part of restoring the
> Maildir structure
> seems to have worked. Yet obviously I have to do something
> else to
> restore the deleted messages -- and I can't use a backup
> of
> courierimapuiddb of course, since this backup doesn't
> reflect all the
> files backed up over time with rsync.
> 
> So what am I doing wrong? Is there a special command to
> restore the
> Maildir structure with courimapuiddb and other files from a
> bunch of
> message files?
> 
> Thanks in advance, best regards,
> 
> Richard Rasker
> 
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference
> in SF, CA
> is the only developer event you need to attend this year.
> Jumpstart your
> developing skills, take BlackBerry mobile applications to
> market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009.
> Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
> 


      
____________________________________________________________________________________
¡Obtén la mejor experiencia en la web!
Descarga gratis el nuevo Internet Explorer 8. 
http://downloads.yahoo.com/ieak8/?l=e1

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to