I can’t find anywhere how to use “–exclude”.
When I try this code
heroku help db:pull
I get this:
Usage: heroku db:pull [DATABASE_URL]
pull heroku data down into your local database
DATABASE_URL should reference your local database. if not specified, it
will be guessed from config/database.yml
-c, --chunksize SIZE # specify the number of rows to send in each batch
-d, --debug # enable debugging output
-e, --exclude TABLES # exclude the specified tables from the pull
-f, --filter REGEX # only pull certain tables
-r, --resume FILE # resume transfer described by a .dat file
-t, --tables TABLES # only pull the specified tables
ok I understand how to use “-e” with one table, but I want to exclude more than one table.
It is not working:
heroku db:pull -e users, versions
It works for me