Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-18 Thread Timo Sirainen
On Thu, 2010-02-11 at 10:46 +0500, CoolAtt NNA wrote: from the wiki of Lazy Expunge: The plugin is configured by defining namespaces where the mails are moved. You can decide if you want the namespaces to be visible to clients, or if you want to show them only via some special webmail

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-12 Thread alex handle
i use drbd to keep the mailstore redundant and rsnapshot for backup.

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-11 Thread Ed W
On 10/02/2010 19:22, Terry Barnum wrote: There's also rsnapshot which I've been using for hardlinked, incremental backups for a couple years now. Very flexible and has saved us a couple times. http://www.rsnapshot.org It's rarely mentioned, but I prefer snapback2 instead - basically the

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-10 Thread Stephen Usher
CoolAtt NNA wrote: Hi All.. Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users create Subfolders in INBOX , SENT , etc.. If anyone among you did that plz guide advise. We have a slightly different method

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-10 Thread Timo Sirainen
On Wed, 2010-02-10 at 13:57 +, Stephen Usher wrote: I've written a program, which is run by cron once a minute, which searches for messages within all the users' inboxes and then hard-links them into a backup store elsewhere on the disk. Then, once a day a reaper process runs which

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-10 Thread Geert Hendrickx
On Fri, Jan 29, 2010 at 09:59:22AM +0200, Timo Sirainen wrote: If you didn't give --delete parameter to rsync, there could be duplicates, yes. Dovecot just logs about them and gives new UIDs to them, so you'll end up having duplicate mails. I suppose some day I should just change it to log a

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-10 Thread Charles Marcus
On 2010-02-10 2:22 PM, Terry Barnum wrote: There's also rsnapshot which I've been using for hardlinked, incremental backups for a couple years now. Very flexible and has saved us a couple times. http://www.rsnapshot.org +1 for rsnapshot - although it doesn't answer the 'continuous' backup

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-10 Thread Terry Barnum
On Feb 10, 2010, at 11:53 AM, Charles Marcus wrote: On 2010-02-10 2:22 PM, Terry Barnum wrote: There's also rsnapshot which I've been using for hardlinked, incremental backups for a couple years now. Very flexible and has saved us a couple times. http://www.rsnapshot.org +1 for

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-10 Thread Timo Sirainen
On Wed, 2010-02-10 at 15:14 +0100, Geert Hendrickx wrote: On Fri, Jan 29, 2010 at 09:59:22AM +0200, Timo Sirainen wrote: If you didn't give --delete parameter to rsync, there could be duplicates, yes. Dovecot just logs about them and gives new UIDs to them, so you'll end up having duplicate

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-10 Thread CoolAtt NNA
access the namespaces(the back up mailboxes) ? We are using Thunderbird,Microsoft Outlook RoundCube Webmail as email clients. From: te...@dop.com To: dovecot@dovecot.org Date: Wed, 10 Feb 2010 11:22:06 -0800 Subject: Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 2 Feb 2010, CoolAtt NNA wrote: luigi, can you tell me what will happen if I create a directory in a user's mailbox and restore some emails there. now if the user's quota is x mb after restoration the mailbox becomes greater than x mb.

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-01 Thread Steinar Bang
L.M.J linuxmasterj...@free.fr: Unfortunately, I'm using mbox :-/ In that case, --fuzzy got less interest but --delete-after is definitely a good one. If you're talking mbox then -fuzzy has no interest, that's right. But rsync is still a good match, actually a better match than with maildir.

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-01 Thread CoolAtt NNA
?? = CoolAtt = Date: Fri, 29 Jan 2010 14:20:05 +0100 From: al...@boxed.no To: dovecot@dovecot.org CC: t...@iki.fi; li...@luigirosa.com Subject: Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ? On 29.01.2010 08:59, Timo Sirainen wrote: On 29.1.2010

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-01 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 02/02/10 08:02: Am thinking about the following files: dovecot.index dovecot.index.cache dovecot.index.log maildirsize subscriptions dovecot-uidlist Will they affect the restore process ?? Based on some

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-01 Thread CoolAtt NNA
...@luigirosa.com To: dovecot@dovecot.org Subject: Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 02/02/10 08:02: Am thinking about the following files: dovecot.index

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-02-01 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 02/02/10 08:36: luigi, can you tell me what will happen if I create a directory in a user's mailbox and restore some emails there. now if the user's quota is x mb after restoration the mailbox becomes greater

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-31 Thread Steinar Bang
L.M.J linuxmasterj...@free.fr: ... rsync -a --delete $i ${PATHTOSAFEPLACE}/$(date +%u)/${i}/ ... The downside to not using --fuzzy, is that the entire article is transferred again if a message names changes slightly (ie. if we're talking maildir here), as a result of status change. Note

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-31 Thread L.M.J
Le Sun, 31 Jan 2010 21:04:12 +0100, Steinar Bang s...@dod.no a écrit : The downside to not using --fuzzy, is that the entire article is transferred again if a message names changes slightly (ie. if we're talking maildir here), as a result of status change. Note if you decide to use --fuzzy

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-31 Thread Frank Cusack
On January 31, 2010 9:04:12 PM +0100 Steinar Bang s...@dod.no wrote: L.M.J linuxmasterj...@free.fr: ... rsync -a --delete $i ${PATHTOSAFEPLACE}/$(date +%u)/${i}/ ... The downside to not using --fuzzy, is that the entire article is transferred again if a message names changes slightly

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-29 Thread Steinar Bang
Timo Sirainen t...@iki.fi: The main potential problem with that is that if a message's flag is changed, the filename changes so it's now stored twice in the backup server. So when restoring mails, be sure not to restore duplicates. I use the --fuzzy flag to handle the renaming issue. Here's

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-29 Thread Geert Hendrickx
On Fri, Jan 29, 2010 at 10:21:39AM +0500, CoolAtt NNA wrote: Hi Alex, I mirror the mailboxes as follows: rsync -avt --log-file=$log_file /home/vmail/ 10.0.0.x:/home/vmail I run it in a script for e,g every 1 min. If running this from cron every minute, make sure to use a lockfile or

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-29 Thread CoolAtt NNA
successfully setup Continous Backup of mailboxes using rsync ? Timo Sirainen t...@iki.fi: The main potential problem with that is that if a message's flag is changed, the filename changes so it's now stored twice in the backup server. So when restoring mails, be sure not to restore duplicates

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-29 Thread CoolAtt NNA
...@dod.no Date: Fri, 29 Jan 2010 08:58:27 +0100 Subject: Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ? Timo Sirainen t...@iki.fi: The main potential problem with that is that if a message's flag is changed, the filename changes so it's now stored

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-29 Thread Alexander Hoogerhuis
On 29.01.2010 08:59, Timo Sirainen wrote: On 29.1.2010, at 7.57, Luigi Rosa wrote: Timo Sirainen said the following on 29/01/10 06:48: The main potential problem with that is that if a message's flag is changed, the filename changes so it's now stored twice in the backup server. So when

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-29 Thread L.M.J
Le Thu, 28 Jan 2010 13:07:32 +0500, CoolAtt NNA cool...@live.com a écrit : Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users create Subfolders in INBOX , SENT , etc.. If anyone among you did that plz guide

[Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread CoolAtt NNA
Hi All.. Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users create Subfolders in INBOX , SENT , etc.. If anyone among you did that plz guide advise. Thanks CoolAtt

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Stewart Dean
The answer, if you can sell the cost, might be network storage. Most of them provide the capability of take inode snapshots CoolAtt NNA wrote: Hi All.. Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Alexander Hoogerhuis
On 28.01.2010 09:07, CoolAtt NNA wrote: Hi All.. Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users create Subfolders in INBOX , SENT , etc.. If anyone among you did that plz guide advise. You don't

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Seth Mattinen
On 1/28/10 12:07 AM, CoolAtt NNA wrote: Hi All.. Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users create Subfolders in INBOX , SENT , etc.. How? If anyone among you did that plz guide advise.

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread CoolAtt NNA
of n days so that it automatically gets deleted from the backup server. *** CoolAtt *** Date: Thu, 28 Jan 2010 20:57:15 +0100 From: al...@boxed.no To: dovecot@dovecot.org Subject: Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ? On 28.01.2010 09:07

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 06:21: rsync -avt --log-file=$log_file /home/vmail/ 10.0.0.x:/home/vmail I run it in a script for e,g every 1 min. By doing so if an email is deleted on the live server it still remain on the backup

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread CoolAtt NNA
Date: Fri, 29 Jan 2010 06:39:31 +0100 From: li...@luigirosa.com To: dovecot@dovecot.org Subject: Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Timo Sirainen
On Fri, 2010-01-29 at 10:21 +0500, CoolAtt NNA wrote: Hi Alex, I mirror the mailboxes as follows: rsync -avt --log-file=$log_file /home/vmail/ 10.0.0.x:/home/vmail I run it in a script for e,g every 1 min. By doing so if an email is deleted on the live server it still remain on the

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 29/01/10 06:48: The main potential problem with that is that if a message's flag is changed, the filename changes so it's now stored twice in the backup server. So when restoring mails, be sure not to restore

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread CoolAtt NNA
: Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 06:47: Can you please explain how you do the restore? I always restore at folder level, not mail level

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 07:18: It means if I create a new mailbox and I restore the emails at mail level(individual files) ,will it work correctly? And if I restore the same mail to an existing mailbox ?? Not a new mailbox, a

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread CoolAtt NNA
Am using Dovecot the maildir format. Create a new folder like the following ?? vmail/coolatt/Maildir/restored-emails Date: Fri, 29 Jan 2010 07:20:37 +0100 From: li...@luigirosa.com To: dovecot@dovecot.org Subject: Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 07:39: Create a new folder like the following ?? vmail/coolatt/Maildir/restored-emails Actually vmail/coolatt/Maildir/.restored-emails would be better :) Done that, you copy from the folder to be

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Nikita Koshikov
On Thu, 28 Jan 2010 13:07:32 +0500 CoolAtt NNA cool...@live.com wrote: Hi All.. Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users create Subfolders in INBOX , SENT , etc.. If anyone among you did

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Timo Sirainen
On 29.1.2010, at 7.57, Luigi Rosa wrote: Timo Sirainen said the following on 29/01/10 06:48: The main potential problem with that is that if a message's flag is changed, the filename changes so it's now stored twice in the backup server. So when restoring mails, be sure not to restore