Topic: mysql backup script
==== Required information ====
- iRedMail version: 0.9.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Debian 8
- Related log if you're reporting an issue:
====
Last day I replaced the backup script from 0.9.1 with the one from the 0.8.x series and have run into a minor problem. The backup of the chosen databases is performed as expected and backup files are found where they should be found the problem is that the log file is empty and the mail sent to postmaster only contains the following:
==> Backup completed successfully.
==> Detailed log (/var/vmail/backup/mysql/2015/05/29/2015-05-29-03:30:01.log):
=========================
From the iredmail server:
root@iredmail:/var/vmail/backup/mysql/2015/05/29# ll
total 528
-rw-r--r-- 1 root root 0 May 29 03:30 2015-05-29-03:30:01.log
-rw-r--r-- 1 root root 251180 May 29 03:30 amavisd-2015-05-29-03:30:01.sql.bz2
-rw-r--r-- 1 root root 78742 May 29 03:30 cluebringer-2015-05-29-03:30:01.sql.bz2
-rw-r--r-- 1 root root 10096 May 29 03:30 iredadmin-2015-05-29-03:30:01.sql.bz2
-rw-r--r-- 1 root root 104758 May 29 03:30 mysql-2015-05-29-03:30:01.sql.bz2
-rw-r--r-- 1 root root 84987 May 29 03:30 roundcubemail-2015-05-29-03:30:01.sql.bz2
Any idea what have gone wrong and where to look for the bug?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.