Article ID: 117747, created on Oct 6, 2013, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo
  • Virtuozzo containers
  • Virtuozzo hypervisor
  • Virtual Automation


How do I restore a container from a backup on the same host, using a different container ID, through PVA XML API request?


IMPORTANT: Before using this method, make sure you are using the latest available version of PVA Agent.

The following XML API request can be used for this task :


where :

  • backup_id can be obtained with vzarestore -l -f -e CTID command, example :

    ~# vzarestore -l -f -e 101
    Show existing backups...
    CTID: 101
    Title: test
    Type:  full
    BackupID: 7530d863-15fc-394a-a602-6fd564d5d067/20130922192727  <---------!!!
    Parent environment:
    Size: 975.04 Mb
    Creation date: 2013-09-23T022727+0007
  • parent_eid is the EID of the hardware node, can be found in /var/opt/pva/agent/etc/eid file :

    ~# cat /var/opt/pva/agent/etc/eid
  • target is a new EID that will be used for the container, can be generated with uuidgen command :

    ~# uuidgen

Search Words

Operation failed: Can't parse vzagent message




different ctid

xml api

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f 319940068c5fa20655215d590b7be29b 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF