PVE Adopt a Native LXD/LXC: Difference between revisions
From WikiMLT
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
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 aye (almost) the same thing. | ||
1. Create a backup of the LXD/LXC container. | '''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"]]. | ||
'''2.''' Copy the backup of an LXD/LXC container to a ProxmoxVM's template directory within its storage. In my case I'm using a command as the shown below.<syntaxhighlight lang="shell" line="1"> | |||
2. Copy the backup of an LXD/LXC container to a ProxmoxVM's template directory within its storage.<syntaxhighlight lang="shell" line="1"> | rsync --progress \ | ||
rsync --progress remote.host | remote.host:/mnt/backups/lxc-webserver-backup-2022-09-23.tar.gz \ | ||
/mnt/pve/ssd-1TB/template/cache/ | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 10:26, 23 September 2022
Converting an LXD/LXC to a ProxmoxVE/LXC is pretty easy, because the aye (almost) the same thing.
1. Create a backup of the LXD/LXC container. For details read the relevant section "Backup LXC Containers" from the guide "LXC Basic Setup".
2. Copy the backup of an LXD/LXC container to a ProxmoxVM's template directory within its storage. In my case I'm using a command as the shown below.
rsync --progress \
remote.host:/mnt/backups/lxc-webserver-backup-2022-09-23.tar.gz \
/mnt/pve/ssd-1TB/template/cache/