PVE Version: 7.4-15
PBS Version: 2.4-3
I've had a weekly automatic backup job for a container that is currently 2.7TB, the connection speed is about 100mbps or slower
Not sure if relevant but the backup config:
- Compression: ZSTD
- Mode: Snapshot
It hasn't succeeded since June because it will always fail with the following logs after about two days:
PVE Logs:
PBS Logs:
I'm certain this is just because the network might drop once in a while whether it is the VPN I use or the actual internet connection at either end. Does PBS have a way to handle unreliable network connections and resume after a broken connection?
Also is there any reason Proxmox is transferring the entirety of the container rather than only what has changed?
Do I have better options for achieving a more reliable backup over a potentially spotty internet connection?
Side note: I'm not sure if this is fixed in newer versions of PBS, but the log viewer will crash chrome trying to render the entirety of a 40MB logfile if you don't click download and close the window fast enough
PBS Version: 2.4-3
I've had a weekly automatic backup job for a container that is currently 2.7TB, the connection speed is about 100mbps or slower
Not sure if relevant but the backup config:
- Compression: ZSTD
- Mode: Snapshot
It hasn't succeeded since June because it will always fail with the following logs after about two days:
PVE Logs:
Code:
INFO: starting new backup job: vzdump 206 --mode snapshot --mailnotification failure --node beta --storage mars-nextcloud --all 0 --notes-template '{{guestname}} routine remote backup' --mailto xxx
INFO: Starting Backup of VM 206 (lxc)
INFO: Backup started at 2023-09-24 19:13:47
INFO: status = running
INFO: CT Name: nextcloud
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
INFO: creating Proxmox Backup Server archive 'ct/206/2023-09-24T11:13:47Z'
INFO: run: /usr/bin/proxmox-backup-client backup --crypt-mode=none pct.conf:/var/tmp/vzdumptmp3954655_206/etc/vzdump/pct.conf fw.conf:/var/tmp/vzdumptmp3954655_206/etc/vzdump/pct.fw root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --skip-lost-and-found --exclude=/tmp/?* --exclude=/var/tmp/?* --exclude=/var/run/?*.pid --backup-type ct --backup-id 206 --backup-time 1695554027 --repository proxmox@pbs@172.22.2.1:beta-backup --ns nextcloud
INFO: Starting backup: [nextcloud]:ct/206/2023-09-24T11:13:47Z
INFO: Client name: beta
INFO: Starting backup protocol: Sun Sep 24 19:13:48 2023
INFO: Downloading previous manifest (Tue Jun 20 13:00:02 2023)
INFO: Upload config file '/var/tmp/vzdumptmp3954655_206/etc/vzdump/pct.conf' to 'proxmox@pbs@172.22.2.1:8007:beta-backup' as pct.conf.blob
INFO: Upload config file '/var/tmp/vzdumptmp3954655_206/etc/vzdump/pct.fw' to 'proxmox@pbs@172.22.2.1:8007:beta-backup' as fw.conf.blob
INFO: Upload directory '/mnt/vzsnap0' to 'proxmox@pbs@172.22.2.1:8007:beta-backup' as root.pxar.didx
INFO: HTTP/2.0 connection failed
INFO: catalog upload error - channel closed
INFO: Error: stream closed because of a broken pipe
INFO: cleanup temporary 'vzdump' snapshot
ERROR: Backup of VM 206 failed - command '/usr/bin/proxmox-backup-client backup '--crypt-mode=none' pct.conf:/var/tmp/vzdumptmp3954655_206/etc/vzdump/pct.conf fw.conf:/var/tmp/vzdumptmp3954655_206/etc/vzdump/pct.fw root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --skip-lost-and-found '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' --backup-type ct --backup-id 206 --backup-time 1695554027 --repository proxmox@pbs@172.22.2.1:beta-backup --ns nextcloud' failed: exit code 255
INFO: Failed at 2023-09-27 01:05:08
INFO: Backup job finished with errors
TASK ERROR: job errors
PBS Logs:
Code:
2023-09-24T19:13:49+08:00: starting new backup on datastore 'beta-backup': "ns/nextcloud/ct/206/2023-09-24T11:13:47Z"
2023-09-24T19:13:49+08:00: protocol upgrade done
2023-09-24T19:13:49+08:00: GET /previous_backup_time
2023-09-24T19:13:49+08:00: GET /previous
2023-09-24T19:13:49+08:00: download 'index.json.blob' from previous backup.
2023-09-24T19:13:49+08:00: POST /blob
2023-09-24T19:13:49+08:00: add blob "/mnt/datastore/beta-backup/ns/nextcloud/ct/206/2023-09-24T11:13:47Z/pct.conf.blob" (319 bytes, comp: 319)
2023-09-24T19:13:50+08:00: POST /blob
2023-09-24T19:13:50+08:00: add blob "/mnt/datastore/beta-backup/ns/nextcloud/ct/206/2023-09-24T11:13:47Z/fw.conf.blob" (64 bytes, comp: 64)
2023-09-24T19:13:50+08:00: POST /dynamic_index
2023-09-24T19:13:50+08:00: created new dynamic index 1 ("ns/nextcloud/ct/206/2023-09-24T11:13:47Z/catalog.pcat1.didx")
2023-09-24T19:13:50+08:00: GET /previous
2023-09-24T19:13:50+08:00: register chunks in 'root.pxar.didx' from previous backup.
2023-09-24T19:13:50+08:00: download 'root.pxar.didx' from previous backup.
2023-09-24T19:14:01+08:00: POST /dynamic_index
2023-09-24T19:14:01+08:00: created new dynamic index 2 ("ns/nextcloud/ct/206/2023-09-24T11:13:47Z/root.pxar.didx")
2023-09-24T19:14:02+08:00: POST /dynamic_chunk
... omitted 40mb of POST /dynamic_chunk
2023-09-27T00:48:49+08:00: upload_chunk done: 12341968 bytes, b8819371a5e3ec265b90535429c6a312e75fd33caeacaf35fb2bfe485f14571a
2023-09-27T00:48:50+08:00: POST /dynamic_chunk
2023-09-27T00:48:50+08:00: upload_chunk done: 5399224 bytes, 1d413b091f539b6d1eb94ee9049de9077d20a53fe5116b914ac61f9ee3d1a035
2023-09-27T01:05:00+08:00: backup failed: connection error: connection reset
2023-09-27T01:05:00+08:00: removing failed backup
2023-09-27T01:05:00+08:00: POST /dynamic_chunk: 400 Bad Request: error reading a body from connection: connection reset
2023-09-27T01:05:00+08:00: TASK ERROR: connection error: connection reset
I'm certain this is just because the network might drop once in a while whether it is the VPN I use or the actual internet connection at either end. Does PBS have a way to handle unreliable network connections and resume after a broken connection?
Also is there any reason Proxmox is transferring the entirety of the container rather than only what has changed?
Do I have better options for achieving a more reliable backup over a potentially spotty internet connection?
Side note: I'm not sure if this is fixed in newer versions of PBS, but the log viewer will crash chrome trying to render the entirety of a 40MB logfile if you don't click download and close the window fast enough