sys.sp_cleanup_log_shipping_history
general #stored-procedure
Description
This stored procedure cleans up history locally, and on the monitor server, based on retention The primary ID for backup or the secondary ID for copy or restore.
Syntax
sp_cleanup_log_shipping_history
[ @agent_id = ]
'agent_id'
, [ @agent_type = ] agent_type
[ ; ]