Can I do reprovisoning production without reset my DB?

I’ve had to update my SSH Keys. And know I need to reprovision production server. Because deploys not works. But after reprovision my staging ansable reset DB. Is there any ways to reprovisoning production without reset DB?

Re-Provisioning should only reset your database on Development, not Staging or Production.

It won’t reset in dev either. Re-provisioning is always assumed to be a safe operation.

1 Like

@Aleksandr To be safe, double-check that you have the April 2017 roots/trellis#825 update. This removed the possibility that users might overwrite their DBs. Formerly, it would overwrite when db_import: true in wordpress_sites.