Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

How to copy Standby/Read-only database

$
0
0

Not sure why I can't open the thread I opened recently hence I'm opening this one instead.

Hello,

I'm using SQL Server 2012.

I have a read-only database and I have create a replica from it and a new database should be read-write

I tried to use 'Copy database ...' operation but it failed with this error:

The EXECUTE permission was denied on the object 'xp_instance_regread', database 'mssqlsystemresource', schema 'sys'.
The EXECUTE permission was denied on the object 'xp_instance_regread', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)

Then someone told me it's because source database is in read-only mode.

My question: how could I make a copy or replica or etc from read-only database? Either using GUI or script (it does not matter for me)

Thanks

---

’ve got dba role for the database in order to exclude permission issue. 

Nevertheless when I tried to copy Standby dB I’ve got an error. 

Folks: could you suggest which steps should be taken in order to make a copy of Standby/read-only database?

Thanks


susja


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>