Hi,
I am trying to export the data from a subset of my tables into individual csv files. I would like to exclude all tables beginning with batch (e.g. batch_execution, batch_job etc).
I am using the following from command line:
mysqldbexport --exclude="batch%" --server=myhost:3306 --export=data --file-per-table --format=csv --no-headers --locking=snapshot mydb
This does not however exclude the tables starting with "batch"
I tried several values with the –exclude / -x options
e.g.
--exclude=b%
--exclude=mydb.b%
--exclude=b%
--exclude=B%
--exclude=batch_execution
-x b%
-x BATCH%
etc.
Can anyone suggest what I'm doing wrong here?
Thanks,
Eoin.
Versions:
Client OS Ubuntu: 14.04
MySQL Utilities mysqldbexport version 1.5.4
mysqld 5.6.19-log hosted on AWS RDS
I am trying to export the data from a subset of my tables into individual csv files. I would like to exclude all tables beginning with batch (e.g. batch_execution, batch_job etc).
I am using the following from command line:
mysqldbexport --exclude="batch%" --server=myhost:3306 --export=data --file-per-table --format=csv --no-headers --locking=snapshot mydb
This does not however exclude the tables starting with "batch"
I tried several values with the –exclude / -x options
e.g.
--exclude=b%
--exclude=mydb.b%
--exclude=b%
--exclude=B%
--exclude=batch_execution
-x b%
-x BATCH%
etc.
Can anyone suggest what I'm doing wrong here?
Thanks,
Eoin.
Versions:
Client OS Ubuntu: 14.04
MySQL Utilities mysqldbexport version 1.5.4
mysqld 5.6.19-log hosted on AWS RDS