I’m trying to move a container from one server to another. I have made an export of the container. It has an associated storage pool and volume in zfs.
After the export, I scp it over to the new server, and do the import.
I keep getting the error
Error: Failed importing backup: Failed creating instance record: Failed initializing instance: Failed ad
d validation for device "ncloud_data": Failed loading custom volume: Storage volume not found
whether I create the storage volume inside the pool or not. To try and keep things simple I have created the storage pool and storage volume with the same names as on the original server. I’m not sure why this is failing every time, so any help is greatly appreciated.
incus config show --expanded NAME of the instance would be good to see more about that ncloud_data device.
It sounds likely to be a standard disk device with a source and pool config.
You’d need to make sure that you have a volume with the same name as source and in a pool of the same name as pool on the target.
As a note, I am attempting to move the main instance, as well as the custom volume using the same pool name and type (zfs) and the same volume name on the new server.