Skip to content

Prod to Staging Sync Script #158

@CGillen

Description

@CGillen

We should write a script that converts all the production settings to staging settings so that we can sync back the production database to staging for development and testing.

We'll need an inventory of config settings that rely on production elements (memcache, solr, search, sitemap, etc). We'll need to identify modules that should be re-enabled, disabled, or configured (stage_file_proxy is a big one).

This can be architect-ed a ton of different ways, so we'll want a discussion and figure out what works best for @KennaW's flow.
Options of the top of my head:

  • Manual script that just does the settings
  • Manual script that does DB dump/import + settings
  • Script is run every time the pod is started making it set-and-forget
  • DB is dumped/imported and script is run every time the pod restarts making site in near-constant sync

Metadata

Metadata

Assignees

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions