SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

csaha
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

tkizer
Almighty SQL Goddess

USA
35940 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
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.06 seconds. Powered By: Snitz Forums 2000