Moving container created in Suse to Proxmox

ramesh

Active Member
Nov 18, 2015
13
0
41
Is it possible to move a LXC container created within SUSE enterprise 11 sp4 (SLES11sp4) or SLES12 into proxmox? The container is also the same as base OS.
 
Hi Ramesh
With a bit of handwork it should be possible
The first thing I would try would be doing

pct restore 100 /var/lib/vz/dump/my_backup_of_the_rootfs_of_my_SLES_container.tar

and see what happens
 
Hi Manu,

Thanks for the quick reply. I will create a container within my fully virtualised SLES guest and give it a shot. Will post the result.

Ramesh.
 
Sorry for the delayed reply, we were having serious flooding in chennai, india.

I tried what you said and get this error: archive contains no configuration file.

Also:
Tried using the same tar.gz file as a template and created a new container (in a zfs volume). The creation happened without errors. But the CT refused to start. I had made a mistake in the tar.gz as it retained the folder structure on the suse machine. the true-root was inside "/root/lxctest". I therefore moved all files from there to the correct root and then tried again:
The ct refused to start saying "missing os-type".
I added "ostype = suse" int the conf and tried again.
This time the error is: "TASK ERROR: implement me at /usr/share/perl5/PVE/LXC.pm line 1069".
Now I am stuck.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!