Hi,
We use the innobackupex tool to backup a couple of databases:
/usr/bin/innobackupex --defaults-file=/etc/my.cnf --user=root --password=xxxx --tables-file /backup/tables /backup/MySQL
The tables file contains a list of tables such as:
adb-name.tbl1
adb-name.tbl2
adb-name.tbl3
Unfortunately all we get in the backup output is:
backup-my.cnf ibdata1 ibdata2 xtrabackup_binary xtrabackup_binlog_info xtrabackup_checkpoints xtrabackup_logfile
nothing for adb-name. We think this is down to the actual DB name, as MySQL stores it on disk as:
adb@002name
So whilst MySQL can deal with it, it doesn’t look like XtraBackup can.
For reasons that are out of our control, we can’t just dump the DB and restore it to a new name.
Thanks,