script to see if dar incremental backup recorded any changes

imschmeg <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <20210505185634.3908b3e2@lapdog>
What is the most robust and fastest way to check if a dar incremental
backup recorded any changes?

I could do:
dar -l backup -q

and parse the output with awk to see if any of the lines "fully saved",
"binary delta patch" or "inode metadata only" contain non-0 counts.
And then also check the "N file(s) have been recorded as destroyed..."
line.

This however seems a bit fragile, as it depends on the format of the
summary staying the same.  Is there a better way?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.