October 14, 2010 at 11:19 am
Hi I need to move the .ldf file associated with a Log Shipping Primary. I'd like to do this without reconfiguring Log Shipping.
Does anyone know if I can Detach / Attach a Log Shipping Primary database without it destroying the log shipping configuration? Another way to put it is will the LSN be affected by a detach / attach?
Thanks!
October 14, 2010 at 11:31 am
No need to detach.
ALTER DATABASE to change the location of the file (check Books Online for the syntax)
Take the database offline
Move the file(s)
Bring the database online.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
October 14, 2010 at 11:41 am
Thanks Gail!
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply