[SOLVED] Restore of LXC-Backups not working

cleitgeb

New Member
Feb 26, 2016
2
0
1
35
I am trying to restore LXC-Backups, which were made by Proxmox Backup.

It actually only deleted my container and throws the following error:

TASK ERROR: Undefined subroutine &PVE::Storage::extract_vzdump_config_tar called at /usr/share/perl5/PVE/LXC/Create.pm line 73.

I tried the restoration from a network datastore, but also different local datastores -> nothing worked.

I am on the newest stable Proxmox VE Community release.
Please help.
 
Hi Dominik,

i am the co-admin of the affected proxmox host.

Output of pveversion -v is:
Code:
proxmox-ve: not correctly installed (running kernel: 4.2.8-1-pve)
pve-manager: 4.1-15 (running version: 4.1-15/8cd55b52)
pve-kernel-4.2.8-1-pve: 4.2.8-41
pve-kernel-2.6.32-44-pve: 2.6.32-171
lvm2: 2.02.116-pve2
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-33
qemu-server: 4.0-85
pve-firmware: 1.1-8
libpve-common-perl: 4.0-71
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-42
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-qemu-kvm: 2.6-1
pve-container: 1.0-72
pve-firewall: 2.0-29
pve-ha-manager: 1.0-33
ksm-control-daemon: not correctly installed
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.3-4
lxcfs: 2.0.2-pve1
cgmanager: 0.39-pve1
criu: 1.6.0-1

Due to a bug in a previous version, we had to use the pvetest repository as suggested in the forum.
So the question is now: Go back to stable or keep it running on the pvetest repo?

kind regards
Fabian
 
As i have seen, that apt-get upgrade did not completely upgrade everything, so i did a apt-get dist-upgrade and this are the versions now:
Code:
proxmox-ve: not correctly installed (running kernel: 4.2.8-1-pve)
pve-manager: 4.2-17 (running version: 4.2-17/e1400248)
pve-kernel-4.2.8-1-pve: 4.2.8-41
pve-kernel-2.6.32-44-pve: 2.6.32-171
lvm2: 2.02.116-pve2
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-43
qemu-server: 4.0-85
pve-firmware: 1.1-8
libpve-common-perl: 4.0-71
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-56
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-qemu-kvm: 2.6-1
pve-container: 1.0-72
pve-firewall: 2.0-29
pve-ha-manager: 1.0-33
ksm-control-daemon: not correctly installed
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.3-4
lxcfs: 2.0.2-pve1
cgmanager: 0.39-pve1
criu: 1.6.0-1

The "not installed correctly" does not instill a lot of confidence in me. ;-)

kind regards
Fabian
 
Last edited by a moderator:
Sorry for the tripple-post.:confused:

Finally, the restore does work again, and the vanished container ID 303 came back to life. :)
All i had to do, was a apt-get install proxmox-ve which fixed the "not correctly installed"-error.

I cannot see how this could have happened - leaving proxmox-ve in an unclear installation state. But in the end, it works now.

kind regards,
Fabian
 
this happens if you misconfigure your repositories and don't read the apt-get output (it will tell you when packages are removed) or when you run "apt-get upgrade" instead of "apt-get dist-upgrade"
 
Hi, Im having the same error:
TASK ERROR: Undefined subroutine &PVE::Storage::extract_vzdump_config_tar called at /usr/share/perl5/PVE/LXC/Create.pm line 76

But when im making "pveversion -v" i dont have "not correctly installed" package. Im using "Proxmpx 4.2:
Code:
proxmox-ve: 4.1-34 (running kernel: 4.2.6-1-pve)
pve-manager: 4.2-4 (running version: 4.2-4/2660193c)
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.2.2-1-pve: 4.2.2-16
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-32
qemu-server: 4.0-86
pve-firmware: 1.1-9
libpve-common-perl: 4.0-72
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-40
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-qemu-kvm: 2.6.1-2
pve-container: 1.0-73
pve-firewall: 2.0-29
pve-ha-manager: 1.0-33
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.4-1
lxcfs: 2.0.3-pve1
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5.7-pve10~bpo80

Any one can help me pls ?

Thx
 
Hi!

Thanks for the quick answer, i'm understanding. I'll upgrade soon :)

Best regards,
Charles