mr-stringer / hanautil

A helper utility for the HANA database written in golang
Apache License 2.0
2 stars 0 forks source link

Need a function to provide backupID of most recent full backup that is older than retention threshold. #20

Closed mr-stringer closed 11 months ago

mr-stringer commented 11 months ago

In order to support dry run operations, it would be useful to have a DB info function that return the backup ID of the most recent full backup that meets the age criteria.

The function should accept the aging criteria as a number of days and return the backup ID of the newest full backup that is older in days than the number of days given.