Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > PostgreSQL > database sync tools

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-28-07, 15:09
Digriz Digriz is offline
Registered User
 
Join Date: Dec 2007
Posts: 2
Question database sync tools

Greetings!
I find myself in the interesting position of supporting development on a postgres db and php for a small group of developers. I am trying to support dev, staging, and live databases, and have run into some issues that should be easier to deal with then I have seen so far.

The developers are making full use of functions, views, datatypes, etc. I have been using EMS Database comparer (Because I have not found anything better yet.) to move schema changes from dev to staging and from staging to live. I use another tool to move data when needed. This process can take hours and leaves lots of room for error.


So my initial questions are:
1: is there a better way to do this, and if so how?
2: Are there better tools for this (prefer OS X native, but not against windows inside parallels)?
3: am I completely off my nut?
Reply With Quote
  #2 (permalink)  
Old 12-29-07, 04:14
shammat shammat is offline
Registered User
 
Join Date: Nov 2003
Posts: 654
DB-Schema changes should not be taken by diff'ing two installations. The developers should commit the scripts necessary to upgrade a database into a version control system.. Staging and live are then upgraded by applying the scripts retrieved from the version control system.
Reply With Quote
  #3 (permalink)  
Old 12-29-07, 13:41
Digriz Digriz is offline
Registered User
 
Join Date: Dec 2007
Posts: 2
I should have thought of that, Thanks!
I need to tweak my head to think of schemas as source like any other source that needs to be in a source control system.

Thanks!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On