PBS Error when restoring CT from backup

tipra28

Member
Jan 1, 2021
3
0
6
34
Hey So i've been having issues restoring from Proxmox Backup Server:
I've tried restoring to the same node and to a different node in my cluster.
My LXC docker container got messed up after I tried doing the Intel VAAPI passthrough to have hardware encoding/ decoding for jellyfin. Log as below:
Any help would be helpful :)

Code:
Logs
  Logical volume "vm-103-disk-0" created.
mke2fs 1.44.5 (15-Dec-2018)
Discarding device blocks:    4096/8388608               done                           
Creating filesystem with 8388608 4k blocks and 2097152 inodes
Filesystem UUID: 178da1ac-78c0-4b36-9c0a-2cdf20f42528
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624

Allocating group tables:   0/256       done                           
Writing inode tables:   0/256       done                           
Creating journal (65536 blocks): done
Multiple mount protection is enabled with update interval 5 seconds.
Writing superblocks and filesystem accounting information:   0/256       done

Error: error extracting archive - error at entry "random": failed to restore mtime attribute on "random": Operation not permitted (os error 1)
  Logical volume "vm-103-disk-0" successfully removed
TASK ERROR: unable to restore CT 103 - command '/usr/bin/proxmox-backup-client restore '--crypt-mode=none' ct/102/2020-12-31T00:00:53Z root.pxar /var/lib/lxc/103/rootfs --allow-existing-dirs --repository root@pam@192.168.1.252:backup' failed: exit code 255
 
hi,

mtime issues are known [0]

you can track the bug fix progress on the link

[0]: https://bugzilla.proxmox.com/show_bug.cgi?id=3026
Hey Thanks for replying, I did find my way to the bug reports and am waitin for them to be sorted out. At presently is there any way to restore excluding just that one file which is making issues in my case (i know the path to the file). Or if i can find that file in the chunks and delete it at source, and then just do a restore.
 
you could try to restore files via the catalog shell of proxmox-backup-client
 
you could try to restore files via the catalog shell of proxmox-backup-client
Please advise whether this would be the right way (im new to the commandline usage)

1. Make a new LXC Container and mount the drive [need help on how to do this]
2. On the proxmox host export the PBS Repository using export PBS_REPOSITORY=xyz
3. proxmox-backup-client catalog shell SNAPSHOTNAME root.pxar

in the new shell

4. use restore or restore-selected to restore all the files to the LXC container filesystem
5. Reboot the LXC container.
 

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!