Let's say I have two database instances:
InstanceA - Production server InstanceB - Test server
My workflow is to first implement the new schema changes in InstanceB , test them, and then deploy them to InstanceA .
So, at any time, the instance schema relationships are as follows:
InstanceA - Schema Version 1.5 InstanceB - Schema Version 1.6 (new version being tested)
An additional part of my workflow is to keep the data in InstanceB as fresh as possible. To accomplish this, I take the InstanceA database backups and applying them (restoring them) to InstanceB .
My question is: how does the version of the circuit affect the recovery process?
I know I can do this:
Backup InstanceA - Schema Version 1.5 Restore to InstanceB - Schema Version 1.5
But can I do this?
Backup InstanceA - Schema Version 1.5 Restore to InstanceB - Schema Version 1.6 (new version being tested)
If not, what will the failure look like?
If so, would the type of schema change change?
For example, if Schema Version 1.6 is different from Schema Version 1.5 just by having a modified storec procedural, I believe that this type of scheme change should't affect the Restoral process. On the other hand, if Schema Version 1.6 differs from Schema Version 1.5 if there is a definition for another table (say, an additional column), I will image this will affect the Restoral process.
Hope I made it clear enough.
Thanks in advance for any input!