Wrong placement of xtrabackup_suspended and xtrabackup_checkpoint
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
1.6 |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
2.0 |
Fix Released
|
Medium
|
Sergei Glushchenko |
Bug Description
Reporting the comment #3 from bug #576286 as a separate bug:
Daniel Harvey wrote on 2010-07-28: #3
There is however a problem with the placement by the script of xtrabackup_
When I call
innobackupex-1.5.1 --stream=tar --defaults-
this file is placed in /var/lib/
Note that the my.cnf file does not overwrite the default MySQL datadir.
Sample output illustrating this:
<snip/>
innobackupex-1.5.1: Using mysql Ver 14.12 Distrib 5.0.75, for debian-linux-gnu (x86_64) using readline 5.2
innobackupex-1.5.1: Using mysql server version Copyright (C) 2000-2008 MySQL AB
innobackupex-1.5.1: Created backup directory /home/xxx/
100728 12:46:51 innobackupex-1.5.1: Starting mysql with options: --defaults-
100728 12:46:51 innobackupex-1.5.1: Connected to database with mysql child process (pid=4522)
100728 12:46:59 innobackupex-1.5.1: Connection to database server closed
100728 12:46:59 innobackupex-1.5.1: Starting mysql with options: --defaults-
100728 12:46:59 innobackupex-1.5.1: Connected to database with mysql child process (pid=4726)
100728 12:47:03 innobackupex-1.5.1: Connection to database server closed
100728 12:47:03 innobackupex-1.5.1: Starting ibbackup with command: xtrabackup_50 --defaults-
innobackupex-1.5.1: Waiting for ibbackup (pid=4830) to suspend
innobackupex-1.5.1: Suspend file '/var/lib/
xtrabackup: suspend-at-end is enabled.
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /var/lib/mysql
xtrabackup: Target instance is assumed as followings.
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: Stream mode.
>> log scanned up to (0 95790)
100728 12:47:03 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name .//xtrabackup_
InnoDB: File operation call: 'open'.
xtrabackup: Error: failed to create file 'xtrabackup_
xtrabackup: The latest check point (for incremental): '0:95790'
xtrabackup: Error: cannot open .//xtrabackup_
xtrabackup: error: xtrabackup_
>> log scanned up to (0 95790)
xtrabackup: Transaction log of lsn (0 95790) to (0 95790) was copied.
innobackupex-1.5.1: Error: ibbackup child process has died at /usr/bin/
Related branches
- Alexey Kopytov (community): Needs Fixing
- Stewart Smith: Pending requested
-
Diff: 77 lines (+30/-6)3 files modifiedinnobackupex (+6/-6)
test/t/xb_perm_basic.sh (+11/-0)
test/t/xb_perm_stream.sh (+13/-0)
- Alexey Kopytov (community): Approve
-
Diff: 75 lines (+28/-6)3 files modifiedinnobackupex (+6/-6)
test/t/xb_perm_basic.sh (+10/-0)
test/t/xb_perm_stream.sh (+12/-0)
- Alexey Kopytov (community): Approve
-
Diff: 75 lines (+28/-6)3 files modifiedinnobackupex (+6/-6)
test/t/xb_perm_basic.sh (+10/-0)
test/t/xb_perm_stream.sh (+12/-0)
Changed in percona-xtrabackup: | |
assignee: | nobody → Alexey Kopytov (akopytov) |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → 1.6 |
Changed in percona-xtrabackup: | |
status: | Confirmed → New |
assignee: | Alexey Kopytov (akopytov) → Valentine Gostev (core-longbow) |
Changed in percona-xtrabackup: | |
milestone: | 1.6 → 1.7 |
Changed in percona-xtrabackup: | |
status: | Confirmed → In Progress |
Note that I also proposed a patch:
https:/ /bugs.launchpad .net/percona- xtrabackup/ +bug/576286/ +attachment/ 1470319/ +files/ innobackupex- 1.5.1-fix_ streaming. patch