OpenVZ Forum


Home » General » Support » vzdump not supporting restore vzrestore not available
vzdump not supporting restore vzrestore not available [message #52040] Sun, 03 May 2015 12:45 Go to next message
spoke2u
Messages: 12
Registered: September 2013
Junior Member
From: *cpe.teksavvy.com
Freshly installed a copy of openvz kernel on a fresh debian 7.8 system
booted into it

trying to restore a vzdump from another server.

vzdump does not have the option restore
unable to find a deb for vzrestore can some one help!?

i am using the latest for my Wheezy. Wheezy missing the vzrestore package and shipping a vzdump that does not support restore? (note I can not post links so remove "://" below)

cat   /etc/apt/sources.list.d/openvz-rhel6.list
deb http download.openvz.org/debian wheezy main
deb http download.openvz.org/debian wheezy-test main
#nonfree  
deb http http.debian.net/debian/ wheezy main contrib non-free

dpkg -l vz\* | grep ^ii
ii  vzctl                                            4.9-1                      amd64        server virtualization solution - control tools
ii  vzdump                                           1.2.6-3                    all          OpenVZ backup scripts
ii  vzquota                                          3.1-1                      amd64        server virtualization solution - quota tools
ii  vzstats                                          0.5.3-1                    all          OpenVZ component to gather statistics to improve the project
root@VZHN:/# apt-get install vzrestore
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package vzrestore
root@VZHN:/# 

#command does not support restore
# vzdump --restore --exclude 1008 --dumpdir /var/lib/vz/private/1002 vzdump-openvz-1008-2015_05_02-21_31_10.tgz 1002
Unknown option: restore
usage: /usr/sbin/vzdump OPTIONS [--all | VMID]

        --exclude VMID          exclude VMID (assumes --all)
        --exclude-path REGEX    exclude certain files/directories
        --stdexcludes           exclude temorary files and logs

        --compress              compress dump file (gzip)
        --dumpdir DIR           store resulting files in DIR
        --maxfiles N            maximal number of backup files per VM
        --script FILENAME       execute hook script
        --storage STORAGE_ID    store resulting files to STORAGE_ID (PVE only)
        --tmpdir DIR            store temporary files in DIR

        --mailto EMAIL          send notification mail to EMAIL.
        --quiet                 be quiet.
        --stop                  stop/start VM if running
        --suspend               suspend/resume VM when running
        --snapshot              use LVM snapshot when running
        --size MB               LVM snapshot size

        --node CID              only run on pve cluster node CID
        --lockwait MINUTES      maximal time to wait for the global lock
        --stopwait MINUTES      maximal time to wait until a VM is stopped
        --bwlimit KBPS          limit I/O bandwidth; KBytes per second





so no way to restore ? do I have to some how find source and compile vzrestore where do I get it? I sorta have a 9 hour restore would like to finish tonight I am guessing that is not going to happen since restoring is not possible. all my searches refer to using vzdump with restore option or they just assume I have or can get with out telling me how to get the vzrestore.

Lost need help or at least some clarity!



--
I am unable to see

[Updated on: Sun, 03 May 2015 13:00]

Report message to a moderator

Re: vzdump not supporting restore vzrestore not available [message #52043 is a reply to message #52040] Sun, 03 May 2015 14:00 Go to previous message
spoke2u
Messages: 12
Registered: September 2013
Junior Member
From: *cpe.teksavvy.com
ok vzdump does not support restore anymore you have to type out
/usr/sbin/vzrestore ??

I manage to get it working. it looks like it was installed . possibly by the vzdump I installed. not clear on this.


--
I am unable to see
Previous Topic: OpenVZ Unable to access the outside internet
Next Topic: Why a custom kernel not a kernel module?
Goto Forum:
  


Current Time: Fri Jul 19 11:13:10 GMT 2019