PHP Database Deployment git/capistrano

I’m working for a company which is using PHP. There are different CMS Systems being used like WordPress or Magento.
We are working with git having our own repository server and we have to deploy to different servers our different customers.

I’ve set up a deploymentscript using capistrano which works fine but the Database Synchronisation is quite tricky.

  • Capistrano error : could not connect to ssh-agent
  • Capistrano and Git, Ruining my life. “Unable to resolve revision for on repository …”
  • Why am I getting a “Permission Denied” when trying to cap deploy?
  • Deploy a specific git branch via capistrano to a staging server
  • Deploying the same codebase w/ slight variances to multiple servers with capistrano and git
  • capistrano rails 3 git error - fatal: Not a git repository (or any of the parent directories): .git
  • Imagine the live-database contains user data and I have to create some new features after the site already launched and there are loads of sql data within the database already. I personally work with a dummy database since I don’t need any customer information.

    How are you PHP geeks are deploying your databases? I don’t want to change the contents but only migrate new or modified tables. I’m looking for a complete deployment solution for that. I’m also open for other options besides capistrano if needed. Especially with Magento I had serious problems to keep my database sync..

    Any help is appreciated.

  • Deploy web project under GIT version control to shared hosting
  • Repository deployment and Composer : what workflow?
  • ssh key file unprotected private key file error every time after reboot
  • How to apply git diff --binary patches without git installed?
  • How to update code from git to a Docker container
  • proper workflow for deploying node app
  • One Solution collect form web for “PHP Database Deployment git/capistrano”

    Recently I have discovered this project:, but I don’t have used it, otherwise Symfony has a similar feature called migrations and it works very well.

    Git Baby is a git and github fan, let's start git clone.