qmrestore problem

Marek Panek

New Member
Dec 11, 2010
7
0
1
Hi,

I've installed proxmox 2.0 and wanted to move few VMs from 1.9 to new environment.

root@vps6:~# pveperf
CPU BOGOMIPS: 68265.08
REGEX/SECOND: 868220
HD SIZE: 94.49 GB (/dev/mapper/pve-root)
BUFFERED READS: 269.76 MB/sec
AVERAGE SEEK TIME: 5.48 ms
FSYNCS/SECOND: 2750.76
DNS EXT: 63.96 ms
DNS INT: 56.50 ms (lh.pl)
root@vps6:~# uname -a
Linux vps6 2.6.32-6-pve #1 SMP Mon Sep 26 10:35:47 CEST 2011 x86_64 GNU/Linux

root@vps6:/mnt/pve/backup/tr# qmrestore vzdump-qemu-125-2011_10_13-14_07_50.tar 125
INFO: restore QemuServer backup 'vzdump-qemu-125-2011_10_13-14_07_50.tar' using ID 125
INFO: extracting 'qemu-server.conf' from archive
INFO: extracting 'vm-disk-virtio0.raw' from archive
INFO: Undefined subroutine &PVE::Storage::load_config called at /usr/sbin/qmrestore line 194.
INFO: tar: vm-disk-virtio0.raw: Cannot write: Broken pipe
INFO: tar: 2522: Child returned status 25
INFO: tar: Exiting with failure status due to previous errors
INFO: starting cleanup
command 'tar xf 'vzdump-qemu-125-2011_10_13-14_07_50.tar' '--to-command=/usr/sbin/qmrestore vzdump-qemu-125-2011_10_13-14_07_50.tar 125 --extract'' failed with exit code 2


What is the reason of this error?
 
Hi,

I thought it was not implemented via web interface, but available through CLI, but it is not the case :

# which vzdump
/usr/sbin/vzdump

# vzdump --snapshot --storage lx-ape2 --maxfiles 1 101
Undefined subroutine &PVE::Storage::load_config called at /usr/share/perl5/PVE/VZDump.pm line 173.

I think this is something that really is missing in PVE 2.0 (at least CLI).

Alain
 
..

I think this is something that really is missing in PVE 2.0 (at least CLI).

Alain

yes, backup restore is very important and that exactly where we are working on the moment.
 

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!