SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Log Shipping


Log Shipping

Author
Message
Eddy!-427737
Eddy!-427737
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 2

Hi,

Does anyone know of a way to recover log shipping with a missing tuf file. long story why the tuf file is missing but it cannot be replaced.

The only way i can see now is by setting up log shipping from scratch again.

thanks in advance

Dave


Sugesh Kumar
Sugesh Kumar
SSCarpal Tunnel
SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)

Group: General Forum Members
Points: 4653 Visits: 358
Check what is the last restored file in the secondary server. Then copy all files from the primary server to the destination file and start the restore job so that those files will be restored again try this before you reconfigure logshipping.

Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
Eddy!-427737
Eddy!-427737
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 2

Sugesh,

Thanks for the suggestion but it is still looking for the tuf file that no longer exists.

I get an error: Server: Msg 3441, Level 17, State 1, Line 2

thanks,

Dave


Sugesh Kumar
Sugesh Kumar
SSCarpal Tunnel
SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)

Group: General Forum Members
Points: 4653 Visits: 358
The tuf is Transaction Undo File that will be used to remove uncommited data. if my suggestion does not help then go ahead and reconfigure logshipping.

Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
Eddy!-427737
Eddy!-427737
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 2

Thanks Sugesh, i had to restore to the secondary server in the end and reconfigure log shipping.

I was trying to have an OLAP server and DR server with one copy location for the logs but different restore times, doing this only creates one tuf file so i now have 2 copy locations for the logs and working a treat....another lesson learnt in the world of Log Shipping

thanks again


Sugesh Kumar
Sugesh Kumar
SSCarpal Tunnel
SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)

Group: General Forum Members
Points: 4653 Visits: 358
Good that you have implemented the copy job across two locations so that even if it fails in one location it will be available in the other a case of high availability.

Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
Ammad Baig
Ammad Baig
SSC Rookie
SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)SSC Rookie (47 reputation)

Group: General Forum Members
Points: 47 Visits: 57

I am configuring the log shipping and getting the same error:

"During startup of warm standby database <db_name> (DB ID 5), its standby file (C:\windows\system32\<db_name_20070727025522.TUF)was inaccessible to the Restore statement. The OS system err was 5 (Access is denied). Diagnose the OS error, correct the problem and retry startup. (MS SQL ERR: 3441)."

The svc account running SQL Server and agent is in the admin group on the server.

Any ideas?

Thanks.


Eddy!-427737
Eddy!-427737
Grasshopper
Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)Grasshopper (18 reputation)

Group: General Forum Members
Points: 18 Visits: 2

Ammad,

Have you double checked that the tuf file exists in the location specified in the error and the time on it is around the same of the last restored log? The problem i had was introducing another secondary server to be log shipped to which corrupted the tuf file and i had to reinstate log shipping.


GBlackwell
GBlackwell
SSC Rookie
SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)SSC Rookie (26 reputation)

Group: General Forum Members
Points: 26 Visits: 17
I'm having the same problem with the TUF file. It is attemptig to write it to C:\Windows\System32, but apparently cannot access that folder. Any idea why it's selecting C:\Windows\System32 or how I select a different location?



eduardo.pin
eduardo.pin
SSC Journeyman
SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)SSC Journeyman (78 reputation)

Group: General Forum Members
Points: 78 Visits: 356
Hi,
I´m on the same trouble.
My operations team have deleted a .tuf file form one of my logshiping servers.
My trouble is bigger than usually do because my database has 2.5 Tera Bytes so I gonna take 3 days to recevery it at least.

I did the same thing (deleted .tuf file) in a controlled server, and try to recover some logs without the .tuf file, but didn´t work in any way.

Let me know if somebody has solved this trouble without restart the whole logshiping processes.



Regards....

Pin
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search