Feature Request: Add --defaults-extra-file param to innobackupex
Bug #740489 reported by
Mike Benshoof
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Wishlist
|
George Ormond Lorch III | ||
2.0 |
Fix Released
|
Wishlist
|
George Ormond Lorch III | ||
2.1 |
Fix Released
|
Wishlist
|
George Ormond Lorch III |
Bug Description
This is a fairly simple feature that I have added to the innobackupex script to allow me to pass an extra client my.cnf file to the xtrabackup. Since xtrabackup accepts that param and can use it for the connection part of the dump process, it is much easier to keep a 700 copy of my admin user credentials and pass that rather than have to hard code the user/pass.
There may be another or a better way to accomplish this, just seemed logical and only took a few minutes to change.
Related branches
lp:~gl-az/percona-xtrabackup/2.0-bug740489
- Alexey Kopytov (community): Approve
- Sergei Glushchenko: Pending (g2) requested
-
Diff: 154 lines (+77/-2)3 files modifiedinnobackupex (+28/-0)
test/inc/common.sh (+3/-2)
test/t/bug740489.sh (+46/-0)
lp:~gl-az/percona-xtrabackup/2.1-bug740489
- Alexey Kopytov (community): Approve
- Sergei Glushchenko: Pending (g2) requested
-
Diff: 154 lines (+77/-2)3 files modifiedinnobackupex (+28/-0)
test/inc/common.sh (+3/-2)
test/t/bug740489.sh (+46/-0)
tags: | added: fr |
Changed in percona-xtrabackup: | |
importance: | Undecided → Wishlist |
Changed in percona-xtrabackup: | |
status: | Confirmed → Triaged |
tags: | added: low-hanging-fruit |
tags: | added: contribution |
To post a comment you must log in.
Mike,
What if you place credentials into the [xtrabackup] section of
$HOME/.my.cnf for the user who is running xtrabackup? Does that
accomplish the same thing?