Re: Restore database
- From: "Hari Prasad" <hari_prasad_k@xxxxxxxxxxx>
- Date: Thu, 31 May 2007 07:27:18 +0530
Hello,
Can you take a full database backup again from the SQL Server 2005 machine
and then try restoring in SQL Express.
Initialize the backup device with INIT. Use the below format.
BACKUP DATABASE <DBNAME> to DISK='D:\Backup\Dbname.bak' WITH INIT,Stats=1
Thanks
Hari
"Markgoldin" <markgoldin@xxxxxxxxxxx> wrote in message
news:C6BF147C-478F-41C0-981A-C05C6BB75DF0@xxxxxxxxxxxxxxxx
Backup file is just 2 mg,
I am running SQL 2005 Express on Vista Business.
"Brett I. Holcomb" <brettholcomb@xxxxxxxxxxxxx> wrote in message
news:uVHgMbxoHHA.5084@xxxxxxxxxxxxxxxxxxxxxxx
How small is small and what kind of system do you have?
Markgoldin wrote:
Unless I did something wrong, it has been 30 min, that it is still
saying "restoring". My database is very small.
Should it take that long?
"Brett I. Holcomb" <brettholcomb@xxxxxxxxxxxxx> wrote in message
news:eak99nwoHHA.596@xxxxxxxxxxxxxxxxxxxxxxx
Evidently there is a log that's not backed up - or part of it.
You can backup the log if it's still around or if you know for sure
that there aren't any transactions in the log that you need you can use
the options listed in the error to force it to restore the
database -BUT be VERY sure the missing log doesn't have something you
need.
Markgoldin wrote:
I am trying to restore database from SQL 2005 to SQL 2005 Express.
I am getitng an error:
TITLE: Microsoft SQL Server Management Studio Express
------------------------------
Restore failed for Server 'HOMEDEV\SQLEXPRESS'.
(Microsoft.SqlServer.Express.Smo)
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.3042.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476 -
-----------------------------
ADDITIONAL INFORMATION:
System.Data.SqlClient.SqlError: The tail of the log for the database
"accidents" has not been backed up. Use BACKUP LOG WITH NORECOVERY to
backup the log if it contains work you do not want to lose. Use the
WITH REPLACE or WITH STOPAT clause of the RESTORE statement to just
overwrite the contents of the log. (Microsoft.SqlServer.Express.Smo)
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.3042.00&LinkId=20476
Can someone help, please?
--
Brett I. Holcomb
brettholcomb@xxxxxxxxxxxxxxxxx
Remove R777 to email
--
Brett I. Holcomb
brettholcomb@xxxxxxxxxxxxxxxxx
Remove R777 to email
.
- References:
- Re: Restore database
- From: Brett I. Holcomb
- Re: Restore database
- From: Markgoldin
- Re: Restore database
- From: Brett I. Holcomb
- Re: Restore database
- From: Markgoldin
- Re: Restore database
- Prev by Date: Re: Restore database
- Next by Date: how to delete or change a duplicate record?
- Previous by thread: Re: Restore database
- Next by thread: how to delete or change a duplicate record?
- Index(es):
Relevant Pages
|