Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 High Availability (2008)
 Move the datafiles from a readonly/standby databas
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

52 Posts

Posted - 11/30/2012 :  14:34:59  Show Profile  Reply with Quote
I have enabled log shipping in primary server. Readonly/standby database is created in the secondary server however the datafiles and logfiles are created in the default location: c:Program FilesMicrosoft SQL Server....MSSQLData. Can I move the datafiles to a different location like D:Data while the database is in readonly/Standby mode. However after I enable logshipping and execute the following command in secondary server, it states that the data is in D:Data use [AbraHRMS_Live] go sp_helpfile go

Almighty SQL Goddess

38200 Posts

Posted - 11/30/2012 :  14:38:13  Show Profile  Visit tkizer's Homepage  Reply with Quote
You would need to restore it to that location and get log shipping back in sync.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000