<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Martinmaurer</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Martinmaurer"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/Martinmaurer"/>
	<updated>2026-05-15T19:58:40Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=15123</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=15123"/>
		<updated>2014-03-15T11:12:48Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Backup considerations, live migration, and HA Cluster */  updated dead link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway 2.2 template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as with full virtualization - due to the minimal overhead. Proxmox offers free and commercial licenses. &lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
I assume you have already a running OpenVZ server. This howto is based on an fresh CentOS 4.4 installation with OpenVZ kernel 2.6.9 but should also work with all other combinations. I used a Dual Xeon with 2 GB RAM.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Download the Proxmox OpenVZ template:&lt;br /&gt;
 wget http://download.proxmox.com/appliances/mail/debian-6.0-proxmox-mailgateway_3.1-2_amd64.tar.gz&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
== Create a default config ==&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file &amp;lt;code&amp;gt;/etc/vz/conf/ve-default.conf-sample&amp;lt;/code&amp;gt; which contains reasonable defaults if you plan to run 5 containers:&lt;br /&gt;
 vzsplit -n 5 -f default&lt;br /&gt;
&lt;br /&gt;
== Create a container ==&lt;br /&gt;
&lt;br /&gt;
Choose a free CT ID, we use 777 for this guide.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-6.0-proxmox-mailgateway_3.1 --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure the container ==&lt;br /&gt;
&lt;br /&gt;
Set IP address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your environment.&lt;br /&gt;
&lt;br /&gt;
 vzctl set 777 --onboot yes --ipadd 192.168.2.110 \&lt;br /&gt;
   --nameserver 192.168.2.100 --nameserver 192.168.2.101 \&lt;br /&gt;
   --hostname proxmox --searchdomain yourdomain.tld --save&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 1024MB, maximum disk space to 4GB.&lt;br /&gt;
&lt;br /&gt;
 vzctl set 777 --vmguarpages 1024M:unlimited --privvmpages 1G:1100M --diskspace 4000M:4400M --save&lt;br /&gt;
&lt;br /&gt;
== Start the container ==&lt;br /&gt;
&lt;br /&gt;
 vzctl start 777&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
 vzctl set 777 --userpasswd root:YOURPASSWORD&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      CTID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Backup considerations, live migration, and HA Cluster ==&lt;br /&gt;
You can run the mail gateway on any OpenVZ platform and on the [http://pve.proxmox.com/wiki/Proxmox_VE_2.0_Cluster Proxmox VE Cluster]. This include live-migration and online backups.&lt;br /&gt;
&lt;br /&gt;
For online backups, see [[backup of a running container with vzdump]].&lt;br /&gt;
&lt;br /&gt;
For live migration, see [[checkpointing and live migration]].&lt;br /&gt;
&lt;br /&gt;
For HA Cluster, see [[HA cluster with DRBD and Heartbeat]] and [http://www.proxmox.com/proxmox-mail-gateway/features feature page on Proxmox].&lt;br /&gt;
&lt;br /&gt;
== Proxmox configuration ==&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com/&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=15122</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=15122"/>
		<updated>2014-03-15T11:09:33Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Updated links and minor updates&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway 2.2 template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as with full virtualization - due to the minimal overhead. Proxmox offers free and commercial licenses. &lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
I assume you have already a running OpenVZ server. This howto is based on an fresh CentOS 4.4 installation with OpenVZ kernel 2.6.9 but should also work with all other combinations. I used a Dual Xeon with 2 GB RAM.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Download the Proxmox OpenVZ template:&lt;br /&gt;
 wget http://download.proxmox.com/appliances/mail/debian-6.0-proxmox-mailgateway_3.1-2_amd64.tar.gz&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
== Create a default config ==&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file &amp;lt;code&amp;gt;/etc/vz/conf/ve-default.conf-sample&amp;lt;/code&amp;gt; which contains reasonable defaults if you plan to run 5 containers:&lt;br /&gt;
 vzsplit -n 5 -f default&lt;br /&gt;
&lt;br /&gt;
== Create a container ==&lt;br /&gt;
&lt;br /&gt;
Choose a free CT ID, we use 777 for this guide.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-6.0-proxmox-mailgateway_3.1 --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure the container ==&lt;br /&gt;
&lt;br /&gt;
Set IP address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your environment.&lt;br /&gt;
&lt;br /&gt;
 vzctl set 777 --onboot yes --ipadd 192.168.2.110 \&lt;br /&gt;
   --nameserver 192.168.2.100 --nameserver 192.168.2.101 \&lt;br /&gt;
   --hostname proxmox --searchdomain yourdomain.tld --save&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 1024MB, maximum disk space to 4GB.&lt;br /&gt;
&lt;br /&gt;
 vzctl set 777 --vmguarpages 1024M:unlimited --privvmpages 1G:1100M --diskspace 4000M:4400M --save&lt;br /&gt;
&lt;br /&gt;
== Start the container ==&lt;br /&gt;
&lt;br /&gt;
 vzctl start 777&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
 vzctl set 777 --userpasswd root:YOURPASSWORD&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      CTID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Backup considerations, live migration, and HA Cluster ==&lt;br /&gt;
You can run the mail gateway on any OpenVZ platform and on the [http://pve.proxmox.com/wiki/Proxmox_VE_2.0_Cluster Proxmox VE Cluster]. This include live-migration and online backups.&lt;br /&gt;
&lt;br /&gt;
For online backups, see [[backup of a running container with vzdump]].&lt;br /&gt;
&lt;br /&gt;
For live migration, see [[checkpointing and live migration]].&lt;br /&gt;
&lt;br /&gt;
For HA Cluster, see [[HA cluster with DRBD and Heartbeat]] and [http://www.proxmox.com/products/proxmox-mail-gateway/mail-gateway-ha-cluster/ proxmox.com].&lt;br /&gt;
&lt;br /&gt;
== Proxmox configuration ==&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com/&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Partners&amp;diff=15121</id>
		<title>Partners</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Partners&amp;diff=15121"/>
		<updated>2014-03-15T10:59:49Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Proxmox */  - updated links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are some companies that are working together with OpenVZ project in one or another way. Feel free to add your company profile here ('''in alphabetical order''').&lt;br /&gt;
&lt;br /&gt;
{{Note|Hosting service providers should add their entries to [[Hosting providers]], not here. Thanks.}}&lt;br /&gt;
&lt;br /&gt;
== K7 Computing ==&lt;br /&gt;
[http://www.fluidvm.com BinaryKarma], now acquired by K7 Computing is offering an multi-hypervisor platform, FluidVM that also supports OpenVZ, apart from Xen. FluidVM supports local and SAN storage and is also extensible via an XML-RPC based API. FluidVM ships with a browser based interface with which users can manage multiple servers and VEs. BinaryKarma is also the developer of [http://sourceforge.net/projects/easyvz/ EasyVZ], a GPL'd free GUI available for OpenVZ.&lt;br /&gt;
&lt;br /&gt;
== Blended Perspectives ==&lt;br /&gt;
&lt;br /&gt;
[http://www.blendedperspectives.com Blended Perspectives] is a strategy-to-execution consultancy based in Toronto, Canada. Our core offerings are centered on provision of Wiki platforms and OpenVZ is a favoured host operating environment to achieve scale and resiliency.&lt;br /&gt;
&lt;br /&gt;
== ClearCorp ==&lt;br /&gt;
&lt;br /&gt;
[http://www.clearcorp.co.cr ClearCorp] provides '''Complete Custom Solutions''' using OpenSource tools. As a part of our group, [http://www.clearnet.co.cr ClearNet] use OpenVZ to do very fast server provisioning and to implement scalable and reliable network designs. We are also working directly with the [http://www.softwarelibrecr.org RCSL] (Costarican Free Software Network).&lt;br /&gt;
&lt;br /&gt;
== Computer Tyme ==&lt;br /&gt;
[http://ctyme.com Computer Tyme] is using OpenVZ for their spam filtering service [http://junkemailfilter.com Junk Email Filter dot com]. They are active proponents of OpenVZ; Marc Perkel worked at the OpenVZ booth during LinuxWorld Expo 2007.&lt;br /&gt;
&lt;br /&gt;
== Fortech I.T. Solutions ==&lt;br /&gt;
[http://FortechITSolutions.ca Fortech I.T. Solutions] is an IT consulting company based in Halifax (Nova Scotia, Canada) specializing in open-source solutions. We offer services in a variety of areas, including virtualization solutions based on a number of platforms - including OpenVZ.&lt;br /&gt;
&lt;br /&gt;
== Fry-IT Ltd ==&lt;br /&gt;
[http://www.fry-it.com Fry-IT Ltd] is a London based web, mobile and hosting consultancy and among the services we provide are system solutions involving Clustering, Load Balancing and High Availability, with OpenVZ as the virtualization technology of choice.&lt;br /&gt;
&lt;br /&gt;
An example of our consulting work is the OpenVZ cluster powering 6 applications at [http://www.da.mod.uk/ MOD Defence Academy] in the UK, the public website being one of the applications. To our clients, hosted with us or running their own infrastructure, we provide a complete solution from custom OpenVZ scripts, a container resource limits management web application to thorough documentation of system management procedures.&lt;br /&gt;
&lt;br /&gt;
== Impulso Srl ==&lt;br /&gt;
[http://impulso.it Impulso] offers white label Internet Services and uses OpenVZ cluster for their managed email services like [http://postalinda.it Posta Linda]. Impulso also offers support for OpenVZ in Italy.&lt;br /&gt;
&lt;br /&gt;
== Inguza Technology AB ==&lt;br /&gt;
[http://inguza.com/ Inguza Technology AB] maintains the Debian GNU Linux version of OpenVZ.&lt;br /&gt;
&lt;br /&gt;
== LastSpam ==&lt;br /&gt;
[http://www.lastspam.com LastSpam] offers managed e-mail security services (anti-spam and anti-virus/bad content) and uses OpenVZ to deliver excellent service and support to its customers.  Ugo Bellavance, LastSpam's head server architect and manager is an active member of the OpenVZ community: helping on the forum, making suggestions, and submitting patches.&lt;br /&gt;
&lt;br /&gt;
== netVOICE communications ==&lt;br /&gt;
[http://www.netvoice.ca/ netVOICE communications] is an Internet Telephony Service Provider (ITSP) that uses OpenVZ as the basis for their [http://www.vpas.ca/ Virtual Private Asterisk Server (VPAS)] offering. They also offer consulting on running Asterisk (the leading Open Source telephony platform) on OpenVZ. netVOICE is a Digium Approved Reseller and has a Digium Certified Asterisk Professional [http://www.digium.com/en/training/certifications/ (dCAP)] on staff.&lt;br /&gt;
&lt;br /&gt;
== Openwall ==&lt;br /&gt;
&lt;br /&gt;
At [http://www.openwall.com Openwall], we develop our own Open Source software with a focus on security, including [http://www.openwall.com/Owl/ Openwall GNU/*/Linux] (or Owl for short), a security-enhanced server platform.&lt;br /&gt;
Our [http://www.openwall.com/services/ professional services] include remote installation (you boot off CD, we do the rest) and maintenance (systems and security administration) of OpenVZ-enabled servers and mini-networks of such servers.  We typically use the OpenVZ kernel, the Owl userland for the host system, and arbitrary Linux distributions for the containers (most often that's Owl as well - with additional software to meet your needs).  We readily have software solutions for provision of advanced LAMP hosting with cross virtual host security separation within each container (that is, not only the containers are separated due to OpenVZ, but also virtual hosts within containers are separated at the OS level), multi-server backups (incremental, remote, encrypted, integrity-checked), monitoring (many custom Nagios sensors, including for things such as backups, filesystem errors, RAID status, etc.), and more.&lt;br /&gt;
&lt;br /&gt;
== OpenWorx ==&lt;br /&gt;
&lt;br /&gt;
[http://www.openworx.nl OpenWorx] is an IT company specialized for small and medium scaled business. Support on Linux and Open Source: webapplications, virtualization (OpenVZ), linux desktops and servers (Ubuntu, Debian, Centos).&lt;br /&gt;
&lt;br /&gt;
== Planettel ==&lt;br /&gt;
[http://www.planettel.com.sg PlaNetTel] Asia Pacific Pte Ltd is a Singapore registered company providing OpenVZ support and appliances besides other Open Source technologies with a focus on SaaS and Asterisk based CRM services. Development and support is assisted by Open Source developer [http://www.apmuthu.com Ap.Muthu] and Marketing and Sales by [http://www.planettel.com.sg Thomas Festus]. The OpenVZ Templates contributed and supported by use include [http://pve.proxmox.com/wiki/EyeOS eyeOS], [http://pve.proxmox.com/wiki/VTigerCRM vTigerCRM], [http://pve.proxmox.com/wiki/OpenGOO OpenGOO / FengOffice], [http://pve.proxmox.com/wiki/FrontAccounting FrontAccounting], [http://pve.proxmox.com/wiki/Moodle Moodle], MediaWiki v1.16., Joomla v1.6, SimpleGroupWare among others. '''Support''' for Planettel / [http://www.gnuacademy.org GNUAcademy] released OpenVZ Templates is '''[http://www.planettel.com.sg/contact-us/hosted-appliance-order available]'''.&lt;br /&gt;
&lt;br /&gt;
== Proxmox ==&lt;br /&gt;
&lt;br /&gt;
[http://pve.proxmox.com Proxmox VE] is an easy to use Open Source virtualization platform for running pre-built Virtual Appliances and Virtual Machines (based on OpenVZ and [http://www.linux-kvm.org KVM] for full virtualization). &lt;br /&gt;
&lt;br /&gt;
The Proxmox spam filtering appliance can run as an OpenVZ container. (see [[Proxmox Mail Gateway in container]]). Proxmox is also the author of [[Vzdump]] utility.&lt;br /&gt;
&lt;br /&gt;
== Revolution Linux ==&lt;br /&gt;
&lt;br /&gt;
[http://www.revolutionlinux.com/ Revolution Linux] is an IT company specialized in large scale infrastructure deployement using Open Source technologies. Most/all of our deployements rely extensively on containers (OpenVZ and Linux Vserver). We also offer OpenVZ training to our customers when deploying an infrastructure.&lt;br /&gt;
&lt;br /&gt;
== SNB ==&lt;br /&gt;
[http://www.snb.at SNB] uses OpenVZ for own services and supports servers managed or in customers environments. In common vm's are deployed with RedHat/CentOS. SNB offers many standard vm's as mailserver with antispam, webserver, monitoring services, mysql-server &amp;amp; cluster ...&lt;br /&gt;
&lt;br /&gt;
== Solarspeed Ltd. ==&lt;br /&gt;
[http://www.solarspeed.net Solarspeed Ltd.] is a CentOS + BlueQuartz server specialist, selling server systems and software solutions. We developed [http://www.aventurin.net Aventurin{e}], which is a Linux Virtualization Appliance Software. It is based on OpenVZ and is available in a non-clustering and a clustering version. The clustering version uses DRBD and Heartbeat. The GUI interface of [http://www.aventurin.net Aventurin{e}] is based on the [http://www.bluequartz.org BlueQuartz] and allows to easily manage and create virtual servers or to perform administrative tasks on the master node. [http://www.aventurin.net Aventurin{e}] is available as [http://www.solarspeed.net/cart.php?target=product&amp;amp;product_id=16261&amp;amp;category_id=272 ISO image download], as a ready to run [http://www.solarspeed.net/cart.php?target=product&amp;amp;product_id=16263&amp;amp;category_id=272 Linux Virtualization Appliance] or as a ready to run [http://www.solarspeed.net/cart.php?target=product&amp;amp;product_id=16264&amp;amp;category_id=272 Linux Virtualization Appliance Cluster].&lt;br /&gt;
&lt;br /&gt;
== Solutions First ==&lt;br /&gt;
[http://www.solutionsfirst.com.au Solutions First] is a Linux and Open Source infrastructure specialist company. Amongst many other FOSS products, we sell and support OpenVZ for our customers. We are happy to provide support of OpenVZ any Asia-Pacific customers. We have experience in generic container hosting environments, templated applications, HA clusters and much more OpenVZ specific applications.&lt;br /&gt;
&lt;br /&gt;
== SpiderTools.com ==&lt;br /&gt;
[http://spidertools.com SpiderTools] provides training for OpenVZ servers.  Students work on live servers to gain skills on how to implement OpenVZ.  20% of all sales go back to OpenVZ for development.  Students will get 6 weeks of live instruction and support.&lt;br /&gt;
&lt;br /&gt;
== Thomas-Krenn.AG ==&lt;br /&gt;
[http://www.thomas-krenn.com/ Thomas-Krenn.AG] is a server specialist, selling server systems and solutions. One of the solution products is a pre-installed [http://www.thomas-krenn.com/en/system-solutions/ha-linux-cluster.html cluster system], built with Virtuozzo. They published how to build such a cluster with OpenVZ at [[HA cluster with DRBD and Heartbeat]].&lt;br /&gt;
&lt;br /&gt;
== Unixservice ==&lt;br /&gt;
[http://www.unixservice.com/ Unixservice] provides SLAs for critical internet infrastructure provisioning. As we have grown over the past 10 years we have become fervent advocates of running such services on a grid/cluster of OpenVZ (or Virtuozzo) servers. The main R&amp;amp;D team leader has just released our own C based unxsVZ grid/cluster manager (unxsVZ) released under a GPL license, including  [http://openisp.net/openisp/unxsVZ/wiki/UBCAutonomics autonomic functions] that we have developed based on discrete mathematics and CMU/IBM research. [http://openisp.net/openisp/unxsVZ unxsVZ source, yum repository and RPMs here.] Call us now with questions; we even provide free deployment support and container tuning support for DNS/BIND, RADIUS, HTTP Apache hosting, ESMTP stores, ESMTP out and MX edge server farms on large VZ grids.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Hosting providers]] — HSPs using OpenVZ&lt;br /&gt;
* [[Download mirrors]] — people and companies providing mirrors for OpenVZ software&lt;br /&gt;
* [[Control panels]]&lt;br /&gt;
* [[2006 contributions]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=9126</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=9126"/>
		<updated>2010-09-19T09:34:02Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vzdump is a utility to make consistent snapshots of running OpenVZ containers (and KVM virtual machines if you are using [http://pve.proxmox.com Proxmox VE]). It basically creates a tar archive of the container's private area, which also includes the CT configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
* Stop the CT during backup (very long downtime)&lt;br /&gt;
* Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
* Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://download.proxmox.com.&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://download.proxmox.com/debian/dists/lenny/pve/binary-amd64/vzdump_1.2-7_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For future versions, Proxmox will not release rpm´s, so you need to take a look at the sources. (maybe someone else can maintain vzdump rpm packages?)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-1.2-5.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_1.2-7_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
see also: &lt;br /&gt;
&amp;lt;pre&amp;gt;man vzdump&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vzdump OPTIONS [--all | &amp;lt;VMID&amp;gt;]&lt;br /&gt;
       --exclude VMID          exclude VMID (assumes --all)&lt;br /&gt;
       --exclude-path REGEX    exclude certain files/directories. You&lt;br /&gt;
                               can use this option more than once to specify&lt;br /&gt;
                               multiple exclude paths&lt;br /&gt;
       --stdexcludes           exclude temporary files and logs&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
       --storage STORAGE_ID    store resulting files to STORAGE_ID (PVE only)&lt;br /&gt;
       --script                execute hook script&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
       --maxfiles N            maximal number of backup files per VM.&lt;br /&gt;
       --tmpdir DIR            store temporary files in DIR. --suspend and --stop&lt;br /&gt;
                               are using this directory to store a copy of the VM.&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL. You can use&lt;br /&gt;
                               this option more than once to specify multiple&lt;br /&gt;
                               receivers&lt;br /&gt;
       --stop                  stop/start VM if running&lt;br /&gt;
       --suspend               suspend/resume VM when running&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
       --size MB               LVM snapshot size (default 1024)&lt;br /&gt;
       --bwlimit KBPS          limit I/O bandwidth; KBytes per second&lt;br /&gt;
       --lockwait MINUTES      maximal time to wait for the global&lt;br /&gt;
                               lock. vzdump uses a global lock file to make&lt;br /&gt;
                               sure that only one instance is running&lt;br /&gt;
                               (running several instance puts too much load&lt;br /&gt;
                               on a server). Default is 180 (3 hours).&lt;br /&gt;
       --stopwait MINUTES      maximal time to wait until a VM is stopped.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].&lt;br /&gt;
&lt;br /&gt;
=== Backup ===&lt;br /&gt;
&lt;br /&gt;
Simply dump CT 777 — no snapshot, just archive the container private area and configuration files to the default dump directory (usually &amp;lt;code&amp;gt;/vz/dump/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 vzdump 777&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend 777&lt;br /&gt;
&lt;br /&gt;
Backup all containers and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend --all --mailto root&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --dumpdir /space/backup --snapshot 777&lt;br /&gt;
&lt;br /&gt;
Note that using LVM2 and vzdump to create snapshots requires 512Mb of free space in your VG as described  [http://weblogs.amtex.nl/index.php?blog=2&amp;amp;title=using_vzdump_snapshot_to_backup_without_downtime&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 here].&lt;br /&gt;
&lt;br /&gt;
=== Restore ===&lt;br /&gt;
&lt;br /&gt;
Restore the above backup to CT 600:&lt;br /&gt;
&lt;br /&gt;
 vzrestore /space/backup/vzdump-777.tar 600&lt;br /&gt;
OR&lt;br /&gt;
 vzdump --restore /space/backup/vzdump-777.tar 600&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
'''(not fixed in 1.2-4)'''&lt;br /&gt;
The rsync command used by vzdump to create the backup in suspend mode partially ignores the &amp;quot;--exclude-path&amp;quot; option.&lt;br /&gt;
In fact, even if the excluded paths won't appear in the final output, the whole VPS will be moved to the temporary directory, meaning that you need as much free disk space as your VPS size to use vzdump. It can be an issue in the case of a file server handling many files...&lt;br /&gt;
&lt;br /&gt;
''Workaround:'' A workaround has been proposed on OpenVZ forum, see below for the excerpt. (http://forum.openvz.org/index.php?t=msg&amp;amp;goto=36924&amp;amp;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User: tatawaki&lt;br /&gt;
Messages: 3&lt;br /&gt;
Registered: December 2008  Junior Member&lt;br /&gt;
From: *sbm.shawcable.net&lt;br /&gt;
&lt;br /&gt;
Line 694:&lt;br /&gt;
my $rsyncopts = &amp;quot;--stats --numeric-ids --bwlimit=${opt_bwlimit}&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# changes to&lt;br /&gt;
&lt;br /&gt;
my $rsyncopts = &amp;quot;--stats --numeric-ids --bwlimit=${opt_bwlimit}&amp;quot;;&lt;br /&gt;
$rsyncopts = $rsyncopts.&amp;quot; --exclude-from=/home/backups/exclude_vzdump.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
the txt file contains &amp;lt;VEID&amp;gt;/home/:&lt;br /&gt;
&lt;br /&gt;
1094/home/&lt;br /&gt;
510/opt/&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''(fixed in 1.1-1)'''&lt;br /&gt;
vzdump will fail under Debian Etch in version 1.0-2 if it is invoked with parameter &amp;quot;--snapshot&amp;quot; and if the logical volume name contains a hyphen.&lt;br /&gt;
&lt;br /&gt;
''Workaround:'' One possible workaround is to rename the logical volume in question thus it doesn't contain any hyphen.&lt;br /&gt;
A bug report was sent to proxmox on 02 June 2008.&lt;br /&gt;
Other distributions or versions may be affected, too.&lt;br /&gt;
&lt;br /&gt;
== Hooks ==&lt;br /&gt;
&lt;br /&gt;
http://nachtmann.it/blog/vzdump-hook-ftp-backup-script - Backup to FTP with limited capacity&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=9125</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=9125"/>
		<updated>2010-09-19T09:33:47Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vzdump is a utility to make consistent snapshots of running OpenVZ containers (and KVM virtual machines if you are using [http://pve.proxmox.com Proxmox VE]). It basically creates a tar archive of the container's private area, which also includes the CT configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
* Stop the CT during backup (very long downtime)&lt;br /&gt;
* Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
* Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://download.proxmox.com.&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://download.proxmox.com/debian/dists/lenny/pve/binary-amd64/vzdump_1.2-7_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For future versions, Proxmox will not release rpm´s, so you need to take a look at the sources. (maybe someone else can maintain vzdump rpm packages?)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-1.2-5.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_1.2-5_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
see also: &lt;br /&gt;
&amp;lt;pre&amp;gt;man vzdump&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vzdump OPTIONS [--all | &amp;lt;VMID&amp;gt;]&lt;br /&gt;
       --exclude VMID          exclude VMID (assumes --all)&lt;br /&gt;
       --exclude-path REGEX    exclude certain files/directories. You&lt;br /&gt;
                               can use this option more than once to specify&lt;br /&gt;
                               multiple exclude paths&lt;br /&gt;
       --stdexcludes           exclude temporary files and logs&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
       --storage STORAGE_ID    store resulting files to STORAGE_ID (PVE only)&lt;br /&gt;
       --script                execute hook script&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
       --maxfiles N            maximal number of backup files per VM.&lt;br /&gt;
       --tmpdir DIR            store temporary files in DIR. --suspend and --stop&lt;br /&gt;
                               are using this directory to store a copy of the VM.&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL. You can use&lt;br /&gt;
                               this option more than once to specify multiple&lt;br /&gt;
                               receivers&lt;br /&gt;
       --stop                  stop/start VM if running&lt;br /&gt;
       --suspend               suspend/resume VM when running&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
       --size MB               LVM snapshot size (default 1024)&lt;br /&gt;
       --bwlimit KBPS          limit I/O bandwidth; KBytes per second&lt;br /&gt;
       --lockwait MINUTES      maximal time to wait for the global&lt;br /&gt;
                               lock. vzdump uses a global lock file to make&lt;br /&gt;
                               sure that only one instance is running&lt;br /&gt;
                               (running several instance puts too much load&lt;br /&gt;
                               on a server). Default is 180 (3 hours).&lt;br /&gt;
       --stopwait MINUTES      maximal time to wait until a VM is stopped.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].&lt;br /&gt;
&lt;br /&gt;
=== Backup ===&lt;br /&gt;
&lt;br /&gt;
Simply dump CT 777 — no snapshot, just archive the container private area and configuration files to the default dump directory (usually &amp;lt;code&amp;gt;/vz/dump/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 vzdump 777&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend 777&lt;br /&gt;
&lt;br /&gt;
Backup all containers and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend --all --mailto root&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --dumpdir /space/backup --snapshot 777&lt;br /&gt;
&lt;br /&gt;
Note that using LVM2 and vzdump to create snapshots requires 512Mb of free space in your VG as described  [http://weblogs.amtex.nl/index.php?blog=2&amp;amp;title=using_vzdump_snapshot_to_backup_without_downtime&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 here].&lt;br /&gt;
&lt;br /&gt;
=== Restore ===&lt;br /&gt;
&lt;br /&gt;
Restore the above backup to CT 600:&lt;br /&gt;
&lt;br /&gt;
 vzrestore /space/backup/vzdump-777.tar 600&lt;br /&gt;
OR&lt;br /&gt;
 vzdump --restore /space/backup/vzdump-777.tar 600&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
'''(not fixed in 1.2-4)'''&lt;br /&gt;
The rsync command used by vzdump to create the backup in suspend mode partially ignores the &amp;quot;--exclude-path&amp;quot; option.&lt;br /&gt;
In fact, even if the excluded paths won't appear in the final output, the whole VPS will be moved to the temporary directory, meaning that you need as much free disk space as your VPS size to use vzdump. It can be an issue in the case of a file server handling many files...&lt;br /&gt;
&lt;br /&gt;
''Workaround:'' A workaround has been proposed on OpenVZ forum, see below for the excerpt. (http://forum.openvz.org/index.php?t=msg&amp;amp;goto=36924&amp;amp;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User: tatawaki&lt;br /&gt;
Messages: 3&lt;br /&gt;
Registered: December 2008  Junior Member&lt;br /&gt;
From: *sbm.shawcable.net&lt;br /&gt;
&lt;br /&gt;
Line 694:&lt;br /&gt;
my $rsyncopts = &amp;quot;--stats --numeric-ids --bwlimit=${opt_bwlimit}&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# changes to&lt;br /&gt;
&lt;br /&gt;
my $rsyncopts = &amp;quot;--stats --numeric-ids --bwlimit=${opt_bwlimit}&amp;quot;;&lt;br /&gt;
$rsyncopts = $rsyncopts.&amp;quot; --exclude-from=/home/backups/exclude_vzdump.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
the txt file contains &amp;lt;VEID&amp;gt;/home/:&lt;br /&gt;
&lt;br /&gt;
1094/home/&lt;br /&gt;
510/opt/&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''(fixed in 1.1-1)'''&lt;br /&gt;
vzdump will fail under Debian Etch in version 1.0-2 if it is invoked with parameter &amp;quot;--snapshot&amp;quot; and if the logical volume name contains a hyphen.&lt;br /&gt;
&lt;br /&gt;
''Workaround:'' One possible workaround is to rename the logical volume in question thus it doesn't contain any hyphen.&lt;br /&gt;
A bug report was sent to proxmox on 02 June 2008.&lt;br /&gt;
Other distributions or versions may be affected, too.&lt;br /&gt;
&lt;br /&gt;
== Hooks ==&lt;br /&gt;
&lt;br /&gt;
http://nachtmann.it/blog/vzdump-hook-ftp-backup-script - Backup to FTP with limited capacity&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=8914</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=8914"/>
		<updated>2010-07-15T10:58:41Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Backup considerations, live migration, and HA Cluster */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway 2.2 template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as with full virtualization - due to the minimal overhead. Proxmox offers free and commercial licenses. &lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
I assume you have already a running OpenVZ server. This howto is based on an fresh CentOS 4.4 installation with OpenVZ kernel 2.6.9 but should also work with all other combinations. I used a Dual Xeon with 2 GB RAM.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Download the Proxmox OpenVZ template:&lt;br /&gt;
 wget ftp://download.proxmox.com/appliances/mail/debian-4.0-proxmox-mailgateway_2.5-1_i386.tar.gz&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
== Create a default config ==&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file &amp;lt;code&amp;gt;/etc/vz/conf/ve-default.conf-sample&amp;lt;/code&amp;gt; which contains reasonable defaults if you plan to run 5 containers:&lt;br /&gt;
 vzsplit -n 5 -f default&lt;br /&gt;
&lt;br /&gt;
== Create a container ==&lt;br /&gt;
&lt;br /&gt;
Choose a free CT ID, we use 777 for this guide.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-4.0-proxmox-mailgateway-2.5 --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure the container ==&lt;br /&gt;
&lt;br /&gt;
Set IP address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your environment.&lt;br /&gt;
&lt;br /&gt;
 vzctl set 777 --onboot yes --ipadd 192.168.2.110 \&lt;br /&gt;
   --nameserver 192.168.2.100 --nameserver 192.168.2.101 \&lt;br /&gt;
   --hostname proxmox --searchdomain yourdomain.tld --save&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 512MB, maximum disk space to 4GB.&lt;br /&gt;
&lt;br /&gt;
 vzctl set 777 --vmguarpages 512M:unlimited --privvmpages 1G:1100M --diskspace 4000M:4400M --save&lt;br /&gt;
&lt;br /&gt;
== Start the container ==&lt;br /&gt;
&lt;br /&gt;
 vzctl start 777&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
 vzctl set 777 --userpasswd root:YOURPASSWORD&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      CTID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Backup considerations, live migration, and HA Cluster ==&lt;br /&gt;
The Proxmox HA Cluster consists of a master and several nodes (minimum one node) — all can be run on different OpenVZ servers within the same subnet. Configuration is done on the master, all configuration and data is synchronized to all cluster nodes over a VPN tunnel. &lt;br /&gt;
&lt;br /&gt;
For online backups, see [[backup of a running container with vzdump]].&lt;br /&gt;
&lt;br /&gt;
For live migration, see [[checkpointing and live migration]].&lt;br /&gt;
&lt;br /&gt;
For HA Cluster, see [[HA cluster with DRBD and Heartbeat]] and [http://www.proxmox.com/products/proxmox-mail-gateway/mail-gateway-ha-cluster/ proxmox.com].&lt;br /&gt;
&lt;br /&gt;
== Proxmox configuration ==&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com/&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=8913</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=8913"/>
		<updated>2010-07-15T10:57:10Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Create a container */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway 2.2 template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as with full virtualization - due to the minimal overhead. Proxmox offers free and commercial licenses. &lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
I assume you have already a running OpenVZ server. This howto is based on an fresh CentOS 4.4 installation with OpenVZ kernel 2.6.9 but should also work with all other combinations. I used a Dual Xeon with 2 GB RAM.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Download the Proxmox OpenVZ template:&lt;br /&gt;
 wget ftp://download.proxmox.com/appliances/mail/debian-4.0-proxmox-mailgateway_2.5-1_i386.tar.gz&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
== Create a default config ==&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file &amp;lt;code&amp;gt;/etc/vz/conf/ve-default.conf-sample&amp;lt;/code&amp;gt; which contains reasonable defaults if you plan to run 5 containers:&lt;br /&gt;
 vzsplit -n 5 -f default&lt;br /&gt;
&lt;br /&gt;
== Create a container ==&lt;br /&gt;
&lt;br /&gt;
Choose a free CT ID, we use 777 for this guide.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-4.0-proxmox-mailgateway-2.5 --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure the container ==&lt;br /&gt;
&lt;br /&gt;
Set IP address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your environment.&lt;br /&gt;
&lt;br /&gt;
 vzctl set 777 --onboot yes --ipadd 192.168.2.110 \&lt;br /&gt;
   --nameserver 192.168.2.100 --nameserver 192.168.2.101 \&lt;br /&gt;
   --hostname proxmox --searchdomain yourdomain.tld --save&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 512MB, maximum disk space to 4GB.&lt;br /&gt;
&lt;br /&gt;
 vzctl set 777 --vmguarpages 512M:unlimited --privvmpages 1G:1100M --diskspace 4000M:4400M --save&lt;br /&gt;
&lt;br /&gt;
== Start the container ==&lt;br /&gt;
&lt;br /&gt;
 vzctl start 777&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
 vzctl set 777 --userpasswd root:YOURPASSWORD&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      CTID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Backup considerations, live migration, and HA Cluster ==&lt;br /&gt;
The Proxmox HA Cluster consists of a master and several nodes (minimum one node) — all can be run on different OpenVZ servers within the same subnet. Configuration is done on the master, all configuration and data is synchronized to all cluster nodes over a VPN tunnel. &lt;br /&gt;
&lt;br /&gt;
For online backups, see [[backup of a running container with vzdump]].&lt;br /&gt;
&lt;br /&gt;
For live migration, see [[checkpointing and live migration]].&lt;br /&gt;
&lt;br /&gt;
For HA Cluster, see [[HA cluster with DRBD and Heartbeat]] and [http://www.proxmox.com/cms_proxmox/en/technology/proxmox-ha-cluster/ proxmox.com].&lt;br /&gt;
&lt;br /&gt;
== Proxmox configuration ==&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com/&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=8912</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=8912"/>
		<updated>2010-07-15T10:56:44Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway 2.2 template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as with full virtualization - due to the minimal overhead. Proxmox offers free and commercial licenses. &lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
I assume you have already a running OpenVZ server. This howto is based on an fresh CentOS 4.4 installation with OpenVZ kernel 2.6.9 but should also work with all other combinations. I used a Dual Xeon with 2 GB RAM.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Download the Proxmox OpenVZ template:&lt;br /&gt;
 wget ftp://download.proxmox.com/appliances/mail/debian-4.0-proxmox-mailgateway_2.5-1_i386.tar.gz&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
== Create a default config ==&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file &amp;lt;code&amp;gt;/etc/vz/conf/ve-default.conf-sample&amp;lt;/code&amp;gt; which contains reasonable defaults if you plan to run 5 containers:&lt;br /&gt;
 vzsplit -n 5 -f default&lt;br /&gt;
&lt;br /&gt;
== Create a container ==&lt;br /&gt;
&lt;br /&gt;
Choose a free CT ID, we use 777 for this guide.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-4.0-proxmox-mailgateway-2.2 --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure the container ==&lt;br /&gt;
&lt;br /&gt;
Set IP address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your environment.&lt;br /&gt;
&lt;br /&gt;
 vzctl set 777 --onboot yes --ipadd 192.168.2.110 \&lt;br /&gt;
   --nameserver 192.168.2.100 --nameserver 192.168.2.101 \&lt;br /&gt;
   --hostname proxmox --searchdomain yourdomain.tld --save&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 512MB, maximum disk space to 4GB.&lt;br /&gt;
&lt;br /&gt;
 vzctl set 777 --vmguarpages 512M:unlimited --privvmpages 1G:1100M --diskspace 4000M:4400M --save&lt;br /&gt;
&lt;br /&gt;
== Start the container ==&lt;br /&gt;
&lt;br /&gt;
 vzctl start 777&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
 vzctl set 777 --userpasswd root:YOURPASSWORD&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      CTID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Backup considerations, live migration, and HA Cluster ==&lt;br /&gt;
The Proxmox HA Cluster consists of a master and several nodes (minimum one node) — all can be run on different OpenVZ servers within the same subnet. Configuration is done on the master, all configuration and data is synchronized to all cluster nodes over a VPN tunnel. &lt;br /&gt;
&lt;br /&gt;
For online backups, see [[backup of a running container with vzdump]].&lt;br /&gt;
&lt;br /&gt;
For live migration, see [[checkpointing and live migration]].&lt;br /&gt;
&lt;br /&gt;
For HA Cluster, see [[HA cluster with DRBD and Heartbeat]] and [http://www.proxmox.com/cms_proxmox/en/technology/proxmox-ha-cluster/ proxmox.com].&lt;br /&gt;
&lt;br /&gt;
== Proxmox configuration ==&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com/&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=8869</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=8869"/>
		<updated>2010-07-05T10:12:21Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vzdump is a utility to make consistent snapshots of running OpenVZ containers (and KVM virtual machines if you are using [http://pve.proxmox.com Proxmox VE]). It basically creates a tar archive of the container's private area, which also includes the CT configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
* Stop the CT during backup (very long downtime)&lt;br /&gt;
* Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
* Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://download.proxmox.com.&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://download.proxmox.com/debian/dists/lenny/pve/binary-amd64/vzdump_1.2-5_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For future versions, Proxmox will not release rpm´s, so you need to take a look at the sources. (maybe someone else can maintain vzdump rpm packages?)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-1.2-5.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_1.2-5_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
see also: &lt;br /&gt;
&amp;lt;pre&amp;gt;man vzdump&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vzdump OPTIONS [--all | &amp;lt;VMID&amp;gt;]&lt;br /&gt;
       --exclude VMID          exclude VMID (assumes --all)&lt;br /&gt;
       --exclude-path REGEX    exclude certain files/directories. You&lt;br /&gt;
                               can use this option more than once to specify&lt;br /&gt;
                               multiple exclude paths&lt;br /&gt;
       --stdexcludes           exclude temporary files and logs&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
       --storage STORAGE_ID    store resulting files to STORAGE_ID (PVE only)&lt;br /&gt;
       --script                execute hook script&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
       --maxfiles N            maximal number of backup files per VM.&lt;br /&gt;
       --tmpdir DIR            store temporary files in DIR. --suspend and --stop&lt;br /&gt;
                               are using this directory to store a copy of the VM.&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL. You can use&lt;br /&gt;
                               this option more than once to specify multiple&lt;br /&gt;
                               receivers&lt;br /&gt;
       --stop                  stop/start VM if running&lt;br /&gt;
       --suspend               suspend/resume VM when running&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
       --size MB               LVM snapshot size (default 1024)&lt;br /&gt;
       --bwlimit KBPS          limit I/O bandwidth; KBytes per second&lt;br /&gt;
       --lockwait MINUTES      maximal time to wait for the global&lt;br /&gt;
                               lock. vzdump uses a global lock file to make&lt;br /&gt;
                               sure that only one instance is running&lt;br /&gt;
                               (running several instance puts too much load&lt;br /&gt;
                               on a server). Default is 180 (3 hours).&lt;br /&gt;
       --stopwait MINUTES      maximal time to wait until a VM is stopped.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].&lt;br /&gt;
&lt;br /&gt;
=== Backup ===&lt;br /&gt;
&lt;br /&gt;
Simply dump CT 777 — no snapshot, just archive the container private area and configuration files to the default dump directory (usually &amp;lt;code&amp;gt;/vz/dump/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 vzdump 777&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend 777&lt;br /&gt;
&lt;br /&gt;
Backup all containers and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend --all --mailto root&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --dumpdir /space/backup --snapshot 777&lt;br /&gt;
&lt;br /&gt;
Note that using LVM2 and vzdump to create snapshots requires 512Mb of free space in your VG as described  [http://weblogs.amtex.nl/index.php?blog=2&amp;amp;title=using_vzdump_snapshot_to_backup_without_downtime&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 here].&lt;br /&gt;
&lt;br /&gt;
=== Restore ===&lt;br /&gt;
&lt;br /&gt;
Restore the above backup to CT 600:&lt;br /&gt;
&lt;br /&gt;
 vzrestore /space/backup/vzdump-777.tar 600&lt;br /&gt;
OR&lt;br /&gt;
 vzdump --restore /space/backup/vzdump-777.tar 600&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
'''(not fixed in 1.2-4)'''&lt;br /&gt;
The rsync command used by vzdump to create the backup in suspend mode partially ignores the &amp;quot;--exclude-path&amp;quot; option.&lt;br /&gt;
In fact, even if the excluded paths won't appear in the final output, the whole VPS will be moved to the temporary directory, meaning that you need as much free disk space as your VPS size to use vzdump. It can be an issue in the case of a file server handling many files...&lt;br /&gt;
&lt;br /&gt;
''Workaround:'' A workaround has been proposed on OpenVZ forum, see below for the excerpt. (http://forum.openvz.org/index.php?t=msg&amp;amp;goto=36924&amp;amp;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User: tatawaki&lt;br /&gt;
Messages: 3&lt;br /&gt;
Registered: December 2008  Junior Member&lt;br /&gt;
From: *sbm.shawcable.net&lt;br /&gt;
&lt;br /&gt;
Line 694:&lt;br /&gt;
my $rsyncopts = &amp;quot;--stats --numeric-ids --bwlimit=${opt_bwlimit}&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# changes to&lt;br /&gt;
&lt;br /&gt;
my $rsyncopts = &amp;quot;--stats --numeric-ids --bwlimit=${opt_bwlimit}&amp;quot;;&lt;br /&gt;
$rsyncopts = $rsyncopts.&amp;quot; --exclude-from=/home/backups/exclude_vzdump.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
the txt file contains &amp;lt;VEID&amp;gt;/home/:&lt;br /&gt;
&lt;br /&gt;
1094/home/&lt;br /&gt;
510/opt/&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''(fixed in 1.1-1)'''&lt;br /&gt;
vzdump will fail under Debian Etch in version 1.0-2 if it is invoked with parameter &amp;quot;--snapshot&amp;quot; and if the logical volume name contains a hyphen.&lt;br /&gt;
&lt;br /&gt;
''Workaround:'' One possible workaround is to rename the logical volume in question thus it doesn't contain any hyphen.&lt;br /&gt;
A bug report was sent to proxmox on 02 June 2008.&lt;br /&gt;
Other distributions or versions may be affected, too.&lt;br /&gt;
&lt;br /&gt;
== Hooks ==&lt;br /&gt;
&lt;br /&gt;
http://nachtmann.it/blog/vzdump-hook-ftp-backup-script - Backup to FTP with limited capacity&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=8868</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=8868"/>
		<updated>2010-07-05T10:11:59Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vzdump is a utility to make consistent snapshots of running OpenVZ containers (and KVM virtual machines if you are using [http://pve.proxmox.com Proxmox VE]). It basically creates a tar archive of the container's private area, which also includes the CT configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
* Stop the CT during backup (very long downtime)&lt;br /&gt;
* Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
* Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://download.proxmox.com.&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://download.proxmox.com/debian/dists/lenny/pve/binary-amd64/vzdump_1.2-5_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For future versions, Proxmox will not release rpm´s, so you need to take a look at the sources. (maybe someone else can maintain vzdump rpm packages?)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-1.2-5.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_1.2-5_all.deb&amp;lt;/pre&amp;gt; v&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
see also: &lt;br /&gt;
&amp;lt;pre&amp;gt;man vzdump&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vzdump OPTIONS [--all | &amp;lt;VMID&amp;gt;]&lt;br /&gt;
       --exclude VMID          exclude VMID (assumes --all)&lt;br /&gt;
       --exclude-path REGEX    exclude certain files/directories. You&lt;br /&gt;
                               can use this option more than once to specify&lt;br /&gt;
                               multiple exclude paths&lt;br /&gt;
       --stdexcludes           exclude temporary files and logs&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
       --storage STORAGE_ID    store resulting files to STORAGE_ID (PVE only)&lt;br /&gt;
       --script                execute hook script&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
       --maxfiles N            maximal number of backup files per VM.&lt;br /&gt;
       --tmpdir DIR            store temporary files in DIR. --suspend and --stop&lt;br /&gt;
                               are using this directory to store a copy of the VM.&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL. You can use&lt;br /&gt;
                               this option more than once to specify multiple&lt;br /&gt;
                               receivers&lt;br /&gt;
       --stop                  stop/start VM if running&lt;br /&gt;
       --suspend               suspend/resume VM when running&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
       --size MB               LVM snapshot size (default 1024)&lt;br /&gt;
       --bwlimit KBPS          limit I/O bandwidth; KBytes per second&lt;br /&gt;
       --lockwait MINUTES      maximal time to wait for the global&lt;br /&gt;
                               lock. vzdump uses a global lock file to make&lt;br /&gt;
                               sure that only one instance is running&lt;br /&gt;
                               (running several instance puts too much load&lt;br /&gt;
                               on a server). Default is 180 (3 hours).&lt;br /&gt;
       --stopwait MINUTES      maximal time to wait until a VM is stopped.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].&lt;br /&gt;
&lt;br /&gt;
=== Backup ===&lt;br /&gt;
&lt;br /&gt;
Simply dump CT 777 — no snapshot, just archive the container private area and configuration files to the default dump directory (usually &amp;lt;code&amp;gt;/vz/dump/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 vzdump 777&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend 777&lt;br /&gt;
&lt;br /&gt;
Backup all containers and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend --all --mailto root&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --dumpdir /space/backup --snapshot 777&lt;br /&gt;
&lt;br /&gt;
Note that using LVM2 and vzdump to create snapshots requires 512Mb of free space in your VG as described  [http://weblogs.amtex.nl/index.php?blog=2&amp;amp;title=using_vzdump_snapshot_to_backup_without_downtime&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 here].&lt;br /&gt;
&lt;br /&gt;
=== Restore ===&lt;br /&gt;
&lt;br /&gt;
Restore the above backup to CT 600:&lt;br /&gt;
&lt;br /&gt;
 vzrestore /space/backup/vzdump-777.tar 600&lt;br /&gt;
OR&lt;br /&gt;
 vzdump --restore /space/backup/vzdump-777.tar 600&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
'''(not fixed in 1.2-4)'''&lt;br /&gt;
The rsync command used by vzdump to create the backup in suspend mode partially ignores the &amp;quot;--exclude-path&amp;quot; option.&lt;br /&gt;
In fact, even if the excluded paths won't appear in the final output, the whole VPS will be moved to the temporary directory, meaning that you need as much free disk space as your VPS size to use vzdump. It can be an issue in the case of a file server handling many files...&lt;br /&gt;
&lt;br /&gt;
''Workaround:'' A workaround has been proposed on OpenVZ forum, see below for the excerpt. (http://forum.openvz.org/index.php?t=msg&amp;amp;goto=36924&amp;amp;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User: tatawaki&lt;br /&gt;
Messages: 3&lt;br /&gt;
Registered: December 2008  Junior Member&lt;br /&gt;
From: *sbm.shawcable.net&lt;br /&gt;
&lt;br /&gt;
Line 694:&lt;br /&gt;
my $rsyncopts = &amp;quot;--stats --numeric-ids --bwlimit=${opt_bwlimit}&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# changes to&lt;br /&gt;
&lt;br /&gt;
my $rsyncopts = &amp;quot;--stats --numeric-ids --bwlimit=${opt_bwlimit}&amp;quot;;&lt;br /&gt;
$rsyncopts = $rsyncopts.&amp;quot; --exclude-from=/home/backups/exclude_vzdump.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
the txt file contains &amp;lt;VEID&amp;gt;/home/:&lt;br /&gt;
&lt;br /&gt;
1094/home/&lt;br /&gt;
510/opt/&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''(fixed in 1.1-1)'''&lt;br /&gt;
vzdump will fail under Debian Etch in version 1.0-2 if it is invoked with parameter &amp;quot;--snapshot&amp;quot; and if the logical volume name contains a hyphen.&lt;br /&gt;
&lt;br /&gt;
''Workaround:'' One possible workaround is to rename the logical volume in question thus it doesn't contain any hyphen.&lt;br /&gt;
A bug report was sent to proxmox on 02 June 2008.&lt;br /&gt;
Other distributions or versions may be affected, too.&lt;br /&gt;
&lt;br /&gt;
== Hooks ==&lt;br /&gt;
&lt;br /&gt;
http://nachtmann.it/blog/vzdump-hook-ftp-backup-script - Backup to FTP with limited capacity&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=8867</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=8867"/>
		<updated>2010-07-05T10:11:27Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vzdump is a utility to make consistent snapshots of running OpenVZ containers (and KVM virtual machines if you are using [http://pve.proxmox.com Proxmox VE]). It basically creates a tar archive of the container's private area, which also includes the CT configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
* Stop the CT during backup (very long downtime)&lt;br /&gt;
* Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
* Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://download.proxmox.com.&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://download.proxmox.com/debian/dists/lenny/pve/binary-amd64/vzdump_1.2-5_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For future versions, Proxmox will not release rpm´s, so you need to take a look at the sources. (maybe someone else can maintain vzdump rpm packages?)&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-1.2-5.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_1.2-5_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
see also: &lt;br /&gt;
&amp;lt;pre&amp;gt;man vzdump&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vzdump OPTIONS [--all | &amp;lt;VMID&amp;gt;]&lt;br /&gt;
       --exclude VMID          exclude VMID (assumes --all)&lt;br /&gt;
       --exclude-path REGEX    exclude certain files/directories. You&lt;br /&gt;
                               can use this option more than once to specify&lt;br /&gt;
                               multiple exclude paths&lt;br /&gt;
       --stdexcludes           exclude temporary files and logs&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
       --storage STORAGE_ID    store resulting files to STORAGE_ID (PVE only)&lt;br /&gt;
       --script                execute hook script&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
       --maxfiles N            maximal number of backup files per VM.&lt;br /&gt;
       --tmpdir DIR            store temporary files in DIR. --suspend and --stop&lt;br /&gt;
                               are using this directory to store a copy of the VM.&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL. You can use&lt;br /&gt;
                               this option more than once to specify multiple&lt;br /&gt;
                               receivers&lt;br /&gt;
       --stop                  stop/start VM if running&lt;br /&gt;
       --suspend               suspend/resume VM when running&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
       --size MB               LVM snapshot size (default 1024)&lt;br /&gt;
       --bwlimit KBPS          limit I/O bandwidth; KBytes per second&lt;br /&gt;
       --lockwait MINUTES      maximal time to wait for the global&lt;br /&gt;
                               lock. vzdump uses a global lock file to make&lt;br /&gt;
                               sure that only one instance is running&lt;br /&gt;
                               (running several instance puts too much load&lt;br /&gt;
                               on a server). Default is 180 (3 hours).&lt;br /&gt;
       --stopwait MINUTES      maximal time to wait until a VM is stopped.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].&lt;br /&gt;
&lt;br /&gt;
=== Backup ===&lt;br /&gt;
&lt;br /&gt;
Simply dump CT 777 — no snapshot, just archive the container private area and configuration files to the default dump directory (usually &amp;lt;code&amp;gt;/vz/dump/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 vzdump 777&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend 777&lt;br /&gt;
&lt;br /&gt;
Backup all containers and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend --all --mailto root&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --dumpdir /space/backup --snapshot 777&lt;br /&gt;
&lt;br /&gt;
Note that using LVM2 and vzdump to create snapshots requires 512Mb of free space in your VG as described  [http://weblogs.amtex.nl/index.php?blog=2&amp;amp;title=using_vzdump_snapshot_to_backup_without_downtime&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 here].&lt;br /&gt;
&lt;br /&gt;
=== Restore ===&lt;br /&gt;
&lt;br /&gt;
Restore the above backup to CT 600:&lt;br /&gt;
&lt;br /&gt;
 vzrestore /space/backup/vzdump-777.tar 600&lt;br /&gt;
OR&lt;br /&gt;
 vzdump --restore /space/backup/vzdump-777.tar 600&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
'''(not fixed in 1.2-4)'''&lt;br /&gt;
The rsync command used by vzdump to create the backup in suspend mode partially ignores the &amp;quot;--exclude-path&amp;quot; option.&lt;br /&gt;
In fact, even if the excluded paths won't appear in the final output, the whole VPS will be moved to the temporary directory, meaning that you need as much free disk space as your VPS size to use vzdump. It can be an issue in the case of a file server handling many files...&lt;br /&gt;
&lt;br /&gt;
''Workaround:'' A workaround has been proposed on OpenVZ forum, see below for the excerpt. (http://forum.openvz.org/index.php?t=msg&amp;amp;goto=36924&amp;amp;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User: tatawaki&lt;br /&gt;
Messages: 3&lt;br /&gt;
Registered: December 2008  Junior Member&lt;br /&gt;
From: *sbm.shawcable.net&lt;br /&gt;
&lt;br /&gt;
Line 694:&lt;br /&gt;
my $rsyncopts = &amp;quot;--stats --numeric-ids --bwlimit=${opt_bwlimit}&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# changes to&lt;br /&gt;
&lt;br /&gt;
my $rsyncopts = &amp;quot;--stats --numeric-ids --bwlimit=${opt_bwlimit}&amp;quot;;&lt;br /&gt;
$rsyncopts = $rsyncopts.&amp;quot; --exclude-from=/home/backups/exclude_vzdump.txt&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
the txt file contains &amp;lt;VEID&amp;gt;/home/:&lt;br /&gt;
&lt;br /&gt;
1094/home/&lt;br /&gt;
510/opt/&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''(fixed in 1.1-1)'''&lt;br /&gt;
vzdump will fail under Debian Etch in version 1.0-2 if it is invoked with parameter &amp;quot;--snapshot&amp;quot; and if the logical volume name contains a hyphen.&lt;br /&gt;
&lt;br /&gt;
''Workaround:'' One possible workaround is to rename the logical volume in question thus it doesn't contain any hyphen.&lt;br /&gt;
A bug report was sent to proxmox on 02 June 2008.&lt;br /&gt;
Other distributions or versions may be affected, too.&lt;br /&gt;
&lt;br /&gt;
== Hooks ==&lt;br /&gt;
&lt;br /&gt;
http://nachtmann.it/blog/vzdump-hook-ftp-backup-script - Backup to FTP with limited capacity&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=7440</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=7440"/>
		<updated>2009-07-24T08:18:49Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Update to vzdump-1.1-2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vzdump is a utility to make consistent snapshots of running OpenVZ containers (and KVM virtual machines if you are using [http://pve.proxmox.com Proxmox VE]. It basically creates a tar archive of the container's private area, which also includes the CT configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
* Stop the CT during backup (very long downtime)&lt;br /&gt;
* Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
* Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://www.proxmox.com/cms_proxmox/en/technology/oss-software/openvz/&lt;br /&gt;
&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump-1.1-2.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump_1.1-2_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-1.1-2.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_1.1-2_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
see also: &lt;br /&gt;
&amp;lt;pre&amp;gt;man vzdump&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vzdump OPTIONS [--all | &amp;lt;VMID&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
       --exclude VPSID         exclude VPSID (assumes --all)&lt;br /&gt;
       --exclude-path REGEX    exclude certain files/directories. You&lt;br /&gt;
                               can use this option more than once to specify&lt;br /&gt;
                               multiple exclude paths&lt;br /&gt;
       --stdexcludes           exclude temorary files and logs&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
       --tmpdir DIR            store temporary files in DIR. --suspend and --stop are using this directory to store a copy of the VM.&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL. You can use&lt;br /&gt;
                               this option more than once to specify multiple&lt;br /&gt;
                               receivers&lt;br /&gt;
       --stop                  stop/start VPS if running&lt;br /&gt;
       --suspend               suspend/resume VPS when running&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
       --size MB               LVM snapshot size (default 1024)&lt;br /&gt;
       --bwlimit KBPS          limit I/O bandwidth; KBytes per second&lt;br /&gt;
       --lockwait MINUTES      maximal time to wait for the global&lt;br /&gt;
                               lock. vzdump uses a global lock file to make&lt;br /&gt;
                               sure that only one instance is running&lt;br /&gt;
                               (running sereral instance puts too much load&lt;br /&gt;
                               on a server). Default is 180 (3 hours).&lt;br /&gt;
       --stopwait MINUTES      maximal time to wait until a VM is stopped.&lt;br /&gt;
       --restore FILENAME      restore FILENAME&lt;br /&gt;
 &lt;br /&gt;
== Examples ==&lt;br /&gt;
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].&lt;br /&gt;
&lt;br /&gt;
=== Backup ===&lt;br /&gt;
&lt;br /&gt;
Simply dump CT 777 — no snapshot, just archive the container private area and configuration files to the default dump directory (usually &amp;lt;code&amp;gt;/vz/dump/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 vzdump 777&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend 777&lt;br /&gt;
&lt;br /&gt;
Backup all containers and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend --all --mailto root&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --dumpdir /space/backup --snapshot 777&lt;br /&gt;
&lt;br /&gt;
Note that using LVM2 and vzdump to create snapshots requires 512Mb of free space in your VG as described  [http://weblogs.amtex.nl/index.php?blog=2&amp;amp;title=using_vzdump_snapshot_to_backup_without_downtime&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 here].&lt;br /&gt;
&lt;br /&gt;
=== Restore ===&lt;br /&gt;
&lt;br /&gt;
Restore the above backup to CT 600:&lt;br /&gt;
&lt;br /&gt;
 vzdump --restore /space/backup/vzdump-777.tar 600&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
(fixed in 1.1-1)&lt;br /&gt;
vzdump will fail under Debian Etch in version 1.0-2 if it is invoked with parameter &amp;quot;--snapshot&amp;quot; and if the logical volume name contains a hyphen.&lt;br /&gt;
One possible workaround is to rename the logical volume in question thus it doesn't contain any hyphen.&lt;br /&gt;
A bug report was sent to proxmox on 02 June 2008.&lt;br /&gt;
Other distributions or versions may be affected, too.&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=6734</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=6734"/>
		<updated>2008-11-26T13:19:44Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vzdump is a utility to make consistent snapshots of running OpenVZ containers (and KVM virtual machines if you are using [http://pve.proxmox.com Proxmox VE]. It basically creates a tar archive of the container's private area, which also includes the CT configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
* Stop the CT during backup (very long downtime)&lt;br /&gt;
* Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
* Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://www.proxmox.com/cms_proxmox/en/technology/oss-software/openvz/&lt;br /&gt;
&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump-1.1-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump_1.1-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-1.1-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_1.1-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
see also: &lt;br /&gt;
&amp;lt;pre&amp;gt;man vzdump&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vzdump OPTIONS [--all | &amp;lt;VMID&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
       --exclude VPSID         exclude VPSID (assumes --all)&lt;br /&gt;
       --exclude-path REGEX    exclude certain files/directories. You&lt;br /&gt;
                               can use this option more than once to specify&lt;br /&gt;
                               multiple exclude paths&lt;br /&gt;
       --stdexcludes           exclude temorary files and logs&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
       --tmpdir DIR            store temporary files in DIR. --suspend and --stop are using this directory to store a copy of the VM.&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL. You can use&lt;br /&gt;
                               this option more than once to specify multiple&lt;br /&gt;
                               receivers&lt;br /&gt;
       --stop                  stop/start VPS if running&lt;br /&gt;
       --suspend               suspend/resume VPS when running&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
       --size MB               LVM snapshot size (default 1024)&lt;br /&gt;
       --bwlimit KBPS          limit I/O bandwidth; KBytes per second&lt;br /&gt;
       --lockwait MINUTES      maximal time to wait for the global&lt;br /&gt;
                               lock. vzdump uses a global lock file to make&lt;br /&gt;
                               sure that only one instance is running&lt;br /&gt;
                               (running sereral instance puts too much load&lt;br /&gt;
                               on a server). Default is 180 (3 hours).&lt;br /&gt;
       --stopwait MINUTES      maximal time to wait until a VM is stopped.&lt;br /&gt;
       --restore FILENAME      restore FILENAME&lt;br /&gt;
 &lt;br /&gt;
== Examples ==&lt;br /&gt;
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].&lt;br /&gt;
&lt;br /&gt;
=== Backup ===&lt;br /&gt;
&lt;br /&gt;
Simply dump CT 777 — no snapshot, just archive the container private area and configuration files to the default dump directory (usually &amp;lt;code&amp;gt;/vz/dump/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 vzdump 777&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend 777&lt;br /&gt;
&lt;br /&gt;
Backup all containers and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend --all --mailto root&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --dumpdir /space/backup --snapshot 777&lt;br /&gt;
&lt;br /&gt;
Note that using LVM2 and vzdump to create snapshots requires 512Mb of free space in your VG as described  [http://weblogs.amtex.nl/index.php?blog=2&amp;amp;title=using_vzdump_snapshot_to_backup_without_downtime&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 here].&lt;br /&gt;
&lt;br /&gt;
=== Restore ===&lt;br /&gt;
&lt;br /&gt;
Restore the above backup to CT 600:&lt;br /&gt;
&lt;br /&gt;
 vzdump --restore /space/backup/vzdump-777.tar 600&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
(fixed in 1.1-1)&lt;br /&gt;
vzdump will fail under Debian Etch in version 1.0-2 if it is invoked with parameter &amp;quot;--snapshot&amp;quot; and if the logical volume name contains a hyphen.&lt;br /&gt;
One possible workaround is to rename the logical volume in question thus it doesn't contain any hyphen.&lt;br /&gt;
A bug report was sent to proxmox on 02 June 2008.&lt;br /&gt;
Other distributions or versions may be affected, too.&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=6733</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=6733"/>
		<updated>2008-11-26T13:18:44Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Added links to new rpm´s, updated syntax&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vzdump is a utility to make consistent snapshots of running OpenVZ containers (and KVM virtual machines if you are using [http://pve.proxmox.com Proxmox VE]. It basically creates a tar archive of the container's private area, which also includes the CT configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
* Stop the CT during backup (very long downtime)&lt;br /&gt;
* Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
* Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://www.proxmox.com/cms_proxmox/en/technology/oss-software/openvz/&lt;br /&gt;
&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump-1.1-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://pve.proxmox.com/debian/dists/etch/pve/binary-amd64/vzdump_1.1-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-1.1-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_1.1-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
see also: &lt;br /&gt;
&amp;lt;pre&amp;gt;man vzdump&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vzdump OPTIONS [--all | &amp;lt;VMID&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
       --exclude VPSID         exclude VPSID (assumes --all)&lt;br /&gt;
       --exclude-path REGEX    exclude certain files/directories. You&lt;br /&gt;
                               can use this option more than once to specify&lt;br /&gt;
                               multiple exclude paths&lt;br /&gt;
       --stdexcludes           exclude temorary files and logs&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
       --tmpdir DIR            store temporary files in DIR. --suspend and --stop are using this directory to store a copy of the VM.&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL. You can use&lt;br /&gt;
                               this option more than once to specify multiple&lt;br /&gt;
                               receivers&lt;br /&gt;
       --stop                  stop/start VPS if running&lt;br /&gt;
       --suspend               suspend/resume VPS when running&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
       --size MB               LVM snapshot size (default 1024)&lt;br /&gt;
       --bwlimit KBPS          limit I/O bandwidth; KBytes per second&lt;br /&gt;
       --lockwait MINUTES      maximal time to wait for the global&lt;br /&gt;
                               lock. vzdump uses a global lock file to make&lt;br /&gt;
                               sure that only one instance is running&lt;br /&gt;
                               (running sereral instance puts too much load&lt;br /&gt;
                               on a server). Default is 180 (3 hours).&lt;br /&gt;
       --stopwait MINUTES      maximal time to wait until a VM is stopped.&lt;br /&gt;
       --restore FILENAME      restore FILENAME&lt;br /&gt;
 &lt;br /&gt;
== Examples ==&lt;br /&gt;
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].&lt;br /&gt;
&lt;br /&gt;
=== Backup ===&lt;br /&gt;
&lt;br /&gt;
Simply dump CT 777 — no snapshot, just archive the container private area and configuration files to the default dump directory (usually &amp;lt;code&amp;gt;/vz/dump/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 vzdump 777&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend 777&lt;br /&gt;
&lt;br /&gt;
Backup all containers and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend --all --mailto root&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --dumpdir /space/backup --snapshot 777&lt;br /&gt;
&lt;br /&gt;
Note that using LVM2 and vzdump to create snapshots requires 512Mb of free space in your VG as described  [http://weblogs.amtex.nl/index.php?blog=2&amp;amp;title=using_vzdump_snapshot_to_backup_without_downtime&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 here].&lt;br /&gt;
&lt;br /&gt;
=== Restore ===&lt;br /&gt;
&lt;br /&gt;
Restore the above backup to CT 600:&lt;br /&gt;
&lt;br /&gt;
 vzdump --restore /space/backup/vzdump-777.tar 600&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
(fixed in 1.1-1)&lt;br /&gt;
vzdump will fail under Debian Etch in version 1.0-2 if it is invoked with parameter &amp;quot;--snapshot&amp;quot; and if the logical volume name contains a hyphen.&lt;br /&gt;
One possible workaround is to rename the logical volume in question thus it doesn't contain any hyphen.&lt;br /&gt;
A bug report was sent to proxmox on 02 June 2008.&lt;br /&gt;
Other distributions or versions may be affected, too.&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=6732</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=6732"/>
		<updated>2008-11-26T12:57:47Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: updated to vzdump 1.1-1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Vzdump is a utility to make consistent snapshots of running OpenVZ containers. It basically creates a tar archive of the container's private area, which also includes the CT configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
* Stop the CT during backup (very long downtime)&lt;br /&gt;
* Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
* Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://www.proxmox.com/cms_proxmox/en/technology/oss-software/openvz/&lt;br /&gt;
&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump-1.0-2.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://pve.proxmox.com/debian/dists/etch/pve/binary-amd64/vzdump_1.1-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-1.0-2.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_1.1-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
 vzdump OPTIONS [--all | &amp;lt;CTID&amp;gt;]&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
       --xdelta                create a differential backup using xdelta&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL&lt;br /&gt;
       --stop                  stop/start container if running&lt;br /&gt;
       --suspend               suspend/resume container when running&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
       --restore FILENAME      restore FILENAME&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Use a running container, for example install this: [[Proxmox Mail Gateway in container]].&lt;br /&gt;
&lt;br /&gt;
=== Backup ===&lt;br /&gt;
&lt;br /&gt;
Simply dump CT 777 — no snapshot, just archive the container private area and configuration files to the default dump directory (usually &amp;lt;code&amp;gt;/vz/dump/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
 vzdump 777&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend 777&lt;br /&gt;
&lt;br /&gt;
Backup all containers and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
 vzdump --suspend --all --mailto root&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
 vzdump --dumpdir /space/backup --snapshot 777&lt;br /&gt;
&lt;br /&gt;
Note that using LVM2 and vzdump to create snapshots requires 512Mb of free space in your VG as described  [http://weblogs.amtex.nl/index.php?blog=2&amp;amp;title=using_vzdump_snapshot_to_backup_without_downtime&amp;amp;more=1&amp;amp;c=1&amp;amp;tb=1&amp;amp;pb=1 here].&lt;br /&gt;
&lt;br /&gt;
=== Restore ===&lt;br /&gt;
&lt;br /&gt;
Restore the above backup to CT 600:&lt;br /&gt;
&lt;br /&gt;
 vzdump --restore /space/backup/vzdump-777.tar 600&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
(fixed in 1.1-1)&lt;br /&gt;
vzdump will fail under Debian Etch in version 1.0-2 if it is invoked with parameter &amp;quot;--snapshot&amp;quot; and if the logical volume name contains a hyphen.&lt;br /&gt;
One possible workaround is to rename the logical volume in question thus it doesn't contain any hyphen.&lt;br /&gt;
A bug report was sent to proxmox on 02 June 2008.&lt;br /&gt;
Other distributions or versions may be affected, too.&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Bare_Metal_Installer&amp;diff=6731</id>
		<title>Bare Metal Installer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Bare_Metal_Installer&amp;diff=6731"/>
		<updated>2008-11-26T12:47:57Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: removed beta status, added GUI for vzdump&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
A good way for beginners and a fast way to install OpenVZ to a new server is the [http://pve.proxmox.com Proxmox VE] bare-metal ISO installer.&lt;br /&gt;
== Features ==&lt;br /&gt;
Proxmox VE installs the complete operating system and management tools in 3 to 5 minutes (depends on the used hardware).&lt;br /&gt;
&lt;br /&gt;
''&amp;quot;Bare-metal&amp;quot; means that you start from a empty server - there is no need to install a base operation system.''&lt;br /&gt;
&lt;br /&gt;
Including the following:&lt;br /&gt;
&lt;br /&gt;
* Complete operating system (Debian Etch 64)&lt;br /&gt;
* Partition the hard drive with LVM2, optimized for [[Backup of a running container with vzdump|vzdump]]&lt;br /&gt;
* Backup/Restore tools - GUI for [[Backup of a running container with vzdump|vzdump]]&lt;br /&gt;
* Proxmox VE Kernel with OpenVZ and [http://kvm.qumranet.com KVM] support&lt;br /&gt;
* Web based management interface&lt;br /&gt;
* Integrated virtual appliance download&lt;br /&gt;
* Configuration Cluster&lt;br /&gt;
&lt;br /&gt;
Please note, the complete server is used and all existing data is removed.&lt;br /&gt;
&lt;br /&gt;
== License and Download ==&lt;br /&gt;
Proxmox VE is licensed under GPLv2 (Open source).&lt;br /&gt;
 &lt;br /&gt;
[http://pve.proxmox.com/wiki/Downloads Download Proxmox VE]&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Debian]]&lt;br /&gt;
[[Category: Installation]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Bare_Metal_Installer&amp;diff=5817</id>
		<title>Bare Metal Installer</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Bare_Metal_Installer&amp;diff=5817"/>
		<updated>2008-04-18T15:41:12Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Create Article&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
A good way for beginners and a fast way to install OpenVZ to a new server is the [http://pve.proxmox.com Proxmox VE] bare-metal ISO installer. Currently it´s beta software using a development OpenVZ kernel (2.6.24).&lt;br /&gt;
=Features=&lt;br /&gt;
Proxmox VE installs the complete operating system and management tools in 3 to 5 minutes (depends on the used hardware).&lt;br /&gt;
&lt;br /&gt;
''&amp;quot;Bare-metal&amp;quot; means that you start from a empty server - there is no need to install a base operation system.''&lt;br /&gt;
&lt;br /&gt;
Including the following:&lt;br /&gt;
&lt;br /&gt;
* Complete operating system (Debian Etch 64)&lt;br /&gt;
* Partition the hard drive with LVM2, optimized for [[Backup of a running container with vzdump|vzdump]]&lt;br /&gt;
* Backup/Restore tools&lt;br /&gt;
* Proxmox VE Kernel with OpenVZ and [[http://kvm.qumranet.com KVM]] support&lt;br /&gt;
* Web based management interface&lt;br /&gt;
* Integrated virtual appliance download&lt;br /&gt;
* Configuration Cluster&lt;br /&gt;
&lt;br /&gt;
Please note, the complete server is used and all existing data is removed.&lt;br /&gt;
=License and Download=&lt;br /&gt;
Proxmox VE is licensed under GPLv2 (Open source).&lt;br /&gt;
 &lt;br /&gt;
[http://pve.proxmox.com/wiki/Downloads Download Proxmox VE]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Debian]]&lt;br /&gt;
[[Category: Installation]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=5815</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=5815"/>
		<updated>2008-04-18T15:06:20Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: small typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare-metal ISO installer&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage]&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin]&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage]&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but only working and free control panel?) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage]&lt;br /&gt;
* OpenVZ Control panel for Windows(r): {{forum|1491}} | [http://downloads.qmailrocks.ru/vz/ downloads] ''unknown license''&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=5814</id>
		<title>Control panels</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Control_panels&amp;diff=5814"/>
		<updated>2008-04-18T14:59:33Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Added Proxmox VE&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains links to different control panels for OpenVZ, written by third parties. If you know the project that's missing here, please add it.&lt;br /&gt;
&lt;br /&gt;
== Free software / Open source ==&lt;br /&gt;
* Proxmox Virtual Environment: [http://pve.proxmox.com Proxmox VE Wiki] - including bare metall ISO installer&lt;br /&gt;
* WebVZ: [http://webvz.sourceforge.net/ homepage]&lt;br /&gt;
* Webmin: [http://www.webmin.com/ homepage] | [http://www.webmin.com/cgi-bin/search_third.cgi?search=OpenVZ OpenVZ plugin]&lt;br /&gt;
* Vtonf: [http://www.vtonf.com/ homepage]&lt;br /&gt;
&lt;br /&gt;
== Proprietary / non-free ==&lt;br /&gt;
* FluidVM: [http://www.binarykarma.com Home Page] • [http://www.binarykarma.com/demo.php Demo Videos] • [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots]&lt;br /&gt;
* VZ-Manager: [http://vzmanager.de/ homepage (German)]&lt;br /&gt;
* HyperVM: [http://lxlabs.com/software/hypervm/ homepage]&lt;br /&gt;
* vzAdmin: [http://www.vzAdmin.info/ homepage (German)]&lt;br /&gt;
* Aventurin{e}: [http://www.aventurin.net/ homepage (English)]&lt;br /&gt;
&lt;br /&gt;
== Frozen projects ==&lt;br /&gt;
* VZAdmin: [http://www.ronny-goerner.de/ homepage] ''seems not available now''&lt;br /&gt;
* WVZ: [http://homaly.dunanet.hu/wvz/ homepage] ''seems frozen''&lt;br /&gt;
* New OpenVZ Web Based Control Panel by rsailor: {{forum|230}} ''seems not available now''&lt;br /&gt;
* EasyVZ: [http://easyvz.sourceforge.net/ screenshots] | [http://sourceforge.net/projects/easyvz sf.net project page] (little bit outdated, but only working and free control panel?) (requires Unix/Linux)&lt;br /&gt;
* Mwamko: [http://mwamko.devjavu.com/ homepage]&lt;br /&gt;
* OpenVZ Control panel for Windows(r): {{forum|1491}} | [http://downloads.qmailrocks.ru/vz/ downloads] ''unknown license''&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Partners&amp;diff=5813</id>
		<title>Partners</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Partners&amp;diff=5813"/>
		<updated>2008-04-18T14:56:18Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Proxmox */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here are some companies that are working together with OpenVZ project in one or another way. Feel free to add your company profile here ('''in alphabetical order''').&lt;br /&gt;
&lt;br /&gt;
== BinaryKarma ==&lt;br /&gt;
[http://www.binarykarma.com BinaryKarma] is offering an multi-hypervisor platform, FluidVM that also supports OpenVZ, apart from Xen. FluidVM supports local and SAN storage and is also extensible via an XML-RPC based API. See [http://www.binarykarma.com/fluidvm_screenshots.php Screen shots] and [http://www.binarykarma.com/demo.php Demo Videos] for more information. FluidVM ships with a browser based interface with which users can manage multiple servers and VEs. BinaryKarma is also the developer of [http://easyvz.sourceforge.net EasyVZ], a GPL'd free GUI available for OpenVZ.&lt;br /&gt;
&lt;br /&gt;
== Computer Tyme ==&lt;br /&gt;
[http://ctyme.com Computer Tyme] is using OpenVZ for their spam filtering service [http://junkemailfilter.com Junk Email Filter dot com]. They are active proponents of OpenVZ; Marc Perkel worked at the OpenVZ booth during LinuxWorld Expo 2007.&lt;br /&gt;
&lt;br /&gt;
== Fry-IT Ltd ==&lt;br /&gt;
[http://www.fry-it.com Fry-IT Ltd] is a London based web, mobile and hosting consultancy and among the services we provide are system solutions involving Clustering, Load Balancing and High Availability, with OpenVZ as the virtualization technology of choice.&lt;br /&gt;
&lt;br /&gt;
An example of our consulting work is the OpenVZ cluster powering 6 applications at [http://www.da.mod.uk/ MOD Defence Academy] in the UK, the public website being one of the applications. To our clients, hosted with us or running their own infrastructure, we provide a complete solution from custom OpenVZ scripts, a container resource limits management web application to thorough documentation of system management procedures.&lt;br /&gt;
&lt;br /&gt;
== LastSpam ==&lt;br /&gt;
[http://www.lastspam.com LastSpam] offers managed e-mail security services (anti-spam and anti-virus/bad content) and uses OpenVZ to deliver excellent service and support to its customers.  Ugo Bellavance, LastSpam's head server architect and manager is an active member of the OpenVZ community: helping on the forum, making suggestions, and submitting patches.&lt;br /&gt;
&lt;br /&gt;
== netVOICE communications ==&lt;br /&gt;
[http://www.netvoice.ca/ netVOICE communications] is an Internet Telephony Service Provider (ITSP) that uses OpenVZ as the basis for their [http://www.vpas.ca/ Virtual Private Asterisk Server (VPAS)] offering. They also offer consulting on running Asterisk (the leading Open Source telephony platform) on OpenVZ. netVOICE is a Digium Approved Reseller and has a Digium Certified Asterisk Professional [http://www.digium.com/en/training/certifications/ (dCAP)] on staff.&lt;br /&gt;
&lt;br /&gt;
== Openwall ==&lt;br /&gt;
&lt;br /&gt;
At [http://www.openwall.com Openwall], we develop our own Open Source software with a focus on security, including [http://www.openwall.com/Owl/ Openwall GNU/*/Linux] (or Owl for short), a security-enhanced server platform.&lt;br /&gt;
Our [http://www.openwall.com/services/ professional services] include remote installation (you boot off CD, we do the rest) and maintenance (systems and security administration) of OpenVZ-enabled servers and mini-networks of such servers.  We typically use the OpenVZ kernel, the Owl userland for the host system, and arbitrary Linux distributions for the containers (most often that's Owl as well - with additional software to meet your needs).  We readily have software solutions for provision of advanced LAMP hosting with cross virtual host security separation within each container (that is, not only the containers are separated due to OpenVZ, but also virtual hosts within containers are separated at the OS level), multi-server backups (incremental, remote, encrypted, integrity-checked), monitoring (many custom Nagios sensors, including for things such as backups, filesystem errors, RAID status, etc.), and more.&lt;br /&gt;
&lt;br /&gt;
== Proxmox Virtual Environment==&lt;br /&gt;
&lt;br /&gt;
[http://pve.proxmox.com Proxmox VE] is an easy to use Open Source virtualization platform for running pre-built Virtual Appliances and Virtual Machines (based on OpenVZ and also [http://kvm.qumranet.com/kvmwiki KVM] for full virtualization). &lt;br /&gt;
&lt;br /&gt;
[http://proxmox.com Proxmox] is [http://www.proxmox.com/cms_proxmox/en/virtualization/openvz/ using OpenVZ] for their spam filtering appliance (see [[Proxmox Mail Gateway in container]]). Proxmox is also the author of [http://www.proxmox.com/cms_proxmox/en/virtualization/openvz/vzdump/ vzdump] utility.&lt;br /&gt;
&lt;br /&gt;
== Solarspeed Ltd. ==&lt;br /&gt;
[http://www.solarspeed.net Solarspeed Ltd.] is a CentOS + BlueQuartz server specialist, selling server systems and software solutions. We developed [http://www.aventurin.net Aventurin{e}], which is a Linux Virtualization Appliance Software. It is based on OpenVZ and is available in a non-clustering and a clustering version. The clustering version uses DRBD and Heartbeat. The GUI interface of [http://www.aventurin.net Aventurin{e}] is based on the [http://www.bluequartz.org BlueQuartz] and allows to easily manage and create virtual servers or to perform administrative tasks on the master node. [http://www.aventurin.net Aventurin{e}] is available as [http://www.solarspeed.net/cart.php?target=product&amp;amp;product_id=16261&amp;amp;category_id=272 ISO image download], as a ready to run [http://www.solarspeed.net/cart.php?target=product&amp;amp;product_id=16263&amp;amp;category_id=272 Linux Virtualization Appliance] or as a ready to run [http://www.solarspeed.net/cart.php?target=product&amp;amp;product_id=16264&amp;amp;category_id=272 Linux Virtualization Appliance Cluster].&lt;br /&gt;
&lt;br /&gt;
== Solutions First ==&lt;br /&gt;
[http://www.solutionsfirst.com.au Solutions First] is a Linux and Open Source infrastructure specialist company. Amongst many other FOSS products, we sell and support OpenVZ for our customers. We are happy to provide support of OpenVZ any Asia-Pacific customers. We have experience in generic container hosting environments, templated applications, HA clusters and much more OpenVZ specific applications.&lt;br /&gt;
&lt;br /&gt;
== SpiderTools.com ==&lt;br /&gt;
[http://spidertools.com SpiderTools] provides training for OpenVZ servers.  Students work on live servers to gain skills on how to implement OpenVZ.  20% of all sales go back to OpenVZ for development.  Students will get 6 weeks of live instruction and support.&lt;br /&gt;
&lt;br /&gt;
== Thomas-Krenn.AG ==&lt;br /&gt;
[http://www.thomas-krenn.com Thomas-Krenn.AG] is a server specialist, selling server systems and solutions. One of the solution products is a pre-installed [http://www.thomas-krenn.com/en/system-solutions/ha-linux-cluster.html cluster system], built with Virtuozzo. They published how to build such a cluster with OpenVZ at [[HA cluster with DRBD and Heartbeat]].&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Hosting providers]] — HSPs using OpenVZ&lt;br /&gt;
* [[Download mirrors]] — people and companies providing mirrors for OpenVZ software&lt;br /&gt;
* [[Control panels]]&lt;br /&gt;
* [[2006 contributions]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=3640</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=3640"/>
		<updated>2007-11-20T09:45:41Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Updated links pointing to Version 2.1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway 2.1 template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as with full virtualization - due to the minimal overhead. Proxmox offers free and commercial licenses. &lt;br /&gt;
&lt;br /&gt;
= Prerequisites =&lt;br /&gt;
I assume you have already a running OpenVZ server. This HowTo is based on an fresh Centos 4.4 installation with OpenVZ kernel 2.6.9 but should work also with all other combinations. I used a Dual Xeon with 2 GB Ram.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
Download the Proxmox OpenVZ template&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/bittorrent/debian-4.0-proxmox-mailgateway-2.1.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
= Create a default config =&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file /etc/vz/conf/ve-default.conf-sample which contains reasonable defaults if you plan to run 5 VEs:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzsplit -n 5 -f default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Create the VPS =&lt;br /&gt;
&lt;br /&gt;
Choose a free VPS ID, we use 777 inside this guide and&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-4.0-proxmox-mailgateway-2.1 --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Configure the VPS =&lt;br /&gt;
&lt;br /&gt;
Set IP Address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your environment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --onboot yes --ipadd 192.168.2.110 \&lt;br /&gt;
 --nameserver 192.168.2.100 --nameserver 192.168.2.101 \&lt;br /&gt;
 --hostname proxmox --searchdomain yourdomain.tld --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 512MB, maximum disk space to 4GB.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --vmguarpages 512M:2147483647 --privvmpages 1G:1100M --diskspace 4000M:4400M --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Start the VPS =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl start 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --userpasswd root:YOURPASSWORT&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Backup considerations, live migration, and HA Cluster =&lt;br /&gt;
The Proxmox HA Cluster consists of a master and several nodes (minimum one node) - All can be run on different OpenVZ servers within the same subnet. Configuration is done on the master, all configuration and data is synchronized to all cluster nodes over a VPN tunnel. &lt;br /&gt;
&lt;br /&gt;
For online backups: see [[Backup_of_a_running_VE_with_vzdump]]&lt;br /&gt;
&lt;br /&gt;
Live migration: see [[Checkpointing_and_live_migration]]&lt;br /&gt;
&lt;br /&gt;
For HA Cluster: see http://www.proxmox.com/cms_proxmox/en/technology/proxmox-ha-cluster/&lt;br /&gt;
&lt;br /&gt;
= Proxmox configuration =&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=3553</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=3553"/>
		<updated>2007-10-31T09:38:10Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Configure the VPS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway 2.0 template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as with full virtualization - due to the minimal overhead. Proxmox offers free and commercial licenses. &lt;br /&gt;
&lt;br /&gt;
= Prerequisites =&lt;br /&gt;
I assume you have already a running OpenVZ server. This HowTo is based on an fresh Centos 4.4 installation with OpenVZ kernel 2.6.9 but should work also with all other combinations. I used a Dual Xeon with 2 GB Ram.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
Download the Proxmox OpenVZ template&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/bittorrent/debian-4.0-proxmox-mailgateway-2.0.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
= Create a default config =&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file /etc/vz/conf/ve-default.conf-sample which contains reasonable defaults if you plan to run 5 VEs:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzsplit -n 5 -f default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Create the VPS =&lt;br /&gt;
&lt;br /&gt;
Choose a free VPS ID, we use 777 inside this guide and&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-4.0-proxmox-mailgateway-2.0 --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Configure the VPS =&lt;br /&gt;
&lt;br /&gt;
Set IP Address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your enviroment&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --onboot yes --ipadd 192.168.2.110 --nameserver 192.168.2.100 --nameserver 192.168.2.101 --hostname proxmox --searchdomain yourdomain.tld --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 512MB, maximum disk space to 4GB&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --vmguarpages 512M:2147483647 --privvmpages 950M:1G --diskspace 4000M:4400M –-save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Start the VPS =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl start 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --userpasswd root:YOURPASSWORT&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Backup considerations, live migration, and HA Cluster =&lt;br /&gt;
The Proxmox HA Cluster consists of a master and several nodes (minimum one node) - All can be run on different OpenVZ servers within the same subnet. Configuration is done on the master, all configuration and data is synchronized to all cluster nodes over a VPN tunnel. &lt;br /&gt;
&lt;br /&gt;
For online backups: see [[Backup_of_a_running_VE_with_vzdump]]&lt;br /&gt;
&lt;br /&gt;
Live migration: see [[Checkpointing_and_live_migration]]&lt;br /&gt;
&lt;br /&gt;
For HA Cluster: see http://www.proxmox.com/cms_proxmox/en/technology/proxmox-ha-cluster/&lt;br /&gt;
&lt;br /&gt;
= Proxmox configuration =&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=3256</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=3256"/>
		<updated>2007-07-04T10:38:19Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: update description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway 2.0 template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as with full virtualization - due to the minimal overhead. Proxmox offers free and commercial licenses. &lt;br /&gt;
&lt;br /&gt;
= Prerequisites =&lt;br /&gt;
I assume you have already a running OpenVZ server. This HowTo is based on an fresh Centos 4.4 installation with OpenVZ kernel 2.6.9 but should work also with all other combinations. I used a Dual Xeon with 2 GB Ram.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
Download the Proxmox OpenVZ template&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/bittorrent/debian-4.0-proxmox-mailgateway-2.0.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
= Create a default config =&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file /etc/vz/conf/ve-default.conf-sample which contains reasonable defaults if you plan to run 5 VEs:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzsplit -n 5 -f default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Create the VPS =&lt;br /&gt;
&lt;br /&gt;
Choose a free VPS ID, we use 777 inside this guide and&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-4.0-proxmox-mailgateway-2.0 --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Configure the VPS =&lt;br /&gt;
&lt;br /&gt;
Set IP Address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your enviroment&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --onboot yes --ipadd 192.168.2.110 --nameserver 192.168.2.100 --nameserver 192.168.2.101 --hostname proxmox --searchdomain yourdomain.tld --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 512MB, maximum disk space to 4GB&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --vmguarpages 512M --privvmpages 1G --diskspace 4000M:4400M --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Start the VPS =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl start 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --userpasswd root:YOURPASSWORT&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Backup considerations, live migration, and HA Cluster =&lt;br /&gt;
The Proxmox HA Cluster consists of a master and several nodes (minimum one node) - All can be run on different OpenVZ servers within the same subnet. Configuration is done on the master, all configuration and data is synchronized to all cluster nodes over a VPN tunnel. &lt;br /&gt;
&lt;br /&gt;
For online backups: see [[Backup_of_a_running_VE_with_vzdump]]&lt;br /&gt;
&lt;br /&gt;
Live migration: see [[Checkpointing_and_live_migration]]&lt;br /&gt;
&lt;br /&gt;
For HA Cluster: see http://www.proxmox.com/cms_proxmox/en/technology/proxmox-ha-cluster/&lt;br /&gt;
&lt;br /&gt;
= Proxmox configuration =&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=3254</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=3254"/>
		<updated>2007-07-04T10:28:05Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Updated links for the new Proxmox 2.0 template&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway 2.0 template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as on the virtualization solutions from the market leader - due to the minimal overhead in OpenVZ.&lt;br /&gt;
&lt;br /&gt;
= Prerequisites =&lt;br /&gt;
I assume you have already a running OpenVZ server. This HowTo is based on an fresh Centos 4.4 installation with OpenVZ kernel 2.6.9 but should work also with all other combinations. I used a Dual Xeon with 2 GB Ram.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
Download the Proxmox OpenVZ template&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/bittorrent/debian-4.0-proxmox-mailgateway-2.0.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
= Create a default config =&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file /etc/vz/conf/ve-default.conf-sample which contains reasonable defaults if you plan to run 5 VEs:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzsplit -n 5 -f default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Create the VPS =&lt;br /&gt;
&lt;br /&gt;
Choose a free VPS ID, we use 777 inside this guide and&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-4.0-proxmox-mailgateway-2.0 --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Configure the VPS =&lt;br /&gt;
&lt;br /&gt;
Set IP Address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your enviroment&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --onboot yes --ipadd 192.168.2.110 --nameserver 192.168.2.100 --nameserver 192.168.2.101 --hostname proxmox --searchdomain yourdomain.tld --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 512MB, maximum disk space to 4GB&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --vmguarpages 512M --privvmpages 1G --diskspace 4000M:4400M --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Start the VPS =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl start 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --userpasswd root:YOURPASSWORT&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Backup considerations, live migration, and HA Cluster =&lt;br /&gt;
The Proxmox HA Cluster consists of a master and several nodes (minimum one node) - All can be run on different OpenVZ servers within the same subnet. Configuration is done on the master, all configuration and data is synchronized to all cluster nodes over a VPN tunnel. &lt;br /&gt;
&lt;br /&gt;
For online backups: see [[Backup_of_a_running_VE_with_vzdump]]&lt;br /&gt;
&lt;br /&gt;
Live migration: see [[Checkpointing_and_live_migration]]&lt;br /&gt;
&lt;br /&gt;
For HA Cluster: see http://www.proxmox.com/cms_proxmox/en/technology/proxmox-ha-cluster/&lt;br /&gt;
&lt;br /&gt;
= Proxmox configuration =&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=2937</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=2937"/>
		<updated>2007-03-29T11:18:01Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: examples&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vzdump =&lt;br /&gt;
Vzdump is an utility to make consistent snapshots of running OpenVZ VEs. It basically creates a tar archive of the VE private area, which also includes the VE configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
- Stop the VE during backup (very long downtime)&lt;br /&gt;
&lt;br /&gt;
- Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
&lt;br /&gt;
- Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://www.proxmox.com/cms_proxmox/en/technology/oss-software/openvz/&lt;br /&gt;
&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump-0.4-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump_0.4-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-0.4-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_0.4-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump OPTIONS [--all â &amp;lt;VEID&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
&lt;br /&gt;
       --xdelta                create a differential backup using xdelta&lt;br /&gt;
&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL&lt;br /&gt;
&lt;br /&gt;
       --stop                  stop/start VPS if running&lt;br /&gt;
&lt;br /&gt;
       --suspend               suspend/resume VPS when running&lt;br /&gt;
&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
&lt;br /&gt;
       --restore FILENAME      restore FILENAME&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
Use a running VE, for example install this: http://wiki.openvz.org/Proxmox_Mail_Gateway_in_VE&lt;br /&gt;
&lt;br /&gt;
== Backup == &lt;br /&gt;
&lt;br /&gt;
Simply dump VE 777 - no snapshot, just archive the VE private area and configuration files to the default dump directory (usually /vz/dump/).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --suspend 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Backup all VEs and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --suspend --all --mailto root&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --dumpdir /space/backup --snapshot 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Restore == &lt;br /&gt;
&lt;br /&gt;
Restore above backup to VE 600&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --restore /space/backup/vzdump-777.tar 600&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=2874</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=2874"/>
		<updated>2007-03-27T07:57:16Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Added backup and live migration&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as on the virtualization solutions from the market leader - due to the minimal overhead in OpenVZ.&lt;br /&gt;
&lt;br /&gt;
= Prerequisites =&lt;br /&gt;
I assume you have already a running OpenVZ server. This HowTo is based on an fresh Centos 4.4 installation with OpenVZ kernel 2.6.9 but should work also with all other combinations. I used a Dual Xeon with 2 GB Ram.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
Download the Proxmox OpenVZ template&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/bittorrent/debian-3.1-proxmox-mailgateway.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
= Create a default config =&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file /etc/vz/conf/ve-default.conf-sample which contains reasonable defaults if you plan to run 5 VEs:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzsplit -n 5 -f default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Create the VPS =&lt;br /&gt;
&lt;br /&gt;
Choose a free VPS ID, we use 777 inside this guide and&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-3.1-proxmox-mailgateway --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Configure the VPS =&lt;br /&gt;
&lt;br /&gt;
Set IP Address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your enviroment&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --onboot yes --ipadd 192.168.2.110 --nameserver 192.168.2.100 --nameserver 192.168.2.101 --hostname proxmox --searchdomain yourdomain.tld --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 512MB, maximum disk space to 4GB&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --vmguarpages 131072:2147483647 --diskspace 4000000:4400000 --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --userpasswd root:YOURPASSWORT&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Start the VPS =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl start 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Backup considerations, live migration, and HA Cluster =&lt;br /&gt;
The Proxmox HA Cluster consists of a master and several nodes (minimum one node) - All can be run on different OpenVZ servers within the same subnet. Configuration is done on the master, all configuration and data is synchronized to all cluster nodes over a VPN tunnel. &lt;br /&gt;
&lt;br /&gt;
For online backups: see [[Backup_of_a_running_VE_with_vzdump]]&lt;br /&gt;
&lt;br /&gt;
Live migration: see [[Checkpointing_and_live_migration]]&lt;br /&gt;
&lt;br /&gt;
For HA Cluster: see http://www.proxmox.com/cms_proxmox/en/technology/proxmox-ha-cluster/&lt;br /&gt;
&lt;br /&gt;
= Proxmox configuration =&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=2873</id>
		<title>Proxmox Mail Gateway in container</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Proxmox_Mail_Gateway_in_container&amp;diff=2873"/>
		<updated>2007-03-27T07:41:39Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Initial post&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxmox Mail Gateway template is an OpenVZ OS template that allows you to run the Antispam &amp;amp; Antivirus Mail Gateway. Proxmox runs in different virtualization environments but in OpenVZ it is almost twice as fast as on the virtualization solutions from the market leader - due to the minimal overhead in OpenVZ.&lt;br /&gt;
&lt;br /&gt;
= Prerequisites =&lt;br /&gt;
I assume you have already a running OpenVZ server. This HowTo is based on an fresh Centos 4.4 installation with OpenVZ kernel 2.6.9 but should work also with all other combinations. I used a Dual Xeon with 2 GB Ram.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
Download the Proxmox OpenVZ template&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/bittorrent/debian-3.1-proxmox-mailgateway.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy the template into the template cache, usually to /vz/templates/cache/&lt;br /&gt;
&lt;br /&gt;
= Create a default config =&lt;br /&gt;
Create a reasonable default config if you don’t have one. The following command creates the file /etc/vz/conf/ve-default.conf-sample which contains reasonable defaults if you plan to run 5 VEs:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzsplit -n 5 -f default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Create the VPS =&lt;br /&gt;
&lt;br /&gt;
Choose a free VPS ID, we use 777 inside this guide and&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl create 777 --ostemplate debian-3.1-proxmox-mailgateway --config default&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Configure the VPS =&lt;br /&gt;
&lt;br /&gt;
Set IP Address and DNS nameservers, start servers automatically at boot time: please adapt these settings to your enviroment&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --onboot yes --ipadd 192.168.2.110 --nameserver 192.168.2.100 --nameserver 192.168.2.101 --hostname proxmox --searchdomain yourdomain.tld --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set guaranteed memory to 512MB, maximum disk space to 4GB&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --vmguarpages 131072:2147483647 --diskspace 4000000:4400000 --save&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally set the root password:&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl set 777 --userpasswd root:YOURPASSWORT&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Start the VPS =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzctl start 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you have a running Proxmox! By typing vzlist you should have something like this.&lt;br /&gt;
&amp;lt;pre&amp;gt;[root@vz1 ~]# vzlist&lt;br /&gt;
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME&lt;br /&gt;
       777         56 running 192.168.2.110   proxmox&lt;br /&gt;
[root@vz1 ~]#&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Proxmox configuration =&lt;br /&gt;
For the Proxmox configuration point your web browser to the given IP address.&lt;br /&gt;
&lt;br /&gt;
More information on http://www.proxmox.com&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;br /&gt;
[[Category: Templates]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=2872</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=2872"/>
		<updated>2007-03-26T16:13:22Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vzdump =&lt;br /&gt;
Vzdump is an utility to make consistent snapshots of running OpenVZ VEs. It basically creates a tar archive of the VE private area, which also includes the VE configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
- Stop the VE during backup (very long downtime)&lt;br /&gt;
&lt;br /&gt;
- Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
&lt;br /&gt;
- Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://www.proxmox.com/cms_proxmox/en/technology/oss-software/openvz/&lt;br /&gt;
&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump-0.4-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump_0.4-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-0.4-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_0.4-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump OPTIONS [--all â &amp;lt;VEID&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
&lt;br /&gt;
       --xdelta                create a differential backup using xdelta&lt;br /&gt;
&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL&lt;br /&gt;
&lt;br /&gt;
       --stop                  stop/start VPS if running&lt;br /&gt;
&lt;br /&gt;
       --suspend               suspend/resume VPS when running&lt;br /&gt;
&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
&lt;br /&gt;
       --restore FILENAME      restore FILENAME&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
== Backup == &lt;br /&gt;
&lt;br /&gt;
Simply dump VE 777 - no snapshot, just archive the VE private area and configuration files to the default dump directory (usually /vz/dump/).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --suspend 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Backup all VEs and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --suspend --all --mailto root&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --dumpdir /space/backup --snapshot 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Restore == &lt;br /&gt;
&lt;br /&gt;
Restore above backup to VE 600&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --restore /space/backup/vzdump-777.tar 600&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=2871</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=2871"/>
		<updated>2007-03-26T16:12:55Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Update downloadlinks pointing to 0.4-1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vzdump =&lt;br /&gt;
Vzdump is an utility to make consistent snapshots of running OpenVZ VEs. It basically creates a tar archive of the VE private area, which also includes the VE configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
- Stop the VE during backup (very long downtime)&lt;br /&gt;
&lt;br /&gt;
- Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
&lt;br /&gt;
- Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/ or for newest version, check http://www.proxmox.com/cms_proxmox/en/technology/oss-software/openvz/&lt;br /&gt;
&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump-0.4-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://www.proxmox.com/cms_proxmox/cms/upload/vzdump/vzdump_0.4-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-0.3-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_0.3-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump OPTIONS [--all â &amp;lt;VEID&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
&lt;br /&gt;
       --xdelta                create a differential backup using xdelta&lt;br /&gt;
&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL&lt;br /&gt;
&lt;br /&gt;
       --stop                  stop/start VPS if running&lt;br /&gt;
&lt;br /&gt;
       --suspend               suspend/resume VPS when running&lt;br /&gt;
&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
&lt;br /&gt;
       --restore FILENAME      restore FILENAME&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
== Backup == &lt;br /&gt;
&lt;br /&gt;
Simply dump VE 777 - no snapshot, just archive the VE private area and configuration files to the default dump directory (usually /vz/dump/).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --suspend 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Backup all VEs and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --suspend --all --mailto root&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --dumpdir /space/backup --snapshot 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Restore == &lt;br /&gt;
&lt;br /&gt;
Restore above backup to VE 600&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --restore /space/backup/vzdump-777.tar 600&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=2863</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=2863"/>
		<updated>2007-03-23T10:36:52Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vzdump =&lt;br /&gt;
Vzdump is an utility to make consistent snapshots of running OpenVZ VEs. It basically creates a tar archive of the VE private area, which also includes the VE configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
- Stop the VE during backup (very long downtime)&lt;br /&gt;
&lt;br /&gt;
- Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
&lt;br /&gt;
- Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/&lt;br /&gt;
&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://download.openvz.org/contrib/utils/vzdump/vzdump_0.3-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://download.openvz.org/contrib/utils/vzdump/vzdump-0.3-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-0.3-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_0.3-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump OPTIONS [--all â &amp;lt;VEID&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
&lt;br /&gt;
       --xdelta                create a differential backup using xdelta&lt;br /&gt;
&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL&lt;br /&gt;
&lt;br /&gt;
       --stop                  stop/start VPS if running&lt;br /&gt;
&lt;br /&gt;
       --suspend               suspend/resume VPS when running&lt;br /&gt;
&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
&lt;br /&gt;
       --restore FILENAME      restore FILENAME&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
== Backup == &lt;br /&gt;
&lt;br /&gt;
Simply dump VE 777 - no snapshot, just archive the VE private area and configuration files to the default dump directory (usually /vz/dump/).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --suspend 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Backup all VEs and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --suspend --all --mailto root&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --dumpdir /space/backup --snapshot 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Restore == &lt;br /&gt;
&lt;br /&gt;
Restore above backup to VE 600&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --restore /space/backup/vzdump-777.tar 600&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category: HOWTO]]&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=2862</id>
		<title>Backup of a running container with vzdump</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Backup_of_a_running_container_with_vzdump&amp;diff=2862"/>
		<updated>2007-03-23T10:07:59Z</updated>

		<summary type="html">&lt;p&gt;Martinmaurer: Initial post&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Vzdump =&lt;br /&gt;
Vzdump is an utility to make consistent snapshots of running OpenVZ VEs. It basically creates a tar archive of the VE private area, which also includes the VE configuration files.&lt;br /&gt;
&lt;br /&gt;
There are several ways to provide consistency:&lt;br /&gt;
&lt;br /&gt;
- Stop the VE during backup (very long downtime)&lt;br /&gt;
&lt;br /&gt;
- Use rsync and suspend/resume (minimal downtime)&lt;br /&gt;
&lt;br /&gt;
- Use LVM2 (no downtime)&lt;br /&gt;
&lt;br /&gt;
Vzdump stores the backup on the disk in a single file. This file should go to a tape backup for archiving.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Download vzdump rpm or deb packages from http://download.openvz.org/contrib/utils/vzdump/&lt;br /&gt;
&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://download.openvz.org/contrib/utils/vzdump/vzdump_0.3-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;wget http://download.openvz.org/contrib/utils/vzdump/vzdump-0.3-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
For rpm based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;rpm -i vzdump-0.3-1.noarch.rpm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Debian based systems:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg -i vzdump_0.3-1_all.deb&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump OPTIONS [--all â &amp;lt;VEID&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
       --compress              compress dump file (gzip)&lt;br /&gt;
&lt;br /&gt;
       --dumpdir DIR           store resulting files in DIR&lt;br /&gt;
&lt;br /&gt;
       --xdelta                create a differential backup using xdelta&lt;br /&gt;
&lt;br /&gt;
       --mailto EMAIL          send notification mail to EMAIL&lt;br /&gt;
&lt;br /&gt;
       --stop                  stop/start VPS if running&lt;br /&gt;
&lt;br /&gt;
       --suspend               suspend/resume VPS when running&lt;br /&gt;
&lt;br /&gt;
       --snapshot              use LVM snapshot when running&lt;br /&gt;
&lt;br /&gt;
       --restore FILENAME      restore FILENAME&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
== Backup == &lt;br /&gt;
&lt;br /&gt;
Simply dump VE 777 - no snapshot, just archive the VE private area and configuration files to the default dump directory (usually /vz/dump/).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use rsync and suspend/resume to create a snapshot (minimal downtime).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --suspend 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Backup all VEs and send notification mails to root.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --suspend --all --mailto root&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use LVM2 to create snapshots (no downtime).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --dumpdir /space/backup --snapshot 777&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Restore == &lt;br /&gt;
&lt;br /&gt;
Restore above backup to VE 600&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;vzdump --restore /space/backup/vzdump-777.tar 600&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Martinmaurer</name></author>
		
	</entry>
</feed>