lp://qastaging/~sergei.glushchenko/percona-xtrabackup/bug489290_targetdir_rel_pwd
Created by
Sergei Glushchenko
and last modified
- Get this branch:
- bzr branch lp://qastaging/~sergei.glushchenko/percona-xtrabackup/bug489290_targetdir_rel_pwd
Only
Sergei Glushchenko
can upload to this branch. If you are
Sergei Glushchenko
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Alexey Kopytov (community): Needs Information
-
Diff: 235 lines (+153/-7)6 files modifieddoc/source/xtrabackup_bin/creating_a_backup.rst (+1/-1)
doc/source/xtrabackup_bin/xbk_option_reference.rst (+1/-1)
innobackupex (+5/-5)
kewpie/percona_tests/xtrabackup_main/bug489290_test.py (+90/-0)
test/t/bug489290.sh (+42/-0)
xtrabackup.c (+14/-0)
Related bugs
Bug #489290: xtrabackup defaults to MySQL's datadir as it's target-dir | Medium | Fix Released |
|
Related blueprints
Branch information
- Owner:
- Sergei Glushchenko
- Status:
- Development
Recent revisions
- 390. By Sergei Glushchenko
-
Bug 489290:
./xtrabackup --backup
creates database "xtrabackup_backupfiles" .
The reasons are following:
1. Default value for target-dir option is "./xtrabackup_backupfiles/ "
2. xtrabackup changes current working directory to datadir when backup option is specified
Solution is to use my_load_path to expand target-dir value before changing working directory.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/percona-xtrabackup/2.0