Code review comment for lp:~sergei.glushchenko/percona-xtrabackup/bug489290_targetdir_rel_pwd

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :

Fix for bug #489290.
Bug description:
 ./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
Suggested fix is to use my_load_path for target-dir value before changing working directory. Some code in innobackupex rely on this behaviour (--stream mode) so it was changed too.

new Jenkins build:
http://jenkins.percona.com/view/Percona%20Xtrabackup/job/percona-xtrabackup-param/115/

« Back to merge proposal