The tdposync utility checks for items on the Tivoli® Storage Manager server that are not in the RMAN catalog or Oracle control file. With this utility, you can repair these discrepancies by removing unwanted objects from the Tivoli Storage Manager, and reclaim space on the server.
When you run an RMAN deletion script, entries are deleted in the RMAN recovery catalog or Oracle control file before confirmation from the Tivoli Storage Manager server. In cases where objects are not found on the Tivoli Storage Manager server, RMAN tries to delete backup sets from the Tivoli Storage Manager server and fails. However, the entries in the RMAN catalog or control file for these objects are still removed. When they are deleted, RMAN can no longer identify these backups through the catalog or control file even though the file exists on the Tivoli Storage Manager server. This utility therefore synchronizes the contents of the servers.
When the RMAN catalog or control file contains backups that are marked as expired, RMAN still considers these objects as existing. If you run the tdposync utility against these objects, it recognizes these objects in the RMAN catalog or control file and on the Tivoli Storage Manager server and considers them to be in sync. Therefore, you must delete these objects from the RMAN catalog or control file for them to be deleted from the Tivoli Storage Manager server. Use the Oracle crosscheck command to verify whether the backups exist. Then, use the Oracle delete expired command to remove their record from the RMAN catalog or control file.
When you start tdposync, the following processing takes place: