[PXB-775] LP #1642826: incremental backup fails with relative path / xtrabackup doesn't expand tilde Created: 19/Jan/18 Updated: 19/Jan/18 Resolved: 19/Jan/18 |
|
Status: |
Done |
Project: |
|
Component/s: |
None |
Affects Version/s: |
None |
Fix Version/s: |
None |
Type: |
Bug |
Priority: |
High |
Reporter: |
Assignee: |
Unassigned |
|
Resolution: |
Fixed |
Votes: |
0 |
migratedfromlp |
|||
Remaining Estimate: |
Not Specified |
||
Time Spent: |
Not Specified |
||
Original Estimate: |
Not Specified |
Description |
|
**Reported in Launchpad by Muhammad Irfan last update 17-12-2016 10:32:30 When using relative path with incremental backup. Xtrabackup fails to read xtrabackup_checkpoint file and it exit with error. That's how I reproduced it. xtrabackup --version FULL BACKUP: innobackupex --no-timestamp backup/full/ InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009
Innobase Oy INCREMENTAL BACKUP: innobackupex --no-timestamp --incremental /backup/inc_1
--incremental-basedir=/backup/full innobackupex: Created backup directory /root/backup/inc_1 161118 11:26:20 innobackupex: Starting ibbackup with command:
xtrabackup --defaults-group="mysqld" --backup
--suspend-at-end --target-dir=/root/backup/inc_1
--innodb_log_file_size="50331648"
--innodb_data_file_path="ibdata1:12M:autoextend"
--tmpdir=/tmp --extra-lsndir='/tmp'
--incremental-basedir='~/backup/full'
--suspend-at-start xtrabackup: Error: cannot open
~/backup/full/xtrabackup_checkpoints As soon as I use absolute path i.e. /root/backup/inc1/ for --incremental and /root/backup/full/ for --incremental-basedir options for incremental backup it completes without any errors.
|
Comments |
|
Comment by lpjirasync (Inactive) [ 19/Jan/18 ] |
**Comment from Launchpad by: Sergei Glushchenko on: 09-12-2016 09:48:38 Looks like path expansion doesn't work? https://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html |
Comment by lpjirasync (Inactive) [ 19/Jan/18 ] |
**Comment from Launchpad by: Sergei Glushchenko on: 12-12-2016 05:52:48 https://github.com/percona/percona-xtrabackup/pull/297 |
Generated at Fri Nov 05 16:47:03 UTC 2021 using Jira 8.13.13#813013-sha1:3ab5fbe7b6c572b1ee4ccec98a9f447334884e00.
Tags: 1642826, relative, fails, backup, [pxb775], incremental