Hello,
i work on a script that checks if all object are successfully replicated in a replication job.
If i check the details of a replication session via omnidb:
omnidb -session $REPSESSIONID -detail
I get a outplut like:
Object name : testserver.local:/ '/usr/share' Object type : FileSystem Object status : Completed Started : Mon 27 Mar 2017 11:00:05 PM CEST Finished : Mon 27 Mar 2017 11:01:05 PM CEST Object size : 30040 KB Backup type : Incremental1 Protection : Protected for 13 days Catalog retention : Same as data protection. Version type : Normal Access : Private Number of warnings : 0 Number of errors : 0 Device name : DC1_CAT20_REP_dptest Backup ID : n/a Copy ID : 5F2B0121-4F2B-481D-B79F-2DC827B85093/12326773 (Copy) Encrypted : No DiskAgent ID : 1490648403
For oracle Backups, the "Backup ID" is given, but for FS or Group-Backups, the "Backup ID" is "n/a".
How can i get a list of Backup-IDs used in the Replication or can i lookup the Backup-ID via the "Copy ID" somehow (i would prefer this method anyway but can't find a usable command) ?
In the next step i list all Objects from the Replication and from the Backup and make a diff to check if anything is missing, this works fine for Oracle but as i said, i have no clue how the get the Backup ID for FS or Group.
Kind Regards