Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-167

Cloning production MongoDB deployments into a staging environment HOWTO

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      Write a HOWTO for cloning from production to staging, something like:

      once:
      *) copy production data from hidden secondary to a VM
      *) make a copy-on-write snapshot of the VM data
      *) bring up the VM with proper RS and sharding config

      nightly:
      *) shutdown VM, restore to last night's snapshot, bring up
      *) use mongooplog to replay last 24 hours of ops from production
      *) re-snapshot VM

      Attachments

        Activity

          People

            Unassigned Unassigned
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 39 weeks, 1 day ago