Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Logshipping not creating tables on Standby Database Expand / Collapse
Author
Message
Posted Thursday, April 16, 2009 10:27 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, October 30, 2009 1:31 AM
Points: 11, Visits: 165
Good Day,

We implemented Log shipping between 2 of our SQL Server 2005 servers . Afew day later tables were created on the Live database .The restore jobs were successful. We checked the Errorlogs of SQL Server and the report files of Log Shipping . They confirmed that the Logshiping was cmaking successful Log backups, copying the files successfully to the standby server and the restores were done successfully on the standby server However when we tested failover on the staandby server , the tables were not created . Do we have to do a full backup and then reactivate Log shipping after a table was created ? Is the Transaction log not supposed to be a record of all the transactions executed on the database ? Before I foreget, the database was set to Full Recovery Mode . We compared the report files of both servers and the Logdump files were identical and no file was left out .



Please assist with this tricky scenario.



Regards.

Lian
Post #698654
Posted Thursday, April 16, 2009 11:10 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, November 20, 2014 11:18 AM
Points: 196, Visits: 1,088
Is the Created/modified date of the TUF file same as or close to your last LOG file? ( the TUF file should be in your logcopy folder by default)
If not, very likely the Restore Job just ran its steps but didn't do any restore. In that case, you would need to manually restore the Logs starting from the earliest missing one.

To see what the last restored is, you can run
SELECT last_loaded_filename, last_loaded_last_updated
FROM msdb.dbo.log_shipping_secondaries
Post #698710
Posted Thursday, April 16, 2009 11:19 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, October 30, 2009 1:31 AM
Points: 11, Visits: 165
Good Day,
thank you for your quick response . I ran the script and there were no filenames . Does this mean that no logfiles were restored ? But we checked the Lofile report and it stated that the log was applied .
Post #698716
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse