Stores history details for log shipping jobs. This table is stored in the msdb database.
The tables related to history and monitoring are also used at the primary server and the secondary servers.
The primary ID for backup or the secondary ID for copy or restore.
The type of log shipping job.
0 = Backup.
1 = Copy.
2 = Restore.
The session ID for the backup/copy/restore/ job.
The name of the database associated with this record. Primary database for backup, secondary database for restore, or empty for copy.
The status of the session.
0 = Starting.
1 = Running.
2 = Success.
3 = Error.
4 = Warning.
The date and time at which the record was created.
The date and time at which the record was created, expressed in Coordinated Universal Time.
This table contains history details for the log shipping agents. To identify an agent session, use columns agent_id, agent_type, and session_id. To see the history detail for the agent session, sort by log_time.
In addition to being stored on the remote monitor server, the information related to the primary server is stored on the primary server in its log_shipping_monitor_history_detail table, and information related to a secondary server is also stored on the secondary server in its log_shipping_monitor_history_detail table.