Import linux LXC to Proxmox

tengri

Active Member
Jul 13, 2017
7
2
43
38
Hey. Can anyone tell about the procedure of porting the usual linux lxc?
I tried to restore it as a backup by inserting pct.conf there but got an error - "can not determine the backup backup type for backup archive". Also tried to create a template, error - "
Job for lxc@120.service failed. See 'systemctl status lxc@120.service' and 'journalctl -xn' for details.
TASK ERROR: command 'systemctl start lxc @ 120' failed: exit code 1 "
 
please write in more detail what you tried to do and what you expected
Can anyone tell about the procedure of porting the usual linux lxc?
I tried to restore it as a backup
what exactly did you try to restore ? our restore function only works with our backups
 
please write in more detail what you tried to do and what you expected

what exactly did you try to restore ? our restore function only works with our backups

I created a copy of the regular Linux lxc container, added /etc/vzdump/pct.conf to it and archived it in tar.gz. I moved them to vzdump and tried to deploy it as a backup.

My goal is to move regular lxc containers from another server (just Linux Debian 8) to the proxmox server. Or it is better to convert them into a qemu format.

Sorry for my English.
 
did you name the backup file like this?

vzdump-lxc-100-2017_07_11-11_15_58.tar.gz
 

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!