[PVE-User] pve3rc2: clone (or restore from backup) a vm via cmdline: vma: "got timeout"

Dietmar Maurer dietmar at proxmox.com
Wed May 22 10:09:20 CEST 2013


This works for me, for example:

# vzdump 100 --stdout|qmrestore - 500

Do you use the latest packages?

> -----Original Message-----
> From: Lutz Willek [mailto:l.willek at science-computing.de]
> Sent: Mittwoch, 22. Mai 2013 09:22
> To: Dietmar Maurer; pve-user at pve.proxmox.com
> Subject: RE: [PVE-User] pve3rc2: clone (or restore from backup) a vm via
> cmdline: vma: "got timeout"
> 
> Kvm: qmrestore.
> 
> The vzrestore sample was tanken from the man page.  I dont use openvz
> 
> 
> 
> -------- Original-Nachricht --------
> Von: Dietmar Maurer <dietmar at proxmox.com>
> Gesendet: Wed May 22 09:09:28 MESZ 2013
> An: Lutz Markus Willek <L.Willek at science-computing.de>, "pve-
> user at pve.proxmox.com" <pve-user at pve.proxmox.com>
> Betreff: RE: [PVE-User] pve3rc2: clone (or restore from backup) a vm via
> cmdline: vma: "got timeout"
> 
> qmrestoret is for KVM
> vzrestore if for OpenVZ
> 
> so please use vzrestore if 101 is a container.
> 
> > -----Original Message-----
> > From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-
> > bounces at pve.proxmox.com] On Behalf Of Lutz Markus Willek
> > Sent: Mittwoch, 22. Mai 2013 08:44
> > To: pve-user at pve.proxmox.com
> > Subject: [PVE-User] pve3rc2: clone (or restore from backup) a vm via cmdline:
> > vma: "got timeout"
> >
> > Hey there,
> >
> > I want to clone a vm via cmdline.
> >
> > In the good_old_days™ this task was easy, taken from the manpage of
> vzdump:
> > http://pve.proxmox.com/wiki/Vzdump_manual
> >
> > Clone an existing container 101 to container 300 using pipes
> >
> >         # vzdump 101 --stdout|vzrestore - 300
> >
> > This seems not working any longer in pve3.0rc2:
> >
> > > # vzdump 101 --dumpdir /tmp --mode stop --stdout | qmrestore
> > > --storage
> > > ha2 - 102 restore vma archive: vma extract -v -r
> > > /var/tmp/vzdumptmp8967.fifo -
> > > /var/tmp/vzdumptmp8967
> > > command 'vma extract -v -r /var/tmp/vzdumptmp8967.fifo -
> > > /var/tmp/vzdumptmp8967' failed: got timeout
> >
> > This seems related to this bug:
> > http://forum.proxmox.com/threads/13770-Restoring-from-backup-results-i
> > n-
> > quot-got-timeout-quot
> >
> > So, my question is how to do this task in pve3?
> > Anybody knows a workaround to circumvent the vma "got timeout" message?
> >
> > Thanks,
> >
> > Lutz Willek
> >
> >
> >
> >
> >
> >
> >
> >
> > Freundliche Grüße / Best Regards
> >
> >          Lutz Willek
> >
> > --
> > ________________________________creating IT solutions
> > Lutz Willek                     science + computing ag
> > Senior Systems Engineer         Geschäftsstelle Berlin
> > IT Services Berlin              Friedrichstraße 187
> > phone +49(0)30 2007697-21       10117 Berlin, Germany
> > fax   +49(0)30 2007697-11       www.science-computing.de
> > --
> > Vorstandsvorsitzender/Chairman of the board of management:
> > Gerd-Lothar Leonhart
> > Vorstand/Board of Management:
> > Dr. Bernd Finkbeiner, Michael Heinrichs, Dr. Arno Steitz, Dr. Ingrid
> > Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board:
> > Philippe Miltin
> > Sitz/Registered Office: Tuebingen
> > Registergericht/Registration Court: Stuttgart
> > Registernummer/Commercial Register No.: HRB 382196
> > _______________________________________________
> > pve-user mailing list
> > pve-user at pve.proxmox.com
> > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 
> Freundliche Grüße / Best Regards
> 
>         Lutz Willek
> 
> --
> ________________________________creating IT solutions
> Lutz Willek                                      science + computing ag
> Senior Systems Engineer            Geschäftsstelle Berlin
> IT Services Berlin                         Friedrichstraße 187
> phone +49(0)30 2007697-21     10117 Berlin, Germany
> fax   +49(0)30 2007697-11         www.science-computing.de
> 
> --
> Vorstandsvorsitzender/Chairman of the board of management:
> Gerd-Lothar Leonhart
> Vorstand/Board of Management:
> Dr. Bernd Finkbeiner, Michael Heinrichs, Dr. Arno Steitz, Dr. Ingrid Zech
> Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board:
> Philippe Miltin
> Sitz/Registered Office: Tuebingen
> Registergericht/Registration Court: Stuttgart Registernummer/Commercial
> Register No.: HRB 382196


More information about the pve-user mailing list