https://bugs.contribs.org/show_bug.cgi?id=10369
--- Comment #5 from Stefan Schulz <[email protected]> ---
(In reply to Jean-Philippe Pialasse from comment #4)
> a link to the ongoing discussion on the forum could have helped as you
> already provided some information there:
>
> https://forums.contribs.org/index.php/topic,52943.msg275501.html#msg275501
>
>
> so regarding the config
> SMEServer=yes
>
>
> remain to provide
> rpm -qa smeserver-affa
>
> and also
> cat /etc/affa/scripts/SME/signal-pre-backup
>
>
> finally I would try a
> signal-event pre-backup
>
> while checking at the /var/log/messages and paste the result of the log here
>
> then check the content of
> /home/e-smith/db/mysql
# rpm -qa smeserver-affa
smeserver-affa-3.2.2.3-8.el6.sme.noarch
# cat /etc/affa/scripts/SME/signal-pre-backup
#!/bin/sh
/sbin/e-smith/signal-event pre-backup desktop
less /var/log/messages
Jul 4 22:31:52 orion esmith::event[10946]: Processing event: pre-backup
Jul 4 22:31:52 orion esmith::event[10946]: Running event handler:
/etc/e-smith/events/actions/generic_template_expand
Jul 4 22:31:52 orion esmith::event[10946]: expanding /etc/dar/DailyBackup.dcf
Jul 4 22:31:52 orion esmith::event[10946]:
generic_template_expand=action|Event|pre-backup|Action|generic_template_expand|Start|1499200312
75159|End|1499200312 546280|Elapsed|0.471121
Jul 4 22:31:52 orion esmith::event[10946]: Running event handler:
/etc/e-smith/events/pre-backup/S10mysql-delete-dumped-tables
Jul 4 22:31:52 orion esmith::event[10946]:
S10mysql-delete-dumped-tables=action|Event|pre-backup|Action|S10mysql-delete-dumped-tables|Start|1499200312
546773|End|1499200312 627627|Elapsed|0.080854
Jul 4 22:31:52 orion esmith::event[10946]: Running event handler:
/etc/e-smith/events/pre-backup/S20mysql-dump-tables
Jul 4 22:31:54 orion esmith::event[10946]:
S20mysql-dump-tables=action|Event|pre-backup|Action|S20mysql-dump-tables|Start|1499200312
628224|End|1499200314 266078|Elapsed|1.637854
Jul 4 22:31:54 orion esmith::event[10946]: Running event handler:
/etc/e-smith/events/pre-backup/S30ldap-dump
Jul 4 22:31:54 orion esmith::event[10946]: 595bfb3a bdb_monitor_db_open:
monitoring disabled; configure monitor database to enable
Jul 4 22:31:54 orion esmith::event[10946]:
S30ldap-dump=action|Event|pre-backup|Action|S30ldap-dump|Start|1499200314
266672|End|1499200314 893827|Elapsed|0.627155
Jul 4 22:31:54 orion esmith::event[10946]: Running event handler:
/etc/e-smith/events/pre-backup/S50rewind-tape
Jul 4 22:31:55 orion esmith::event[10946]:
S50rewind-tape=action|Event|pre-backup|Action|S50rewind-tape|Start|1499200314
894328|End|1499200315 10884|Elapsed|0.116556
# ls -l /home/e-smith/db/mysql
insgesamt 716
-rw-r--r-- 1 root root 125601 4. Jul 22:31 horde.dump
-rw-r--r-- 1 root root 302708 4. Jul 22:31 information_schema.dump
-rw-r--r-- 1 root root 260118 4. Jul 22:31 mysql.dump
-rw-r--r-- 1 root root 12974 4. Jul 22:31 phpmyadmin.dump
-rw-r--r-- 1 root root 13942 4. Jul 22:31 sme7admin.dump
-rw-r--r-- 1 root root 1393 4. Jul 22:31 test.dump
-rw-r--r-- 1 root root 1399 4. Jul 22:31 zarafa.dump
#less horde.dump
-- Dump completed on 2017-07-04 22:31:53
On the prod-box:
#mysql
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| horde |
| mailstats |
| mysql |
| phpmyadmin |
| smeoptimizer |
| test |
+--------------------+
7 rows in set (0.00 sec)
Back to affa and the dumps: there's no (more) zarafa table in the database.
Where does this come from?
It seems that invoking manually the pre-backup is dumping tables. Why zarafa is
dumped, I don't know. I deleted that one a long time ago. And why the dump
seems not to work automatically/scheduled and affa reports success, I don't
know either.
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/