database deployment strategy: avoiding merging

Post on 01-Nov-2014

206 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Merging two databases that have diverged is often very time consuming, painful, and can lead to data corruption, data loss, and bugs. In this talk, we take a look at a strategy to avoid merging databases and decrease the likelihood of our deployment going sideways.

TRANSCRIPT

Database Deployment Strategy: Avoiding Merging

The Problem

https://www.flickr.com/photos/devaburger/5176328620/

“I’m currently pulling the live database, developing, then pushing to live while

crossing my fingers no pages, posts, comments etc. have been added or

updated.” !

— Actual Developer Comment Leeroy Jenkins?

Why not build a database merge tool?

https://www.flickr.com/photos/95661536@N05/9000977033/

https://www.flickr.com/photos/lastaii/1251140093/

The Strategy

$ git rebase master First, rewinding head to replay your work on top of it...

Test over and over and…

Blip

Working in Teams

PHP Deployment Script

RAMP

Brad Touesnard @bradt http://bradt.ca

Delicious Brains http://deliciousbrains.com

WP Migrate DB Pro Get 20% off with coupon WCMIA Expires this Wednesday (May 15)

top related