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 |
|
sql9.babu
Starting Member
21 Posts |
Posted - 2008-02-05 : 21:27:32
|
| hi all,how to restore Transactional log files in Sequence, Restore log Db_namefrom disk='d:\backup_name.trn'...pls required syntax for itthanx for any help |
|
|
sql9.babu
Starting Member
21 Posts |
Posted - 2008-02-05 : 21:43:00
|
| when Iam tryng to restore the Transaction log, it is giving error msg likeMsg 3117, Level 16, State 1, Line 1The log or differential backup cannot be restored because no files are ready to rollforward.Msg 3013, Level 16, State 1, Line 1RESTORE LOG is terminating abnormally.what does this mean'sthanx for any help |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-02-05 : 22:01:58
|
| You have to use 'with norecovery' option when restore db. |
 |
|
|
sql9.babu
Starting Member
21 Posts |
Posted - 2008-02-06 : 02:34:09
|
| I used this way, but still giving the same error msg.restore log Practicefrom disk= 'd:\xy1.bak'with stats=10,replace, norecoveryMsg 3117, Level 16, State 1, Line 1The log or differential backup cannot be restored because no files are ready to rollforward.Msg 3013, Level 16, State 1, Line 1RESTORE LOG is terminating abnormally.pls suggest me some thing elseThanx for any helpsql9 |
 |
|
|
ratheeshknair
Posting Yak Master
129 Posts |
Posted - 2008-02-06 : 03:35:33
|
| You have to retore a full backup with norecovery before you restore the transaction logs.RKNAIR |
 |
|
|
sql9.babu
Starting Member
21 Posts |
Posted - 2008-02-06 : 11:13:42
|
| ya I did that,I restored FULL Backup first, then Iam trying to restore either DIFFERENTIAL or LOG it is giving that error msgcan you pls check the above given syntax for restoring LOG is correct or any one can pls suggest me regarding the syntaxthanxsql9 |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-02-07 : 00:10:46
|
| Can't use replace and norecobery at same time. |
 |
|
|
|
|
|
|
|