Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
paramu
Posting Yak Master
151 Posts |
Posted - 2009-08-04 : 05:35:50
|
| Iam using the below command to restore from my backuprestore database Employee_Master from disk='F:\SQL_BACKUP\employee_master_full.bak'But it's giving error message !---------------------------------------------------------------------Msg 3159, Level 16, State 1, Line 1The tail of the log for the database "Employee_Master" 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.Msg 3013, Level 16, State 1, Line 1RESTORE DATABASE is terminating abnormally.Paramu @ PARANTHAMAN |
|
|
paramu
Posting Yak Master
151 Posts |
Posted - 2009-08-04 : 06:15:48
|
| I found the answer...Let it be useful to someone like me...alter database Employee_master set recovery simplerestore database Employee_Master from disk='F:\SQL_BACKUP\employee_master_full.bak'After executing the above lines, its wokring fine..Really now a days, I have more respect on this forums and also answerers...ThanksParamu @ PARANTHAMAN |
 |
|
|
|
|
|