PVE Adopt a Native LXD/LXC: Difference between revisions

From WikiMLT
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>{{ContentArticleHeader/Proxmox|toc=off}}{{ContentArticleHeader/Containers}}</noinclude>
<noinclude>{{ContentArticleHeader/Proxmox|toc=off}}{{ContentArticleHeader/Containers}}</noinclude>
Converting an LXD/LXC to a ProxmoxVE/LXC is pretty easy, because the aye (almost) the same thing.
Converting an LXD/LXC to a ProxmoxVE/LXC is pretty easy, because the are (almost) the same thing.


'''1.''' Create a backup of the LXD/LXC container. For details read the relevant section [[LXD/LXC Basic Setup#Backup LXC Containers|"Backup LXC Containers" from the guide "LXC Basic Setup"]].
'''1.''' Create a backup of the LXD/LXC container. For details read the relevant section [[LXD/LXC Basic Setup#Backup LXC Containers|"Backup LXC Containers" from the guide "LXC Basic Setup"]].

Revision as of 11:27, 23 September 2022

Con­vert­ing an LXD/LXC to a ProxmoxVE/​​​LXC is pret­ty easy, be­cause the are (al­most) the same thing.

1. Cre­ate a back­up of the LXD/LXC con­tain­er. For de­tails read the rel­e­vant sec­tion "Back­up LXC Con­tain­ers" from the guide "LXC Ba­sic Set­up".

2. Copy the back­up of an LXD/LXC con­tain­er to a ProxmoxVM's tem­plate di­rec­to­ry with­in its stor­age. In my case I'm us­ing a com­mand as the shown be­low.

rsync --progress \
remote.host:/mnt/backups/lxc-webserver-backup-2022-09-23.tar.gz \
/mnt/pve/ssd-1TB/template/cache/