We've added some new options in MySQL Cluster 6.3.22 which makes it possible
to selectively restore tables. The new options for ndb_restore
are:
--include-databases=name
Comma separated list of databases to restore.
Example: db1,db3
--exclude-databases=name
Comma separated list of databases to not restore.
Example: db1,db3
--include-tables=name
Comma separated list of tables to restore. Table name
should include database name. Example: db1.t1,db3.t1
--exclude-tables=name
Comma separated list of tables to not restore. Table name
should include database name. Example: db1.t1,db3.t1
To demonstrate in a few examples, lets assume you have the
following tables:
[Read more]
mysql> SELECT …