Skip to content
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

Sanitize option for sql-dump #551

Closed
Jellyfrog opened this issue Mar 25, 2014 · 2 comments
Closed

Sanitize option for sql-dump #551

Jellyfrog opened this issue Mar 25, 2014 · 2 comments

Comments

@Jellyfrog
Copy link

Hi

It would be nice if it was possible to save sanitized dumps

@weitzman
Copy link
Member

You can script this. You need an intermediate database. Just do a drush sql-sync @source @temp --sanitize && drush @temp sql dump && drush @temp sql-drop. Perhaps this should be an example shell alias.

@Jellyfrog
Copy link
Author

Yeah I was afraid that was the only solution.
I'll do some shell script hacking then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants