14 Nov
2010
14 Nov
'10
8:13 p.m.
Spyros Tsiolis wrote on 11/12/2010:
a. How safe will I be backing up dovecot
b. What folders/files to backup
It's enough to backup your Dovecot configuration files (usually the folder /etc/dovecot or /usr/local/etc/dovecot) and your SSL certs (if used).
You should also backup your mailboxes (/var/MailRoot/domains) on a regular basis (hourly/daily with rsync for example).
If you must reinstall your server you have to install Dovecot and restore your Dovecot config files from your backup. That should be all.
P.S.: Depending of your authentication backend (database, PAM, LDAP..) you should also backup these informations so that users can login after a restore with the same credentials as before.
-- Daniel