It appears the v4.0.1 mysqlhotcopy perl script has been modified and broken.
When using cp for the backup it's passing a null value for the file(s) to be
copied. Below is a session clipping of an execution with --debug turned on:
------------------------------------------------------------
# /u02/mysql/mysql-4.0.1/bin/mysqlhotcopy test_myisam --allowold --debug
Using copy suffix '_copy'
Filtering tables with '(?-xism:.*)'
$VAR1 = [
{
'tables' => [
'test_myisam.incidents'
],
't_regex' => '.*',
'src' => 'test_myisam',
'raid_dirs' => [],
'index' => [],
'files' => [
'incidents.MYD',
'incidents.MYI',
'incidents.frm'
],
'target' => '/u02/mysql/data/test_myisam_copy'
}
];
Existing hotcopy directory renamed to '/u02/mysql/data/test_myisam_copy_old'
Locked 1 tables in 0 seconds.
Flushed tables (test_myisam.incidents) in 0 seconds.
Copying 3 files...
Executing 'cp -p /u02/mysql/data/test_myisam_copy'
cp: missing destination file
Try `cp --help' for more information.
Burp ('scuse me). Trying backtick execution...
cp: missing destination file
Try `cp --help' for more information.
Copying indices for 0 files...
Unlocked tables.
Deleting previous copy in /u02/mysql/data/test_myisam_copy_old
mysqlhotcopy copied 1 tables (3 files) in 0 seconds (0 seconds overall).
------------------------------------------------------------
Any fixes for this?
Steve Orr
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php