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

Transaction replication - subscriber db movement to another drive

$
0
0

Pub,& distr in same server : ServerA    ,   sub 1 in server B,   sub2 in server C

Database :  DB   (pub) 

Database : DB1     (sub 1)  

Database : DB2     (sub 2) 

Type:  transnational replication

Scenario:

Server B, going to reconfigure. there is disaster may happen on that database drive.

for safer side i want to move this (sub 1) db to persistent Drive.

how to move this subscriber db into another drive during replication setup?


correct me if am wrong on below workaround:

confirm no pending undistributed cmd

stop “Log Reader Agent”.

Snapshot Agent should be completed and stop


make sub db offline with single user

modify file name in system catalog

copy mdf,ldf file physical to new location

set da online & multi user mode


start all replication jobs which is stopped earlier.




Viewing all articles
Browse latest Browse all 4054

Trending Articles