← Back to team overview

percona-discussion team mailing list archive

Re: [Bug 357653] Re: innobackupex-1.5.1 --copy-back fails

 

MarkD,

Thanks for testing, we will look into....


Unfortunately we are not available on freenode, it's OK to communicate
there.



MarkD wrote:
> innobackupex: Copying file '/mysql/backup/2009-04-08_10-24-32/ibdata1'
> 
> innobackupex: Starting to copy InnoDB tables and indexes
> innobackupex: in '/mysql/backup/2009-04-08_10-24-32'
> innobackupex: back to original InnoDB data directory '/'
> innobackupex: Copying file '/mysql/backup/2009-04-08_10-24-32//ibdata1'
> 
> innobackupex: Starting to copy InnoDB log files
> innobackupex: in '/mysql/backup/2009-04-08_10-24-32'
> innobackupex: back to original InnoDB log directory '/mysql/logs'
> innobackupex: Copying file '/mysql/backup/2009-04-08_10-24-32/ib_logfile1'
> innobackupex: Copying file '/mysql/backup/2009-04-08_10-24-32/ib_logfile0'
> innobackupex: Finished copying back files.
> 
> --------------------------
> 
> @@ -605,6 +605,8 @@
>      # make a list of all ibdata files in the backup directory and all
>      # directories in the backup directory under which there are ibdata files
>      foreach my $a (split(/;/, $orig_innodb_data_file_path)) {
> +
> +       $a =~ s/^$orig_datadir//;
>          my $path = (split(/:/,$a))[0];
>          my $filename = (split(/\/+/, $path))[0];
> 
> @@ -671,6 +673,7 @@
>      print STDERR "$prefix in '$backup_dir'\n";
>      print STDERR "$prefix back to original InnoDB data directory '$orig_ibdata_dir'\n";
>      foreach my $a (split(/;/, $orig_innodb_data_file_path)) {
> +       $a =~ s/$orig_datadir//;
>          # get the relative pathname of a data file
>          my $path = (split(/:/,$a))[0];
>          print STDERR "$prefix Copying file '$backup_dir/$path'\n";
> ------------------
> 
> Sorry for update-"spam". Are you guys contactable on freenode or
> something?
> 


-- 
Vadim Tkachenko, CTO
Percona Inc.
ICQ: 369-510-335, Skype: vadimtk153, Phone +1-888-401-3403
MySQL Performance Blog - http://www.mysqlperformanceblog.com
MySQL Consulting http://www.percona.com/

  Attend the 2009 Percona Performance Conference
  April 22-23 - http://conferences.percona.com/



References