SQL Server 2005 - We want to detach a replicated database in order to move the files to different disks. The database is a publisher. According to BOL, "Before you can detach the database, you must disable publishing by running sp_replicationdboption".
Planned steps -
1) EXEC sp_replicationdboption @dbname= 'db_name'
, @optname= 'publish'
, @value= 'false'
2) Detach the database
3) Copy the database files to new locations
4) Attach the database
5) EXEC sp_replicationdboption @dbname= 'db_name'
, @optname= 'publish'
, @value= 'true'
Will these steps suffice, or am I missing something?
Is there anything that needs to be done to the subscriber?
↧
Detaching a replicated database
↧