incremental backup fails with relative path / xtrabackup doesn't expand tilde
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
2.3 |
Fix Released
|
Medium
|
Sergei Glushchenko | |||
2.4 |
Fix Released
|
Medium
|
Sergei Glushchenko |
Bug Description
When using relative path with incremental backup. Xtrabackup fails to read xtrabackup_
# xtrabackup --version
xtrabackup version 2.2.13 based on MySQL server 5.6.24 Linux (x86_64) (revision id: 70f4be3)
FULL BACKUP:
# innobackupex --no-timestamp backup/full/
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona LLC and/or its affiliates 2009-2013. All Rights Reserved.
.
.
innobackupex: Using server version 5.6.29-76.2
.
.
innobackupex: Backup created in directory '/root/backup/full'
161118 11:16:11 innobackupex: Connection to database server closed
161118 11:16:11 innobackupex: completed OK!
INCREMENTAL BACKUP:
# innobackupex --no-timestamp --incremental ~/backup/inc_1 --incremental-
.
.
innobackupex: Using server version 5.6.29-76.2
innobackupex: Created backup directory /root/backup/inc_1
161118 11:26:20 innobackupex: Starting ibbackup with command: xtrabackup --defaults-
innobackupex: Waiting for ibbackup (pid=1802) to suspend
innobackupex: Suspend file '/root/
xtrabackup: Error: cannot open ~/backup/
xtrabackup: error: failed to read metadata from ~/backup/
innobackupex: got a fatal error with the following stacktrace: at /usr/bin/
main::
main::
main::backup() called at /usr/bin/
innobackupex: Error: The xtrabackup child process has died at /usr/bin/
As soon as I use absolute path i.e. /root/backup/inc1/ for --incremental and /root/backup/full/ for --incremental-
tags: | added: i151074 |
Changed in percona-xtrabackup: | |
status: | New → Confirmed |
summary: |
- incremental backup fails with relative path + incremental backup fails with relative path / xtrabackup doesn't expand + tilde |
Looks like path expansion doesn't work?
https:/ /www.gnu. org/software/ bash/manual/ html_node/ Tilde-Expansion .html