Incorrect backup status reported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am using following command to take a full DB backup
innobackupex --defaults-
The log message is :
170614 10:58:19 innobackupex: Starting the backup operation
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
170614 10:58:19 version_check Connecting to MySQL server with DSN 'dbi:mysql:
170614 10:58:19 version_check Connected to MySQL server
170614 10:58:19 version_check Executing a version check against the server...
170614 10:58:19 version_check Done.
170614 10:58:19 Connecting to MySQL server host: localhost, user: bkpusr, password: set, port: 3306, socket: /u01/mysql06/
Using server version 5.7.18-log
innobackupex version 2.4.7 based on MySQL server 5.7.13 Linux (x86_64) (revision id: 05f1fcf)
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /u01/mysql06/
xtrabackup: open files limit requested 65535, set to 65535
xtrabackup: using the following InnoDB configuration:
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: using O_DIRECT
InnoDB: Number of pools: 1
InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to the directory.
InnoDB: Error in opening ./ib_logfile0
innobackupex: completed OK!
Even though the backup fails because of file permission, the backup is reported as completed successfully with "innobackupex: completed OK!" message in the end.
As per the documentation at https:/
Can you please share my.cnf contents and backup-my.cnf file contents from backup directory.