however, this doesn’t take into account protection groups that have host or host group members. for those, you’d have to iterate what volumes are connected at the host or hostgroup level, then match that host/hostgroup name accordingly with protection group membership. edit: sp/grammar
there’s multiple approach here. you would have to gather a list of volumes, and then you can query for all protection groups that the volume exists in.