Email backup

Started by sjorsnl, April 01, 2015, 01:10:14 PM

Previous topic - Next topic

sjorsnl

Hi guys,

anyone got some ideas about email backup? I was thinking of adding a symlink of the main email folder, and adding it to /backup. However, I have Dropbox synced with that folder, so if any files are deleted in Dropbox, they automatically are removed from the VPS.

Or is something being developed?

Thanks!

pedromidiasf

You just need to:
Backup postfix, roundcube databases
Copy all "/var/vmail" content

Then to import:
Restore those databases and files
And process this commands:

  • chown -R vmail:mail /var/vmail
  • find /var/vmail -type f -exec chmod 600 {} \;
  • find /var/vmail -type d -exec chmod 700 {} \;