If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Database backup

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-30-09, 03:45
akhilachuthan akhilachuthan is offline
Registered User
 
Join Date: Mar 2008
Posts: 7
Database backup

Hello,

Not sure if this is the right place to post this...

I am working on a tool that would apply new schema changes to the db by executing database scripts to an already existing database. I also need it have an option by which I can revert the db to specific app version without any problem...

For example - I keep upgrading my application version from 1.1 to 1.2, 1.3, 1.4 etc. Each one including database changes..... Now being at version 1.4 i should be able to revert my system to 1.2 or so, and the database changes should also get reverted. I cannot rely on just a database backup/restore option, coz all my data rows inserted after the backup will be removed when i make a restore later....I need to revert the db schema changes, but cannot afford to lose any records inserted lately....

Any suggestion on what can be done on this..
Reply With Quote
  #2 (permalink)  
Old 01-30-09, 11:50
blindman blindman is offline
World Class Flame Warrior
 
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
Yeah, good luck with that.
Most schema changes go hand-in-hand with data changes. Try reverting data back to the state it was in two months ago, while maintaining all the activity that has happened since then as well.
Ain't gonna happen.
__________________
If it's not practically useful, then it's practically useless.

blindman
www.chess.com: "sqlblindman"
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

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