Newly installed PVE8 with kernal 6.2.16-3, PBS3.0-2 was installed in a LXC container in the PVE, just want to have a easy way to manage my entire homelab under the PVE node, including the VM/CT and the PVE host itself.
All the other backup tasks for VM/CT where running well, but now I was blocked with using proxmox-backup-client to backup my PVE host with below script
After several tries, always get the same error in the shell
It won't be a hardware issue as all harddisks passed the check, all enterprise SSDs.
Then I checked the log on PBS side, all these tasks were failed after execution around 10mins, similar error like this
Since both PBS and PVE is in the same intranet, I don't this is a network issue, can somebody help me to figure out the root cause and possible solution?
Great thanks in advance.
All the other backup tasks for VM/CT where running well, but now I was blocked with using proxmox-backup-client to backup my PVE host with below script
Bash:
#!/bin/bash
lvremove -y pve/root_snapshot || true # remove previous pve/root snapshot if there has
lvcreate -pr -L 4.95G --monitor y --snapshot --name root_snapshot pve/root # create a new snapshot for pve/root
export PBS_PASSWORD_FILE=/etc/pve/priv/storage/Backup_Root.pw # define password for PBS
proxmox-backup-client backup root.img:/dev/pve/root_snapshot --backup-type host --repository backup@pbs@192.168.1.225:Backup --ns PVE_Root # backup snapshot and upload to PBS server
lvremove -y pve/root_snapshot # remove the snapshot after backup
After several tries, always get the same error in the shell
Code:
Upload image '/dev/pve/root_snapshot' to 'backup@pbs@192.168.1.225:8007:Backup' as root.img.fidx
Error: Input/output error (os error 5)
Then I checked the log on PBS side, all these tasks were failed after execution around 10mins, similar error like this
Code:
2023-08-21T18:09:53+08:00: successfully added chunk 9f866250c9e7b07d7e1c2178ccbae5ea2d95dcb2509f51df23b518ec99042d2e to fixed index 1 (offset 89468698624, size 4194304)
2023-08-21T18:09:53+08:00: successfully added chunk 1eb11c6f6b74df8c41936b287ce0d0c4e724a5c5195dd1586c3867abb53ca26f to fixed index 1 (offset 89472892928, size 4194304)
2023-08-21T18:09:53+08:00: backup failed: connection error: not connected
2023-08-21T18:09:53+08:00: removing failed backup
Since both PBS and PVE is in the same intranet, I don't this is a network issue, can somebody help me to figure out the root cause and possible solution?
Great thanks in advance.