Is there a way to bulk restore files via script, API, etc?

Hello! Two questions:

  1. Is there a way to get a list of the files that Cloudberry has marked as being deleted in a backup source?

  2. Is there a way to programmatically do restores from Cloudberry file-level (legacy) backups?

Context for the questions:

  • Cloudberry edition: Stand-alone, Ultimate
  • Cloudberry backup format: legacy
  • Quantity of files protected by Cloudberry: 18 million
  • We’ve enabled “mark objects deleted in a backup source”

I’ve used the AWS CLI to export a list of files from the S3 bucket containing our backups, but observed that it doesn’t necessarily match the on-prem source - I assume this is because, when a file gets moved or renamed locally, Cloudberry records this change in its database without changing it in the cloud.