You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
By default, when developers run local:refresh BLT pulls a sanitized database from the test environment. This works fairly well, but isn't ideal. Content on stage is more variable than what's on prod, more prone to being broken, and is "ahead" of production in terms of schema and config versions. Problems with schema or configuration changes can be (and have been) masked by pulling dbs from stage rather than prod.
Ideally then, local:refresh would pull a sanitized db from prod. The problem is that Acquia Cloud permissions currently require a developer to have SSH access in order to retrieve database dumps. Additionally, there might be situations where prod has especially sensitive content that shouldn't be accessible at all in its raw form.
The solution that I'm currently considering is to spin up a production "clone" environment that I update after every production deploy to run the same code as prod and a sanitized copy of the db. I expect this will work, but it would be nice to have a more standardized / less manual solution.
The text was updated successfully, but these errors were encountered:
In retrospect, this isn't really a BLT issue. The only way this is possible is if Cloud exposes a dedicated function (with its own permission) for downloading databases from production.
By default, when developers run
local:refresh
BLT pulls a sanitized database from the test environment. This works fairly well, but isn't ideal. Content on stage is more variable than what's on prod, more prone to being broken, and is "ahead" of production in terms of schema and config versions. Problems with schema or configuration changes can be (and have been) masked by pulling dbs from stage rather than prod.Ideally then,
local:refresh
would pull a sanitized db from prod. The problem is that Acquia Cloud permissions currently require a developer to have SSH access in order to retrieve database dumps. Additionally, there might be situations where prod has especially sensitive content that shouldn't be accessible at all in its raw form.The solution that I'm currently considering is to spin up a production "clone" environment that I update after every production deploy to run the same code as prod and a sanitized copy of the db. I expect this will work, but it would be nice to have a more standardized / less manual solution.
The text was updated successfully, but these errors were encountered: