Hello,
I am just starting with the platform and liking it very much.
I am trying to move a Proxmox LXC container to a non-Proxmox host. I tried two methods, but neither worked:
1. I stopped the container and took a full backup and used gzip to compress it. Then I copied the resulting vzdump*.tar.gz file into the other server and attempted to issue "lxc image import <vzdump file path>". I got this:
2. I stopped the container and in the web UI I right-clicked and used "Convert to template" from the context menu. But then I could not find where this template was created in the filesystem. It was not in /var/lib/vz/template/cache.
I did multiple google searches but did not come up with anything. Bulk of the material talks about backup and restoring on the same Proxmox node or between multiple Proxmox node. But nothing about portability between Proxmox and non-Proxmox LXD host.
Thanks,
Adam
I am just starting with the platform and liking it very much.
I am trying to move a Proxmox LXC container to a non-Proxmox host. I tried two methods, but neither worked:
1. I stopped the container and took a full backup and used gzip to compress it. Then I copied the resulting vzdump*.tar.gz file into the other server and attempted to issue "lxc image import <vzdump file path>". I got this:
Code:
Error: Could not extract image metadata.yaml from tar: Failed to run: tar -O -zxf /var/lib/lxd/images/lxd_build_646308358/lxd_post_154669997 metadata.yaml: tar: metadata.yaml: Not found in archive
tar: Exiting with failure status due to previous errors (tar: metadata.yaml: Not found in archive)
2. I stopped the container and in the web UI I right-clicked and used "Convert to template" from the context menu. But then I could not find where this template was created in the filesystem. It was not in /var/lib/vz/template/cache.
I did multiple google searches but did not come up with anything. Bulk of the material talks about backup and restoring on the same Proxmox node or between multiple Proxmox node. But nothing about portability between Proxmox and non-Proxmox LXD host.
Thanks,
Adam