The innobackupex tool is part of Percona XtraBackup. I work for Percona and I have developed training on Percona XtraBackup.
There are options for innobackupex to back up specific databases by name or by a regular expression. @YaK gives one option, or you can see other options here: http://www.percona.com/doc/percona-xtrabackup/innobackupex/partial_backups_innobackupex.html
However, --copy-back
assumes you're restoring a full backup to an empty datadir. I.e. if the destination directory is not empty, --copy-back
will give an error and refuse to overwrite files.
If you are trying to restore InnoDB tables to an instance where you already have a mysql
database, you'll have to do the restore manually. This can be as simple as using mv
of the files into your existing datadir (with the MySQL server shut down of course). Also remember to use chown mysql:mysql
on the files before you start mysqld.
PS: You don't need to use --redo-only
before you restore. That option is for doing incremental backups, and even then you'd skip that option before you do the final restore.