Re: Problem causing me to have to restore tlogs WITH MOVE



Hi

Check that your paths supplied are correct. Copy and past them into Windows
Explorer to see if they are right.

Regards
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland

IM: mike@xxxxxxxxxxxx

MVP Program: http://www.microsoft.com/mvp

Blog: http://www.msmvps.com/epprecht/

"CPNZ" <UseLinkToEmail@xxxxxxxxxxxx> wrote in message
news:4_893187_310bbcc5d254070f4ec093ff3da778dc@xxxxxxxxxxxxxxx
>I have a database i am m oving to another server, during the process I
> am moving the data and log files to another drive.(Which I have done
> countless times before with no problems)
> The problem I am having is after I restore the database using the
> following statement :
> RESTORE DATABASE CMAMSPROD FROM DISK = ?C:\Databasename.BAK?
> WITH STANDBY = ?D:\Program Files\Microsoft SQL
> Server\MSSQL\BACKUP\Databasename\databasename.STANDBY?
> ,MOVE ?Databasename_Data? TO ?D:\Program Files\Microsoft SQL
> Server\MSSQL\Data\Databasename_Data.mdf?
> ,MOVE ?Databasename_Log? TO ?D:\Program Files\Microsoft SQL
> Server\MSSQL\Data\Databasename_Log.ndf?
>
> I get these errors when trying to restore transaction logs :
>
> [SQLSTATE 42000] (Error 3156) Device activation error. The physical
> file
> name ?C:\Program Files\Microsoft SQL
> Server\MSSQL\Data\Databasename_log.ldf? may be incorrect.
> [SQLSTATE 42000] (Error 5105) File ?Databasename_Log? cannot be
> restored to ?C:\Program Files\Microsoft SQL
> Server\MSSQL\Data\Databasename_log.ldf?. Use WITH MOVE to identify
> a valid location for the file.
>
> Has anyone encountered the same problem? This has me stumped,
> although restoring the tlog with move, and standby works....this is
> not how it should work.
>
> --
> Posted using the http://www.dbforumz.com interface, at author's request
> Articles individually checked for conformance to usenet standards
> Topic URL:
> http://www.dbforumz.com/General-Discussions-Problem-causing-restore-tlogs-MOVE-ftopict259104.html
> Visit Topic URL to contact author (reg. req'd). Report abuse:
> http://www.dbforumz.com/eform.php?p=893187


.



Relevant Pages

  • Re: SQLDUMPER library error message (PLEASE HELP)
    ... I ran services.msc and disabelled SQL Server VSS ... >>> Accounting 2007, a new program that I do not even know when or why I ... >> an MS Office 2007 trial - or do a System Restore. ... you'll see an entry made just ...
    (microsoft.public.windowsxp.general)
  • Re: Migration ?
    ... I've tried every way I can think of trying to restore the master database. ... Will a restore on the SQL ... Install a SQL Server failover cluster instance ...
    (microsoft.public.sqlserver.clustering)
  • Re: Migration ?
    ... During a restore, all of the metadata is upgraded. ... Moving the Master and MSDB database, what if the old server where those ... Will a restore on the SQL ... Install a SQL Server failover cluster instance ...
    (microsoft.public.sqlserver.clustering)
  • Re: Restoring a SSP 3.0
    ... Also make sure this accounts are configured correctly in the IIS application ... Backup ContentDB in SQL Server using SQL Managagement Studio ... Restore the ContentDB from step 1 to new env. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: SQLDUMPER library error message (PLEASE HELP)
    ... which "provides the interface to backup/restore Microsoft SQL ... I'd go back to a Restore Point, but I don't know when installed the ... > an MS Office 2007 trial - or do a System Restore. ... you'll see an entry made just ...
    (microsoft.public.windowsxp.general)