[Dovecot] backing up maildir dovecot files

Reindl Harald h.reindl at thelounge.net
Mon Feb 11 22:47:57 EET 2013



Am 11.02.2013 21:34, schrieb David Mehler:
> I'm having to migrate servers. Both are dovecot2 systems. I'm wanting
> to copy over my mail store from one system to the other. I'd like to
> preserve dates/times of emails. These are maildir setups on both
> boxes, I'd like to be as transparent to the end user as possible. I
> currently have the first dovecot system offline and the second dovecot
> system is offline.

assuming that BOTH servers are down as fro any other transfers
like mysql-datadirs and any critical things which should go
save and fast by preserve attributes:

rsync --force --delete-after -tPrlHpogEAXz /folder/ root at newserver:/folder/

# -z compress
# -t timestamps
# -P progress
# -r recursive
# -l links
# -H hard-links
# -p permissions
# -o owner
# -g group
# -E executability
# -A acls
# -X xtended attributes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130211/6e3e9809/attachment-0003.bin>


More information about the dovecot mailing list