Good evening,
Since one week ago, I made some regular software update from the software center.
Then i received some mail when my backup-data task failed to start.
So I read the /var/log/messages and found this:
Jan 16 14:26:18 mail esmith::event[17515]: ===== Report for configuration backup =====
Jan 16 14:26:18 mail esmith::event[17515]: Backup started at 2021-01-16 14:26:18
Jan 16 14:26:18 mail esmith::event[17608]: Event: pre-backup-config
Jan 16 14:26:18 mail esmith::event[17608]: expanding /etc/backup-config.d/nethserver-sssd.include
Jan 16 14:26:18 mail esmith::event[17608]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.12535]
Jan 16 14:26:18 mail esmith::event[17608]: Action: /etc/e-smith/events/pre-backup-config/S20nethserver-directory-dump-ldap SUCCESS [0.046609]
Jan 16 14:26:18 mail esmith::event[17608]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-mail-shrmbx-cfgbackup SUCCESS [0.011668]
Jan 16 14:26:18 mail esmith::event[17608]: Action: /etc/e-smith/events/pre-backup-config/S40nethserver-sssd-backup-tdb SUCCESS [0.003177]
Jan 16 14:26:20 mail esmith::event[17608]: Action: /etc/e-smith/events/pre-backup-config/S50nethserver-backup-config-list-packages SUCCESS [2.088627]
Jan 16 14:26:20 mail esmith::event[17608]: Event: pre-backup-config SUCCESS
Jan 16 14:26:20 mail esmith::event[17515]: Event pre-backup-config: SUCCESS
Jan 16 14:26:21 mail esmith::event[17515]: Action backup-config-execute: SUCCESS
Jan 16 14:26:21 mail esmith::event[18433]: Event: post-backup-config
Jan 16 14:26:21 mail esmith::event[18433]: Event: post-backup-config SUCCESS
Jan 16 14:26:21 mail esmith::event[17515]: Event post-backup-config: SUCCESS
Jan 16 14:26:21 mail esmith::event[17515]: Backup status: SUCCESS
Jan 16 14:26:21 mail esmith::event[17515]: Backup ended at 2021-01-16 14:26:21
Jan 16 14:26:21 mail esmith::event[17515]: Time elapsed: 0 hours, 0 minutes, 3 seconds
Jan 16 14:26:21 mail esmith::event[17515]: Action: /etc/e-smith/events/pre-backup-data/S20nethserver-backup-config-predatabackup SUCCESS [3.087426]
Jan 16 14:26:22 mail esmith::event[17515]: mysqldump: Error 2013: Lost connection to MySQL server during query when dumping tablesogo_cache_folder_marino_D_gentile
at row: 96
Jan 16 14:26:22 mail esmith::event[17515]: Action: /etc/e-smith/events/pre-backup-data/S50mysql-dump-tables FAILED: 1 [1.325041]
Jan 16 14:26:22 mail esmith::event[17515]: Action: /etc/e-smith/events/pre-backup-data/S80nethserver-sogo-backup-users SUCCESS [0.229221]
Jan 16 14:26:22 mail esmith::event[17515]: Event: pre-backup-data FAILED
Jan 16 14:26:29 mail systemd: cockpit-backup-data-backup-data.service: main process exited, code=exited, status=1/FAILURE
Jan 16 14:26:29 mail systemd: Unit cockpit-backup-data-backup-data.service entered failed state.
Jan 16 14:26:29 mail systemd: cockpit-backup-data-backup-data.service failed.
Searching on the net, I tried to make a manual mysqldump and some command to repair and optimize the tables, but I always have this error:
mysqldump: Error 2013: Lost connection to MySQL server…
Can I drop and re-create that table in a secure way? It can affect the user mailbox? I use SOGo for ActiveSync mail service
Thank you