xtrabackup defaults to MySQL's datadir as it's target-dir
Bug #489290 reported by
Ryan Lowe
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
1.6 |
Won't Fix
|
Medium
|
Unassigned | ||
2.0 |
Fix Released
|
Medium
|
Sergei Glushchenko |
Bug Description
If I invoke xtrabackup as follows:
xtrabackup --backup
(without target-dir)
The target dir becomes the same as datadir (/var/lib/mysql, in this case). This is quite possibly the *WORST* choice for a backup target directory. Now I have a database named xtrabackup_
Related branches
lp://staging/~sergei.glushchenko/percona-xtrabackup/bug489290_targetdir_rel_pwd
Rejected
for merging
into
lp://staging/percona-xtrabackup/2.0
- 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)
lp://staging/~sergei.glushchenko/percona-xtrabackup/bug489290_targetdir
- Alexey Kopytov (community): Approve
-
Diff: 71 lines (+32/-2)4 files modifieddoc/source/xtrabackup_bin/creating_a_backup.rst (+1/-1)
doc/source/xtrabackup_bin/xbk_option_reference.rst (+1/-1)
src/xtrabackup.c (+4/-0)
test/t/bug489290.sh (+26/-0)
Changed in percona-xtrabackup: | |
milestone: | none → release-1.2 |
assignee: | nobody → Aleksandr Kuzminsky (akuzminsky) |
Changed in percona-xtrabackup: | |
milestone: | 1.2 → 1.3.1 |
Changed in percona-xtrabackup: | |
status: | New → Confirmed |
assignee: | Aleksandr Kuzminsky (akuzminsky) → nobody |
importance: | Undecided → High |
milestone: | 1.3.1 → 1.6 |
assignee: | nobody → Vadim Tkachenko (vadim-tk) |
Changed in percona-xtrabackup: | |
assignee: | Vadim Tkachenko (vadim-tk) → Sergey Kopytov (sergey-kopytov) |
assignee: | Sergey Kopytov (sergey-kopytov) → nobody |
assignee: | nobody → Alexey Kopytov (akopytov) |
status: | Confirmed → Triaged |
Changed in percona-xtrabackup: | |
milestone: | 1.6 → 1.7 |
Changed in percona-xtrabackup: | |
milestone: | 1.7.0beta1 → 1.7.0 |
To post a comment you must log in.
Alexey, what is the status of this bug? Any chance getting to it soon?