Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move transaction log file

Status
Not open for further replies.

mkal

Programmer
Jun 24, 2003
223
US
Using: Microsoft SQL Server 2005 SP3

Can you move the .ldf file on the secondary database that's involved in logshipping?

If so any special precautions that I need to be aware of?

 
To do this you would need to detach the database, but when you reattach it it'll be in read-write mode.

The easiest way to do this will be to break the log shipping and then start the process over again moving the log to the other drive.

Denny
MVP
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration)
MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI)

My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top