Using the CLI for automation

Hi,

I’m trying to use the CLI to get certain information out of a Linux Cloudberry install for a mixture of automation/monitoring.

I may be looking at the wrong documentation link but struggling a bit with a couple of points.

First is the status of a backup plan. Between plan -l and getplandetails -n I can see when a back is configured to be scheduled and the status of the last back up but I can’t see when the last backup actually took place. Is there an option/command I’m missing there?

Second is the check for available updates. checknewversion seems to support automated unattended install of a new version but not the ability to check without install. If I use the -i option it drops to an interactive mode so no less useful for automation.

Thank you!