Some bugs when restoring IncusOS/Incus

Hi, I tried a restore of latest version of IncusOS and found the following bugs:

  1. restore command does not respect multiple skip parameters
incus admin os system restore instance_backup.tar.gz --skip local-data-encryption-key,encryption-recovery-keys

only respects the first skip parameter local-data-encryption-key, the second one is ignored and the recovery key gets overwritten by the key from the backup.

  1. inucs recover does not recover LXC image files but occupies space on pool

All files of type image are not imported / visible after an incus admin recover. That leads to the problem that if image files existed on the volumes before, the space is now allocated but the files are not visible. You can try it if you download a bunch of images to an empty volume and do a recover. Then no images are shown, but the space on the pool is still occupied.

Thanks.