SymptomsPBAS backup with the hspc-mn-backup utility fails with the following error:
/bin/tar: /var/lib/mysql/ibdata1: file changed as we read it
/bin/tar: /var/lib/mysql/ibdata3: file changed as we read it
/bin/tar: /var/lib/mysql/ibdata2: file changed as we read it
CauseThis error appears if the hspc-mn-backup utility is executed with the '--no-pre' or '-p' options. With this option backup utility does not perform pre-backup actions. Pre-backup actions include temporary shutting down of some services, including MySQL. If you omit pre-backup actions, the MySQL service is not being stopped prior to the hspc-mn-backup utility execution and MySQL database files /var/lib/mysql/ibdata* are being changed during the backup or migration procedure causing the latter to fail.
ResolutionRun the hspc-mn-backup utility without the '--no-pre' or '-p' options. In this case the utility will stop the MySQL service automatically.
Please note that it is recommended to schedule a maintenance window for that for PBAS will not be operable during the procedure which can take hours to complete.