Topic: Error while doing automated backup
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello, I just installed iRedMail and so far I love it! I just found an error when cron is running the backups jobs, each one suceeds but throws an error about an table not found.
Any way to fix this? I assume it's because I haven't installed iredAdmin, since I wrote myself an CLI tool to administrate my server.
here are the logs:
5c8c58a1 The first database does not allow slapcat; using the first available one (2)
* Starting backup at 2019-03-16-03-00-01
* Backup directory: /var/vmail/backup/ldap/2019/03.
* Dumping LDAP data into file: /var/vmail/backup/ldap/2019/03/2019-03-16-03-00-01.ldif...
* Compressing LDIF file with command: 'bzip2 -9' ...
* [DONE]
* Removing plain LDIF file: /var/vmail/backup/ldap/2019/03/2019-03-16-03-00-01.ldif... [DONE]
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
* File size:
=================
4.0K /var/vmail/backup/ldap/2019/03/2019-03-16-03-00-01.ldif.bz2
=================
* [ OK ] Backup completes successfully.
sql backup:
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
==> Backup completed successfully.
==> Detailed log (/var/vmail/backup/mysql/2019/03/16/2019-03-16-03-30-01.log):
=========================
* Starting backup: 2019-03-16-03-30-01.
* Backup directory: /var/vmail/backup/mysql/2019/03/16.
* Backing up databases: mysql vmail roundcubemail amavisd iredadmin sogo iredapd.
* File size:
----
12K amavisd-2019-03-16-03-30-01.sql.bz2
4.0K iredadmin-2019-03-16-03-30-01.sql.bz2
8.0K iredapd-2019-03-16-03-30-01.sql.bz2
184K mysql-2019-03-16-03-30-01.sql.bz2
8.0K sogo-2019-03-16-03-30-01.sql.bz2
----
* Backup completed (Success? YES).
Sogo backup:
* Backup all users' data under /var/vmail/backup/sogo/2019/03/16
<0x0x5575d57e0a20[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
<0x0x5575d57e0a20[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
2019-03-16 04:01:01.772 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.787 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.790 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.792 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.803 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.813 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.821 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.828 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
* Compress backup files.
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.