On Mon, 2010-10-18 at 18:38 +0100, Timo Sirainen wrote:
> Added to hg:
>
>This example imports all mails from a backup under a backup-20101026
>mailbox:
>
>doveadm import -u jane@example.org \
>mdbox:/backup/20101026/jane.doe/mdbox backup-20101026 all
>
>
On Tue, 2010-10-05 at 09:56 -0300, Andre Nathan wrote:
> I'm using mdbox for mail storage. I'd like to give users an option to
> recover backups into a new folder, say, Backup-$date.
Added to hg:
This example imports all mails from a backup under a backup-20101026
mailbox:
On Wed, 2010-10-06 at 12:08 -0300, Andre Nathan wrote:
> That worked, as long as I run a
>
> doveadm force-resync -u andre=sneakymustard.com INBOX
>
> after dsync, which is totally fine :)
Hmm actually it doesn't work after a force-resync. The "backup-$date"
mailbox is shown, with all it's sub
On Wed, 2010-10-06 at 15:26 +0100, Timo Sirainen wrote:
> dsync -o
> mail_location=mdbox:mdbox:/var/spool/imap/partition7/11/andre=sneakymustard.com:INDEX=/var/lib/imap/user/11/andre=sneakymustard.com:MAILBOXDIR=mailboxes/backup-1234
> -u ..etc..
>
> So basically override the default mail_locati
On Wed, 2010-10-06 at 11:14 -0300, Andre Nathan wrote:
>
> # dsync -u andre=sneakymustard.com -m backup_2010-10-01-23 -o
> mail_location="mdbox:/home/andre/backup/spool:INDEX=/home/andre/backup/lib"
> backup
> "mdbox:/var/spool/imap/partition7/11/andre=sneakymustard.com:INDEX=/var/lib/imap/user/
On Tue, 2010-10-05 at 14:13 +0100, Timo Sirainen wrote:
> dsync could work, although with some small kludging:
>
> 1. Put the old backup to e.g. ~/backup
>
> 2. Rename the mailbox to whatever you want in destination, e.g. mv
> ~/backup/mailboxes/foo ~/backup/mailboxes/foo-$date
>
> 3. Copy the
On 5.10.2010, at 13.56, Andre Nathan wrote:
> I'm using mdbox for mail storage. I'd like to give users an option to
> recover backups into a new folder, say, Backup-$date.
>
> Is there a simple way to do this? I was looking at tools like dsync and
> doveadm-altmove but apparently they're not inte
Hello
I'm using mdbox for mail storage. I'd like to give users an option to
recover backups into a new folder, say, Backup-$date.
Is there a simple way to do this? I was looking at tools like dsync and
doveadm-altmove but apparently they're not intended for this kind of
stuff.
Thanks in advance,