Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8285579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:30:25+00:00 2026-06-08T11:30:25+00:00

I do website development (primarily Drupal base sites) and have a workflow with: many

  • 0

I do website development (primarily Drupal base sites) and have a workflow with:

  1. many developers working on their Local machines
  2. developers use git to merge their changes on a Development machine
  3. when the dev site hits a stable point, we push to a Staging server for the client to review
  4. and finally we make releases to the Production server

And git is moving the files nicely back and forth. My question is how do I one-up this and use git to migrate the database along with the files?

And once I am able to move dev databases up the ladder, how do I merge development databases with the active production database?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:30:27+00:00Added an answer on June 8, 2026 at 11:30 am

    Most straightforward thing to start with is to just dump the database into one file and store it in the git as well as the sources. But be sure not to leak this file into the production webroot, so that some schema.sql is not easily available by HTTP. It’s convenient to store sources at /webroot and db at /db subdirectories of your repository, making the /webroot actual root of web server.

    You’ll then see some updates and merges, and even conflicts around this file — these should be resolved as usual you do to your code files.

    After all merges and conflict resolutions of both schema code and executable code you should thoroughly test your application end-to-end.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Most designers use 1024x768 as a baseline for website development. That allows them to
Should we only use Web-Safe Colors while in design/coding/development for website/apps?
I've inherited development for a website on vps hosting, and have login info for
I am new to the web development.I have built my website in visual studio
I use Visual Studio 2008 primarily for web development, and there's one annoying behaviour
InkScape users, can you recommend Inkscape for website-template development. I have to learn a
I use textmate for website development and compass to compile css stylesheets. Right now
I have a simple CRUD website in development process, almost done. I was asked
Can someone suggest a simple git branching mode for website development. I have seen
I am about to begin development of a new website and have been doing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.