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.getLogsHowever 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:~# -
@McHenry xo-cli backupNg.getLogs --json limit='json:500' should work ( the command line parameter are considered as string )
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better š
Register Login