Hi , I have a requirement where We need to take a back up of the Publisher database which is a (production System) and restore it on someother server and use it for testing some deployment. As a part of the testing we need to drop and create the object( As the objects are published as articals in the actual DB, even the backup also has the same ), while droping the objects we are getting an error message as "objects cannot be droped because it is used by the replication setup"
Just to give back ground:
We have transaction replication Setup between Server1 and Server2.
Server 1 - Publisher
Server 2 - distributor and Subscriber.
My question is,
If i need to use the backup database for my testing purpose, what are the step do i need to follow. Can I directly drop the publisher by creating the Drop script by navigating as below.
Backup server=> Replication=> Local Publication=> <Publication name>=> Rihgt clik and Select generate Scripts => Select radio button 'Drop /Disable publisher . and run it against the backup database.
Thanks for you help.