[SOLVED] Unable to Backup CT from PVE to PBS

RajatSharma

New Member
Jan 6, 2023
28
9
3
22
India
www.sicherdata.tech
Hi everyone I run PVE and PBS in my homelab, due to failure of my UPS and sudden shutdown of my servers i got stuck on the GRUB welcome page in PVE which i resolved by working around the faulty ssd which had superblock issues and was not letting pve to boot. After this incident i am unable to backup CT to PBS. I have tried all solutions which came to my mind but no luck.
Please Help me out.
Code:
INFO: starting new backup job: vzdump 105 --notes-template '{{guestname}}' --mode snapshot --storage PBS-DL380G5 --remove 0 --node Sun-Ultra24
INFO: Starting Backup of VM 105 (lxc)
INFO: Backup started at 2023-01-21 16:15:24
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: HL-phpIPAM-CT
INFO: including mount point rootfs ('/') in backup
INFO: creating Proxmox Backup Server archive 'ct/105/2023-01-21T10:45:24Z'
INFO: run: lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client backup --crypt-mode=none pct.conf:/var/tmp/vzdumptmp40221_105/etc/vzdump/pct.conf 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 105 --backup-time 1674297924 --repository root@pam@192.168.0.175:Sun-Ultra24 --ns Sun-Ultra24-Containers
INFO: Starting backup: [Sun-Ultra24-Containers]:ct/105/2023-01-21T10:45:24Z
INFO: Client name: Sun-Ultra24
INFO: Starting backup protocol: Sat Jan 21 16:15:24 2023
INFO: No previous manifest available.
INFO: Upload config file '/var/tmp/vzdumptmp40221_105/etc/vzdump/pct.conf' to 'root@pam@192.168.0.175:8007:Sun-Ultra24' as pct.conf.blob
INFO: Upload directory '/mnt/vzsnap0' to 'root@pam@192.168.0.175:8007:Sun-Ultra24' as root.pxar.didx
INFO: catalog upload error - channel closed
INFO: Error: error at "var/cache/man/index.db": Input/output error (os error 5)
ERROR: Backup of VM 105 failed - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client backup '--crypt-mode=none' pct.conf:/var/tmp/vzdumptmp40221_105/etc/vzdump/pct.conf 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 105 --backup-time 1674297924 --repository root@pam@192.168.0.175:Sun-Ultra24 --ns Sun-Ultra24-Containers' failed: exit code 255
INFO: Failed at 2023-01-21 16:16:17
INFO: Backup job finished with errors
TASK ERROR: job errors




Looking forward to a solution. Thankyou in advance
 
Can you, from inside the container, read the file, using dd if=/var/cache/man/index.db of=/dev/null without errors? Error code 5 might indicate a disk error in the storage of the container.
 
Last edited:
Can you, from inside the container, read the file, using dd if=/var/cache/man/index.db of=/dev/null without errors? Error code 5 might indicate a disk error in the storage of the container.
Thanks for the help, i ran the command although the output was very slow no, errors showed up on the console. It seems all the CT and VM disk on the affected ssd are perhaps working slow. I have updated and reconfigured the SSD superblock from the 1st backup.

Now that i have the setup back (even though it's running slow) i am creating backup for all the VMs and CTs, after which i would do fresh install of PVE on the host again. As my setup is just a homelab and not a production setup i think i would be able to go as per my plans. Please let me know if i am correct.
 

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!