I’m running lxd 4.3 and just getting to grips with pylxd is there a way to do the equivalent of a lxc import from pylxd?
There is a way todo every
lxc command via the API (as “all” (give or take)
lxc does is access the API) , try adding
--debug to the
lxc something command to see what happens behind the scenes!
IIRC that particular one is a direct push of the file to /1.0/instances
debug of lxc doesn’t show its doing anything
Yes looking at other comments and the file format… The export appears to be a backup…
So would I assume that once the tar file is unpacked into the backup area it can be restored via LXD REST commands?