Re: restore error
- From: "Dabbler" <Dabbler@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 28 Aug 2005 14:00:02 -0700
thanks.. figures it was something stoopid ;)
"Hari Prasad" wrote:
> Hi,
>
> Try this:-
>
> restore database shopblue from disk='d:\blue\shopblue_db_200508260305.BAK'
> with Move 'TESFLOW' to 'C:\Program Files\Microsoft SQL
> Server\MSSQL\Data\shopblue_Data.mdf',
> Move 'TESFLOW_Log' to 'C:\Program Files\Microsoft SQL
> Server\MSSQL\Data\shopblue_Log.ldf',replace
>
>
> Note:
>
> There will be space in Microsoft SQL Server folder. Looks like u missed that
> space between SQL and Server. And there is no need of double quotes (")
>
> Thanks
> Hari
> SQL Server MVP
>
> "Dabbler" <Dabbler@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:B01E4AC4-E840-47F8-A455-2F35DF13D5AB@xxxxxxxxxxxxxxxx
> > when using osql to restore a database from one server to a local MSDE
> >
> > restore database shopblue from disk='d:\blue\shopblue_db_20050
> > 8260305.BAK' with Move 'shopblue_Data' to '"C:\Program Files\Microsoft
> > SQLS
> > erver\MSSQL\Data\shopblue_Data.mdf"', Move 'shopblue_Log' to '"C:\Prog
> > ram Files\Microsoft SQLServer\MSSQL\Data\shopblue_Log.ldf"',replace
> >
> > I get the following error when trying to restore to the default SQL data
> > folder:
> >
> > Msg 5105, Level 16, State 2, Server SONATA, Line 1
> > Device activation error. The physical file name 'C:\Program
> > Files\Microsoft
> > SQLServer\MSSQL\Data\shopblue_Data.mdf' may be incorrect.
> >
> > However when I use another folder say:
> > ... with Move 'shopblue_Data' to 'd:\blue\web\db\shopblue
> > _Data.mdf', Move 'shopblue_Log' to
> > 'd:\blue\web\db\shopblue_Log.ldf',replace
> > that works fine.
> >
> > Can anyone clarify the syntax required to install the db in the default
> > folder? I suspect is has something to do with spaces in name of the
> > folder.
> >
> > Thanks for any assistance
>
>
>
.
- References:
- restore error
- From: Dabbler
- Re: restore error
- From: Hari Prasad
- restore error
- Prev by Date: RE: Installation hangs for MSDE2000A on XP SP1
- Next by Date: Re: MSDE for 95 & NT
- Previous by thread: Re: restore error
- Next by thread: Installation hangs for MSDE2000A on XP SP1
- Index(es):
Relevant Pages
|