Topic: Hourly offserver backup of /var/vmail/vmail1/
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====
Hi,
I understand with the default installation path of iredmail all emails will be stored under the /var/vmail/vmail1/ directory. Now, I want to backup this directory to an offsite location for disaster recovery reasons. I prefer to use s3cmd to sync the above folder with one my buckets created under Amazon S3. However, when I attempted to do so the s3cmd keeps failing (gets killed) after a while. Further investigation revealed it could be possibly s3cmd running out of available system memory to process the requests. The VPS only got about 2GB of RAM or so.
Also, I prefer that I backup the above mail folder on HOURLY basis. What is the best method that you recommend that I can backup the content to a remote server preferably amazon S3 (incremental backup is fine with only latest changes getting backed up).
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.