Today I got the following when trying to restore one of my containers from backup:
[root@lxd1 ~]# lxd recover
This LXD server currently has the following storage pools:
- ee (backend="zfs", source="")
The recovery process will be scanning the following storage pools:
- EXISTING: "ee" (backend="zfs", source="")
Would you like to continue with scanning for lost volumes? (yes/no) [default=yes]: yes
Scanning for unknown volumes...
Error: Failed validation request: Failed checking volumes on pool "ee": Instance "eedtest" in project "default" has snapshot inconsistency: Snapshot count in backup config and storage device are diffe
rent: Backup snapshots mismatch
Which is correct, since I’m not backing up the snapshots, only the main filesystem.
Would it be possible for lxd recover to ignore snapshot inconsistencies and simply not try to restore snapshots in this case? It would save me a lot of manual editing of metadata files, which even if I automate will be terribly fragile as the format is not really guaranteed.