Hi
I had decided to rebuild my laptop with Ubuntu 26.04, so exported my instances and importing them in the new build. With one of them that has a “dependent” custom filesystem volume, it fails to import:
Error: Failed importing backup: Failed creating instance record: Failed initializing instance: Failed to add device "instance-name_disk01": Cannot attach volume with snapshots as dependent
Incus 7.3 took snapshots of the OCI container and “dependent” custom volume on every startup and expires them at 90 days.
It came from Ubuntu 24.04.4 x86_64 HWE (v7 kernel) with ZFS backed storage pools. Both the root and custom volumes were filesystem types created by Incus. It was exported with “–optimized-storage” and just used default gz compression.
So far the import actually creates the dependent custom volume with all its snapshots, but fails with the instance import/create. I’ve tried cleaning out any references to dependent custom volume in the export’s “index.yaml” and the directories in the export archive, but it is still referenced in the other (binary?) files so I get the same error.
Any ideas how to prod it to import?
Thanks.