-
Notifications
You must be signed in to change notification settings - Fork 16
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
Don't wipe some tables when running GET #38
Comments
The You can adjust what tables I don't know if it's worth updating the
|
Hi @tgerulaitis, Sorry I do not think I was very clear. I meant that when a database is imported using the My understanding of how this works now is if a table is stripped when a database is uploaded using The feature that I am suggesting would be an option to not replace some tables when importing a database. For example, if my admin user on prod is '[email protected]' and on staging is '[email protected]', I would like to be able to not replace the |
Ah, yes, sorry, you did explain it well the first time, I just misread it and assumed you were talking about keeping things in the backup itself. That is a good feature suggestion! Not the easiest to implement, as you'd have to replace the current solution of "push the entire backup into |
Good suggestion +1 |
I am looking at implementing something like this. But from what I understand, it would be simpler to add a flag in the We would only need to add a condition on the
My suggestion for the flag would probably be I can probably manage to send a PR soon, if I can get a dev setup going. |
Linked to issue Space48#38
When pulling a database from production to a staging/dev environment you may want some tables to remain in place, such as admin user tables for example.
An admin user table would usually be excluded from the backup to protect sensitive information.
It would be nice to have a way of not wiping tables like this when importing a database so that new admin user accounts do not have to be created every time the database is migrated.
The text was updated successfully, but these errors were encountered: