How to logging and debug job of proxmox backup client?

SaymonDzen

New Member
Aug 31, 2020
20
3
3
37
Moskow
host - Ubuntu 20.04.2 LTS
pbc - 1.0.13
pbs - 1.0.13-1

I ran a test job
Code:
proxmox-backup-client backup nextcloud.pxar:/storage --repository 'proxmox@pbs!clientbackup@backup.e:storage'
three hours later the job failed

Found in logs only in syslog pbs

Code:
Apr 13 20:34:01 backup proxmox-backup-proxy[764]: backup ended and finish failed: backup ended but finished flag is not set.
Apr 13 20:34:01 backup proxmox-backup-proxy[764]: removing unfinished backup
Apr 13 20:34:01 backup proxmox-backup-proxy[764]: removing backup snapshot "/storage/host/storage/2021-04-13T14:29:50Z"
Apr 13 20:34:01 backup proxmox-backup-proxy[764]: TASK ERROR: backup ended but finished flag is not set.
Apr 13 20:34:01 backup systemd[1]: session-6.scope: Succeeded.
Apr 13 20:34:01 backup systemd-logind[629]: Removed session 6.
Apr 13 20:34:02 backup proxmox-backup-proxy[764]: POST /dynamic_chunk: 400 Bad Request: backup already marked as finished.
Apr 13 20:34:02 backup proxmox-backup-proxy[764]: POST /dynamic_chunk: 400 Bad Request: backup already marked as finished.
Apr 13 20:34:02 backup proxmox-backup-proxy[764]: POST /dynamic_chunk: 400 Bad Request: backup already marked as finished.

also, despite the fact that the log reported about the deletion of an unsuccessful backup, a directory remained on the file system
Code:
du -shx /storage/.chunks/
476G    /storage/.chunks/

The documentation says that json output is supported. But it is not clear where he will write. I did not find the corresponding key in the client's parameters.
 
you can add --verbose to the client command to get more output. once the backup starts, you should see a corresponding task running on the PBS server side as well which you can monitor for information.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!