OpenVZ Forum


Home » Mailing lists » Users » Physical server to OpenVZ
Re: Physical server to OpenVZ [message #20291 is a reply to message #20288] Fri, 14 September 2007 16:41 Go to previous messageGo to previous message
Gregor Mosheh is currently offline  Gregor Mosheh
Messages: 62
Registered: April 2007
Member
Stefan Kok wrote:
> 1) Is this possible (backup physical server and restore to virtual) ?
> 2) If so is there any documentation / HOWTO's or pointers that you could
> give please ?

The basic OS would survive a tar/untar process. But there're some items 
typically missing from a VPS setting which would be vital to running on 
a physical server. The first that come to mind are module utilities 
(modprobe et al) and the modules themselves, some daemons (klogd, 
udevd), and then a few fundamental config files (fstab, lilo.conf or /boot).

I think that you probably *could* do it with a lot of effort (90% of it 
being adding new packages to the VPS after you're untarred it), but that 
if your goal is fast and reliable recovery, you'd be best off restoring 
the VPS into a VPS setting. It's not difficult or time-consuming to 
install the OpenVZ system, and they could easily have it installed by 
the time the backup drive arrived at the new office.

If the new HN already had OpenVZ, then it's trivially simple to run 
vzctl create to generate the VPS, then replace the content under 
/vz/private/X with the tar content.

-- 
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzctl start 777 -> RTNETLINK answers: No such device
Next Topic: Live Migration and shell
Goto Forum:
  


Current Time: Sat Nov 16 16:58:01 GMT 2024

Total time taken to generate the page: 0.03049 seconds