Hello,
I’m encountering intermittent file size mismatch errors during restore operations with Bacula. The error message is as follows:
• Error: attribs.c:614 File size of restored file /var/log/mysql/mysql-bin.000115 not correct. Original 91146521, restored 91165346.
• Error: attribs.c:614 File size of restored file /var/log/syslog not correct. Original 14576827, restored 14577192.
Environment:
• Architecture: Centralized backup system with one main server (Director, Storage Daemon, and Catalog) managing backups for multiple client servers (File Daemons).
• Restore Process: Restores are performed to a local directory on the central backup server.
• Storage: Sufficient disk space is available on the restore target.
• Network: No connectivity issues observed; restores are local to the central server.
Observations:
• The issue occurs with several client servers but not all.
• Backup jobs complete without errors; discrepancies are only noted during restore.
Questions:
1. What causes these file size mismatch errors during restore?
2. How can I prevent or handle these errors effectively?
3. Are there best practices for backing up files that are actively written to, like logs or database binaries?
Thanks