Author Topic: Email backup  (Read 8738 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Email backup
« on: April 01, 2015, 01:10:14 PM »
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!

Offline
**
Re: Email backup
« Reply #1 on: April 08, 2015, 07:55:35 PM »
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 {} \;