1 (edited by zingz0r 2015-11-14 05:40:38)

Topic: Can't backup mysql database with backup_mysql.sh

======== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.2
- Linux/BSD distribution name and version: debian wheezy
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL(MariaDB)
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Hi!
So I can't backup mysql with the (backup_mysql.sh) script.
I set pw user etc but when i run i get strange errors.
Check log please.

Could anybody help to figure out where should I debug the problem.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by zingz0r 2015-11-14 20:31:06)

Re: Can't backup mysql database with backup_mysql.sh

Hi again!
To answer my question:

There is no mistake in your script. But I executed it with sh (sh ./backup_mysql.sh) which has a less extensive syntax.

If I exectue bash ./backup_mysql.sh then it is working perfectly.