4 messages in com.mysql.lists.mysqlRe: mysqlhotcopy
FromSent OnAttachments
Peter23 Feb 2006 23:19 
Peter23 Feb 2006 23:45 
Imran Chaudhry24 Feb 2006 01:42 
Peter24 Feb 2006 02:20 
Subject:Re: mysqlhotcopy
From:Peter (pete@aboutsupport.com)
Date:02/23/2006 11:45:46 PM
List:com.mysql.lists.mysql

solved :)

Thanks :-)

Hello,

I read the manual(http://dev.mysql.com/doc/refman/5.0/en/mysqlhotcopy.html) and especially:

" Back up tables in the given database that match a regular expression:

shell> mysqlhotcopy db_name./regex/

The regular expression for the table name can be negated by prefixing it with a tilde (‘~’):

shell> mysqlhotcopy db_name./~regex/ "

I want to backup all my tables except two -'rtt' and 'expirations'.

I use /usr/local/bin/mysqlhotcopy -p mypass --allowold mydb./~expirations/~rtt/ /var/backups/mysqlbackup/$1

However for some reason mysqlhotcopy do NOT skip tables 'rtt' and 'expirations'.

Please give me an idea what is wrong. Thanks :-))

Kind regards,