Able to reproduce the same issue with Xtrabackup 2.1.9 and 2.2.3. Surprisingly, Xtrabackup 2.1.9 is not even giving error that dir doesn't exist.
Found an .isl file for /home/nilnandan/backup/2014-07-08_14-56-26/test/sales_figures#P#US_DATA.ibd
Using /tmp/tb1/test/sales_figures#P#US_DATA.ibd as the destination path
innobackupex: Copying '/home/nilnandan/backup/2014-07-08_14-56-26/test/sales_figures#P#US_DATA.ibd' to '/tmp/tb1/test/sales_figures#P#US_DATA.ibd'
innobackupex: Error: copy failed: No such file or directory at /usr/bin/innobackupex line 2191.
And yes, if dir are already there, it copies files.
innobackupex: Copying '/home/nilnandan/backup/2014-07-08_14-56-26/test/nil_test.frm' to '/var/lib/mysql/test/nil_test.frm'
Found an .isl file for /home/nilnandan/backup/2014-07-08_14-56-26/test/sales_figures#P#US_DATA.ibd
Using /tmp/tb1/test/sales_figures#P#US_DATA.ibd as the destination path
innobackupex: Copying '/home/nilnandan/backup/2014-07-08_14-56-26/test/sales_figures#P#US_DATA.ibd' to '/tmp/tb1/test/sales_figures#P#US_DATA.ibd'
Found an .isl file for /home/nilnandan/backup/2014-07-08_14-56-26/test/sales_figures#P#EU_DATA.ibd
Using /tmp/tb2/test/sales_figures#P#EU_DATA.ibd as the destination path
innobackupex: Copying '/home/nilnandan/backup/2014-07-08_14-56-26/test/sales_figures#P#EU_DATA.ibd' to '/tmp/tb2/test/sales_figures#P#EU_DATA.ibd'
innobackupex: Copying '/home/nilnandan/backup/2014-07-08_14-56-26/test/nil_test.ibd' to '/var/lib/mysql/test/nil_test.ibd'
...
innobackupex: Starting to copy InnoDB log files
innobackupex: in '/home/nilnandan/backup/2014-07-08_14-56-26'
innobackupex: back to original InnoDB log directory '/var/lib/mysql'
innobackupex: Finished copying back files.
Able to reproduce the same issue with Xtrabackup 2.1.9 and 2.2.3. Surprisingly, Xtrabackup 2.1.9 is not even giving error that dir doesn't exist.
Found an .isl file for /home/nilnandan /backup/ 2014-07- 08_14-56- 26/test/ sales_figures# P#US_DATA. ibd test/sales_ figures# P#US_DATA. ibd as the destination path nilnandan/ backup/ 2014-07- 08_14-56- 26/test/ sales_figures# P#US_DATA. ibd' to '/tmp/tb1/ test/sales_ figures# P#US_DATA. ibd' innobackupex line 2191.
Using /tmp/tb1/
innobackupex: Copying '/home/
innobackupex: Error: copy failed: No such file or directory at /usr/bin/
And yes, if dir are already there, it copies files.
innobackupex: Copying '/home/ nilnandan/ backup/ 2014-07- 08_14-56- 26/test/ nil_test. frm' to '/var/lib/ mysql/test/ nil_test. frm' /backup/ 2014-07- 08_14-56- 26/test/ sales_figures# P#US_DATA. ibd test/sales_ figures# P#US_DATA. ibd as the destination path nilnandan/ backup/ 2014-07- 08_14-56- 26/test/ sales_figures# P#US_DATA. ibd' to '/tmp/tb1/ test/sales_ figures# P#US_DATA. ibd' /backup/ 2014-07- 08_14-56- 26/test/ sales_figures# P#EU_DATA. ibd test/sales_ figures# P#EU_DATA. ibd as the destination path nilnandan/ backup/ 2014-07- 08_14-56- 26/test/ sales_figures# P#EU_DATA. ibd' to '/tmp/tb2/ test/sales_ figures# P#EU_DATA. ibd' nilnandan/ backup/ 2014-07- 08_14-56- 26/test/ nil_test. ibd' to '/var/lib/ mysql/test/ nil_test. ibd' nilnandan/ backup/ 2014-07- 08_14-56- 26'
Found an .isl file for /home/nilnandan
Using /tmp/tb1/
innobackupex: Copying '/home/
Found an .isl file for /home/nilnandan
Using /tmp/tb2/
innobackupex: Copying '/home/
innobackupex: Copying '/home/
...
innobackupex: Starting to copy InnoDB log files
innobackupex: in '/home/
innobackupex: back to original InnoDB log directory '/var/lib/mysql'
innobackupex: Finished copying back files.
140708 15:01:51 innobackupex: completed OK! Dell-XPS: /var/lib/ mysql#
root@nilnandan-