HI,
we use the vzdump hookscript to send backup results to an healthcheck.io instance.
When using "classic" vzdump repo, i have the logfile in the repo and with the env var $LOGFILE, of the log-end phase, I can recover the backup log and send it to HCIO.
But when using PBS destination there is no $LOGFILE env var, because there is no text file i suppose. I can find the backup log in /var/log/pve/tasks but this is the combined log for all the VMs. I want to individual one, like with the logfile env...
I saw that there is a env called TARGET in the LOG-END phase, something like "ct/115/2023-09-14T12:59:36Z".
Is there a way with proxmox-backup-client to recover the log with this TARGET ? Because i see this in the usage of the command :
Do we have a snapshot download or read log command ?
Thanks by advance for the help, have a nice day !
we use the vzdump hookscript to send backup results to an healthcheck.io instance.
When using "classic" vzdump repo, i have the logfile in the repo and with the env var $LOGFILE, of the log-end phase, I can recover the backup log and send it to HCIO.
But when using PBS destination there is no $LOGFILE env var, because there is no text file i suppose. I can find the backup log in /var/log/pve/tasks but this is the combined log for all the VMs. I want to individual one, like with the logfile env...
I saw that there is a env called TARGET in the LOG-END phase, something like "ct/115/2023-09-14T12:59:36Z".
Is there a way with proxmox-backup-client to recover the log with this TARGET ? Because i see this in the usage of the command :
Bash:
proxmox-backup-client snapshot upload-log <snapshot> <logfile> [OPTIONS]
Do we have a snapshot download or read log command ?
Thanks by advance for the help, have a nice day !