How to find Database Present in Log Shpping, Mirroring through T-SQL

  • I want to retrieve All the database participating in Log Shipping, Mirroring through T-SQL can anyone provide me the query.

    All the SQL job present on SQL server with their Updated status through T-SQL.

    Can anyone Provide me the Query’s ? Help would be greatly appreciated.

  • The following when executed against the LS primary databases instance will return configuration info

    exec sp_help_log_shipping_primary_database 'primaryLSdb'

    The following when executed against the LS secondary databases instance will return configuration info

    exec sp_help_log_shipping_secondary_database 'secondaryLSdb'

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply