openvz to proxmox migration

zablowoj

Member
Feb 8, 2022
8
0
6
49
Hi,
I have problem with migration from openvz to proxmox.
Openvz node:
- CentOS release 6.8
- vzkernel-2.6.32-042stab120.16.x86_64

openvz host:
- debian 4.0

Proxmox VE - 7.1

From some reasons, installation from from scratch app and data migration is very difficult.

How to migrate whole container ?
 
Openvz node:
- CentOS release 6.8
openvz host:
- debian 4.0
both of these are quite old and end of support - If possible at all I would really recommend to setup the application running in the openvz container
on a up-to-date lxc container (or VM) on a fresh PVE 7.1 installation.

That being said - if you need to keep them running as is - you can also consider moving the complete OpenVZ host into a VM in PVE.

Else maybe the following conversion docs help:
https://pve.proxmox.com/wiki/Convert_OpenVZ_to_LXC

but keep in mind that it is very well possible that a old userland (as debian 4.0) will not run with a current kernel

I hope this helps!