-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accept gdpr-skip-tables argument #12
Comments
@fjgarlin - I think we're going to need a different name for this, to me skipping tables means actually skipping the table entirely. It seems that mysqldump-php actually supports us passing through a list of tables for which skip table table -- namely the "no-data" parameter. |
Hey @bomoko, happy to change it to whatever makes sense. Do the implementation that you believe is right and I'll adapt the patch as required. Thanks! |
Hello, Maybe can be useful to support also pattern in skip tables like "no-data":["cache_%","apachesolr_%"] |
When dumping a database we might not want to copy across or sanitize all tables (ie: cache tables). I suggest accepting this parametre (and/or in the configuration files) to be able to just create those tables but don't transfer any data.
Suggested:
"gdpr-skip-tables":["tableName1","tableName2","tableName3"]
The text was updated successfully, but these errors were encountered: