I am currently testing the Oracle RMAN Plugin for an RAC Cluster. Backups and restores are working well.
For deleting old backups from the Veeam Server Repository, I have:
And then I also periodically run a script that deletes obsolete RMAN backups from the Veeam Server Repository:RMAN>CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
This works fine. RMAN backups that are older than 14 days are deleted from the Repository.RMAN>DELETE OBSOLETE;
I don't even have to configure the Plugin's "OracleRMANConfigTool --set-force-delete".
Side note: I do not recommend using "OracleRMANConfigTool.exe --set-force-delete" because the RMAN/Recovery Catalog records are not updated, which means you will eventually have to run RMAN CROSSCHECK.
However, I can see a potential issue here.
What if the Oracle database server goes offline for an extended period, then the Veeam Server Repository backups will not be deleted, ever.
That is because both "RMAN>DELETE OBSOLETE" and "OracleRMANConfigTool --set-force-delete" are directed by the Oracle server, and not by the Veeam Server itself.
Sure, I can go to the Veeam Console and right-click on the RMAN backups to delete them, but currently, there is no way to delete specific older unwanted RMAN backups. You can only delete ALL RMAN backups for an Oracle server.
I just wish there is a way for the Veeam server to set a retention period for RMAN Plugin backups and delete them to release disk space, without the Oracle server having to be online.
Sure, you'd then have to run RMAN CROSSCHECK later, but still, the issue here is that the releasing of Repository disk space is currently dependent on the Oracle server being online.
This could be a little wasteful on the Veeam Repository disk space in some situations.
But overall, I suppose this is a minor issue.