Closed (fixed)
Project:
Provision
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2011 at 11:19 UTC
Updated:
12 Jun 2014 at 08:41 UTC
Jump to comment: Most recent
We regularly use provision-deploy to overwrite an existing production site with a fresh copy from staging. Each time provision-deploy is used on an already existing site, a new database is created. The old database never gets dropped however, resulting in obsolete databases.
Attached patch adds additional clean-up to post provision-deploy to remove the old database if necessary.
| Comment | File | Size | Author |
|---|---|---|---|
| 0001-Drop-obsolete-database-when-using-provision-deploy-o.patch | 1.5 KB | mr.baileys |
Comments
Comment #1
anarcat commentedPushed to 2.x for further testing. Please find a third party to test this patch, when it's RTBC we'll merge it in 1.x.
It otherwise looks sound, I just don't have much time to test it myself and it's a quite sensitive area...
Comment #2
crea commentedSubs
Comment #3
steven jones commented2.x will be released soonish, so marking this as fixed as per #1.