check the RMAN log for DBID and query from v$database view.

Thanks,