Log shipping
Hi:
Is there a way to find through T-SQL Code if log shipping is setup on a SQL Server and how many secondary servers does it have?.
Thanks
Ankith
Hi:
Is there a way to find through T-SQL Code if log shipping is setup on a SQL Server and how many secondary servers does it have?.
Thanks
Ankith
take a look at log_shipping_primaries and log_shipping_secondaries in msdb database. This assumes you have enterprise edition and configure logshipping via the UI. If you create your own logshipping, these tables will not have any info.