Clone/Back Up/Restore OpenVZ VMs With vzdump | Linux Today

Clone/Back Up/Restore OpenVZ VMs With vzdump

Written By
FT
Falko Timme
Dec 1, 2008

[ Thanks to Falko
Timme
for this link. ]

“I’m running a virtual machine with the hostname
test.example.com, the IP address 192.168.0.102 and the VEID 102 on
server1.example.com, and I want to back up that machine and restore
it on server2.example.com.

“We can restore it on server2.example.com with no changes (e.g.
same IP address and hostname), but in that case we must stop the VM
on server1.example.com because otherwise the IP address and
hostname would conflict; the second possibility is to restore it on
server2.example.com, but change some parameters like the IP address
and hostname with the vzctl set command – in this case we can run
both VMs (the original one on server1.example.com and the clone on
server2.example.com) at the same time. This is a great method to
clone VMs.”


Complete Story

FT

Falko Timme

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.