Article ID: 125493, created on May 13, 2015, last review on May 20, 2015

  • Applies to:
  • Virtuozzo 6.0
  • Virtuozzo containers for Linux
  • Virtual Automation


Restore a backup via vzrestore on remote node fails with similar errors:

    # vzrestore -d -t -e 11724:13999
    Starting restore CT 11724:13999( on node
    root@'s password:
     You are using a deprecated utility that will be dropped in the next
    major release. Please use prlctl backup instead.

    hostname: `Host' unknown
    Created /vz/tmp/tmp0Vh0uZ
    Starting - /usr/share/vzbackup-6.0.9-26/vzrestore1 --ve-layout 04 -t  11724:13999 .
    hostname: `Host' unknown
    Can not get host name
    Cleaning up...
    Failed to restore CT 11724:13999 tag


    # vzrestore -d -e 1716
    hostname: Unknown host
    hostname: Unknown host
    Starting restore CT 1716(2014-08-05T130238-0700@vzlin05) on node
    hostname: Unknown host
    Created /vz/tmp/tmpn18E2a
    Starting - /usr/share/vzbackup-4.7.0-3/vzrestore1 --ve-layout 04 -t 2014-08-05T130238-0700@vzlin05  1716 .
    hostname: Unknown host
    Can not get host name
    Cleaning up...
    Failed to restore CT 1716 tag 2014-08-05T130238-0700@vzlin05.


Server hostname should be resolvable for both source and target node if you are using vzrestore.


  1. If the hostname itself not resolvable,

     ~]# hostname
     ~]# host vzlin05.test.local 
    Host vzlin05.test.local not found: 3(NXDOMAIN)

    add it to /etc/hosts:

     ~]# grep vzlin05 /etc/hosts vzlin05.test.local 
  2. If the hostname itself is resolvable, check that /etc/hosts has no incorect records in it, like:

     ~]# host has address
     ~]# cat /etc/hosts localhost localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 pvasqlserveraddress

Search Words

Failed to restore

Can not get host name


hostname: Unknown host

319940068c5fa20655215d590b7be29b 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f e8e50b42231236b82df27684e7ec0beb c62e8726973f80975db0531f1ed5c6a2 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF