Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

database options not being copied from model db Expand / Collapse
Author
Message
Posted Sunday, November 10, 2013 10:26 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 8:33 PM
Points: 1,285, Visits: 2,963

I have made some db level changes on model db and the intent was to have those settings copied over on every db created on that instance. Now i am restored empty db's from the backup taken on another server and i dont see the settings copied from the model db to the newly restored db. Does restore inherit settings from the source server where backup was taken or from the model db where it is being restored.?
Post #1512970
Posted Sunday, November 10, 2013 12:23 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 11:30 PM
Points: 35,364, Visits: 31,900
curious_sqldba (11/10/2013)

I have made some db level changes on model db and the intent was to have those settings copied over on every db created on that instance. Now i am restored empty db's from the backup taken on another server and i dont see the settings copied from the model db to the newly restored db. Does restore inherit settings from the source server where backup was taken or from the model db where it is being restored.?


The settings in tghe Model database only affect new databases... not restored databases. The settings of a restored database will be preserved as they were saved.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1512981
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse