Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. How do you handle Dev DB vs Production DB?

How do you handle Dev DB vs Production DB?

Scheduled Pinned Locked Moved Database
databasemysqlvisual-studiosysadminquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    programmervb netc
    wrote on last edited by
    #1

    When I first started working at my job we maintained local DBs for development on our own machines...so there was alot of upkeep backing up production data restore etc. Then we had a spare server laying around so we started to use it as the devDB. Now the server is being used for other purposes so we are back to square one which takes alot of time. Does anyone have any suggestions of a better way to do this? FYI we are using mySQL.

    Humble Programmer

    P M 2 Replies Last reply
    0
    • P programmervb netc

      When I first started working at my job we maintained local DBs for development on our own machines...so there was alot of upkeep backing up production data restore etc. Then we had a spare server laying around so we started to use it as the devDB. Now the server is being used for other purposes so we are back to square one which takes alot of time. Does anyone have any suggestions of a better way to do this? FYI we are using mySQL.

      Humble Programmer

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      Development servers. Every time.

      programmervb.netc++ wrote:

      backing up production data restore

      Never did that; always generated test data -- it's repeatable.

      P 1 Reply Last reply
      0
      • P PIEBALDconsult

        Development servers. Every time.

        programmervb.netc++ wrote:

        backing up production data restore

        Never did that; always generated test data -- it's repeatable.

        P Offline
        P Offline
        programmervb netc
        wrote on last edited by
        #3

        I would think it would take more time to generate the amount of test data we need than it would to do backup restore... Are there tools for this? Also one reason the data being REAL data matters is because we are converting all apps from Access to mySQL and VB6 to VB.NET so we are running our reports against old and new data to make sure we did not screw up a conversion or the new/better ways we are writing the SQL.

        Humble Programmer

        1 Reply Last reply
        0
        • P programmervb netc

          When I first started working at my job we maintained local DBs for development on our own machines...so there was alot of upkeep backing up production data restore etc. Then we had a spare server laying around so we started to use it as the devDB. Now the server is being used for other purposes so we are back to square one which takes alot of time. Does anyone have any suggestions of a better way to do this? FYI we are using mySQL.

          Humble Programmer

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          3 Servers is a requirement, dev, uat and production. If/when we have a major deployment and can sync all the servers from production we do this. It does not happen very often as the development almost never stops so all the servers have different versions. But then we have something like 14 apps under production. We also have another server for bug tracing, take a snapshot of the production server and chase down the problem. We also use SQL compare and data compare to do deployment, greatest time save ever for deployment.

          Never underestimate the power of human stupidity RAH

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups