I am migrating to a new, bigger SSD and am curious as to the best way to migrate my LXD to the new hard drive. I know the easiest choice is to do clone the old HD but I do not want to migrate all the data on the old HD to the new HD so I would like to do it piece meal.
My lxd instance has 10 containers running, 9 of which belong to the default profile which utilizes the lxdbr0 and a local zfs pool (local meaning its on the old HD). One container utilizes a much larger zfs pool that resides on an old, slow external drive.
So I would like to install a new OS (still ubuntu based) on the new SSD and then migrate the LXD over. What is the best way to do this?
Additionally, is there a way to keep LXD separate in case I need to do this again? For instance, on a separate partition like is often suggested for /home folders?
EDIT: For anyone who has gotten here searching for an answer to a question similar to my initial question please read this entire thread. My initial understanding brought about some initial disaster and took me many hours to solve. Read the entire thread and then decide if its the path you wish to take. Thank you!