February 20, 2014 at 8:28 pm
Comments posted to this topic are about the item Backup/Restore
---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
February 20, 2014 at 10:52 pm
There is great learning every day through QOD. Thanks for the question
February 20, 2014 at 11:25 pm
Informative QOD.
-----------------
Gobikannan
February 21, 2014 at 12:08 am
thank you every day we can learn knowledge, explains very details.
thanks,
Ke
thanks & best regards,
ke liu
86+15011472596
qq: 421190916
email: qqliukk@hotmail.com
河南省周口市商水县袁老乡 第二初级中学 教师公寓3号
February 21, 2014 at 2:27 am
This was removed by the editor as SPAM
February 21, 2014 at 3:06 am
Stewart "Arturius" Campbell (2/21/2014)
I can understand why one backup of a read-only db might be needed, but would subsequent backups be necessary or relevant, as nothing would have changed?..Interesting question, thanks
Hello Stewart,
In that case, subsequent backup is not required.
Cheers!
---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
February 21, 2014 at 3:14 am
February 21, 2014 at 5:38 am
The question is trivial.
To ensure myself, I read this reference http://technet.microsoft.com/en-us/library/ms186388.aspx and I didn't see any correlation of the model's read_only property to the same for the restoring database. I restored a test database on an instance with model's read_only property set to True and False, and in both cases the test db restored with read_only=True (as it was taken with).
Regards,
Igor
Igor Micev,My blog: www.igormicev.com
February 21, 2014 at 5:50 am
That was a good question. Thanks.
February 21, 2014 at 6:45 am
Ed Wagner (2/21/2014)
That was a good question. Thanks.
February 21, 2014 at 7:53 am
Igor Micev (2/21/2014)
The question is trivial.To ensure myself, I read this reference http://technet.microsoft.com/en-us/library/ms186388.aspx and I didn't see any correlation of the model's read_only property to the same for the restoring database. I restored a test database on an instance with model's read_only property set to True and False, and in both cases the test db restored with read_only=True (as it was taken with).
Regards,
Igor
+1
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 21, 2014 at 8:01 am
My 2 cents on this issue, If you get an mdf, ldf of a read only database and attach it to your server it will retain the read only properties. (Same as Back up and Restoring the Database).
February 21, 2014 at 12:10 pm
The read_only property of the model database has no effect on newly created databases, however created. Whatever the model value is, the value for database created by restore is the value in the backup being restored, for database created by ATTACH it is as specified in the files being attached, and for database created by CREATE DATABASE it is FALSE. The property in model determines only whether model can be written or not.
Tom
February 22, 2014 at 12:54 am
Igor Micev (2/21/2014)
The question is trivial.To ensure myself, I read this reference http://technet.microsoft.com/en-us/library/ms186388.aspx and I didn't see any correlation of the model's read_only property to the same for the restoring database. I restored a test database on an instance with model's read_only property set to True and False, and in both cases the test db restored with read_only=True (as it was taken with).
Regards,
Igor
+ 1 true, model database Read-only property has no effect here!
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant
February 23, 2014 at 3:59 am
I got it,it was easy for me.
“When I hear somebody sigh, ‘Life is hard,’ I am always tempted to ask, ‘Compared to what?’” - Sydney Harris
Viewing 15 posts - 1 through 15 (of 25 total)
You must be logged in to reply to this topic. Login to reply