5 Oct
2010
5 Oct
'10
4:13 p.m.
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 intended for this kind of stuff.
dsync could work, although with some small kludging:
Put the old backup to e.g. ~/backup
Rename the mailbox to whatever you want in destination, e.g. mv ~/backup/mailboxes/foo ~/backup/mailboxes/foo-$date
Copy the mailbox: dsync -m foo-$date mirror mdbox:~/backup