Export backup reports
-
I have the Backup Reports plugin working and it sends an email after each report.
I would like to export the backup logs for the last 3 months and I have tried:
xo-cli backupNg.getLogs
However the export appears to be truncated ending with:
... 1919 more items
-
Ping @julien-f
-
@McHenry You can ask for the JSON format instead of a human readable excerpt:
xo-cli backupNg.getLogs --json
-
Thank you. Can a filter be used too?
root@xo:~# xo-cli --list-commands | grep backupNg.getLogs `--list-commands` is deprecated and will be removed in the future, use `list-commands` subcommand instead backupNg.getLogs [after=<number|string>] [before=<number|string>] [limit=<number>] *=<unknown type> root@xo:~#
root@xo:~# xo-cli backupNg.getLogs --json limit=500 ā invalid parameters property @./limit: must be number root@xo:~#