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

[171 byte] By [Ankith] at [2007-12-22]
# 1

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.

oj at 2007-8-30 > top of Msdn Tech,SQL Server,SQL Server Database Engine...

SQL Server

Site Classified