Managing Databases using Enterprise Manager (MOSC)

MOSC Banner

Script

edited Jun 24, 2013 3:00AM in Managing Databases using Enterprise Manager (MOSC) 8 commentsAnswered
Hi All,

Greetings of the day. Hope everyone is doing great.   Am using the below script to get backup report

SELECT hb.host "Host Name",

hb.database_name" Database Name",

hb.target_type "Target Type",

hb.status "Status",

hb.start_time "Start Time",

hb.end_time "End Time",

hb.output_device_type "Output Device",

tp.property_value "Lifecycle Status"

FROM mgmt$ha_backup hb,

mgmt$target_properties tp

WHERE hb.target_guid = tp.target_guid

AND tp.property_name = 'orcl_gtp_lifecycle_status'

AND hb.target_guid IN

(SELECT member_target_guid

FROM mgmt$group_flat_memberships

WHERE composite_target_guid =HEXTORAW(??EMIP_BIND_TARGET_GUID??)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center