wiki:LoggingOutput

When you start a compare or restore session with bbackupquery, you probably get a lot of output. This can be logged to a file for later inspection with the following syntax: bbackupquery -o log.txt

This logs everything that goes through the logging framework, which is not absolutely all output (yet).