My company has two projects one is a sandbox for devs and another is production. We refresh our database from the prod to dev; just so we have new fresh data to work with.
It takes us almost 5-6hrs to export and import the whole database, but I found a very hidden gcloud feature that allows me to restore an instance backup from another project i.e. import production db backup instance to dev project with 2 apis.
The Documentation for the 2 Apis
Now this also changes the users of our dev project, and I don't want that although it has reduced time from 5hrs to 20mins but a drawback is that it changes our users password and etc, kinda locks them; the same prod db passwords also don't work.
My question is, is there's a way where I can restore an instance without effecting the users.