xtrabackup defaults to MySQL's datadir as it's target-dir

Bug #489290 reported by Ryan Lowe on 2009-11-27
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Sergei Glushchenko
Won't Fix
Fix Released
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_backupfiles. ugh. I think a saner default might be to choose `cwd` as the default when invoked from the shell.

Related branches

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
Stewart Smith (stewart) wrote :

Alexey, what is the status of this bug? Any chance getting to it soon?

Changed in percona-xtrabackup:
importance: High → Medium
Alexey Kopytov (akopytov) wrote :

Too much on my plate currently, so no, not any time soon unless the priority is raised.

Stewart Smith (stewart) wrote :

no worries - will leave unassigned so we can see if somebody else can get to it.

Changed in percona-xtrabackup:
assignee: Alexey Kopytov (akopytov) → nobody
Stewart Smith (stewart) on 2011-06-02
Changed in percona-xtrabackup:
milestone: 1.7.0beta1 → 1.7.0
Stewart Smith (stewart) wrote :

fix will be to make a target directory a required option.

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-538

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers