As you know, the best way to perform logical dump for MySQL is to
use MySQL Shell Dump & Load utilities. This is the most powerful
option as it can dump and load in parallel (it also include many
options to migrate to MDS very easily and supports OCI Object
Store too).
One of the main question I receive related to MySQL Shell utility
is related to the use of MySQL Shell in non-interactive mode with
parameters requiring arrays.
What does that mean ?
For example if you want to dump a MySQL instance but you want to
exclude some tables, you have an option called
excludeSchemas and it expect an array of strings
with the list of schemas you want to exclude in the dumb.
In interactive mode, this is how we use it:
JS> util.dumpInstance("/tmp/dump", {excludeSchemas:
["mysql_innodb_cluster_metadata", "fred_test"],
threads: 8, showProgress: true})
However this notation is not …
[Read more]