Comment 2 for bug 1169726

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

The copy_back routine construct regexp to skip files. It looks like ^(pattern1|...|patternN)$. Among the others one of the patterns will look like 'test_table.MYD'. This patent then is used to filter out the output of File::find inside the callback. Variables which passed inside callback are:

$File::Find::dir = /some/path/
$_ = foo.ext
$File::Find::name = /some/path/foo.ext

Matching is performed against $_, which means that files which are named same as system system tablespace will not be restored from backup.