Sync Job hangs without explaination

virdb

Member
Oct 13, 2020
4
0
6
41
Dear PBS users and dev, my scenario:

PBS-local is a LXC running inside PVE. Backup to it works fine.
PBS-remote is a physical server connected via openvpn. On it I configured a sync job from PBS-local, that sync every 15 mins.
Often, I find the job running from several hours, with last log entry around 02:30+02:00 (My TZ is Europe/Rome) and on the router I see the traffic drop down 03.00.

If I stop the job and restart it, it recover the job quickly and finish. The job log don't say very much, here le last lines:

[...]
2020-10-16T02:04:47+02:00: percentage done: 85.06%
2020-10-16T02:04:47+02:00: sync snapshot "vm/108/2020-10-15T20:07:28Z"
2020-10-16T02:04:47+02:00: sync archive qemu-server.conf.blob
2020-10-16T02:04:47+02:00: sync archive drive-scsi0.img.fidx
2020-10-16T02:29:46+02:00: downloaded 178174064 bytes (0.11350444038711377 MiB/s)
2020-10-16T02:29:46+02:00: got backup log file "client.log.blob"
2020-10-16T02:29:46+02:00: sync snapshot "vm/108/2020-10-15T20:07:28Z" done
2020-10-16T02:29:46+02:00: percentage done: 85.71%
2020-10-16T02:29:48+02:00: re-sync snapshot "vm/112/2020-10-14T19:20:13Z"
2020-10-16T02:29:48+02:00: re-sync snapshot "vm/112/2020-10-14T19:20:13Z" done
2020-10-16T02:29:48+02:00: percentage done: 89.61%
2020-10-16T02:29:48+02:00: sync snapshot "vm/112/2020-10-15T19:19:08Z"
2020-10-16T02:29:48+02:00: sync archive qemu-server.conf.blob
2020-10-16T02:29:48+02:00: sync archive drive-scsi0.img.fidx

The openvpn connection seems to not be a problem, I can see while backup is running the connection can go down & up several times, without affect the sync (while it is really running).

Do you have any idea to debug this condition?
 
Hi,

this has to be done with tcpdump or increase the debug in OpenVPN.
If you get no error you could sure that the traffic is lost for some reason.
 

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!