Backups not restoring xcp-ng8.1
-
@olivierlambert said in Backups not restoring xcp-ng8.1:
Can you be more specific? When it throws something? At which point, after which operation?
Sorry. When I go to the page for the VM then migrate. Then select the destination server and storage. Then click proceed and it shows the error in a text box at the top right.
As it is I’ve got the migration working after I deleted the original VM
-
So you restored the VM without any problem on the "other host", but when you want to migrate that restored VM on the original host, it fails to do so, right?
-
@olivierlambert said in Backups not restoring xcp-ng8.1:
So you restored the VM without any problem on the "other host", but when you want to migrate that restored VM on the original host, it fails to do so, right?
Correct. It only works when I’ve deleted the VM that it is a backup of.
I’m sure you can see why keeping a copy of the source VM would be a good idea.
Notably the only reason I was restoring the “other” host was because the restore process hung on the main host. Which may or may not be related.
-
It might be a new check introduced in XCP-ng 8.1 then.
What approach do you suggest?
-
@olivierlambert said in Backups not restoring xcp-ng8.1:
It might be a new check introduced in XCP-ng 8.1 then.
What approach do you suggest?
Isn’t that for you to decide? :).
Obviously I would prefer that check wasn’t there.
-
You reported your problem, you are asking for something, I'm all ears for suggestions
We should think about the best approach. Actions:
- Try to find where those changes were made (in XAPI?)
- Analyze reason of these changes and maybe discuss that with XAPI devs
- Choose a solution according to our investigation
-
@olivierlambert said in Backups not restoring xcp-ng8.1:
You reported your problem, you are asking for something, I'm all ears for suggestions
We should think about the best approach. Actions:
- Try to find where those changes were made (in XAPI?)
- Analyze reason of these changes and maybe discuss that with XAPI devs
- Choose a solution according to our investigation
Thanks! It would be good to get a workaround too. It doesn’t go from MAC address as I’ve tried changing the address and tried deleting the network interface which doesn’t work.
So perhaps it’s looking at the UUID of the VM? Is there a way to change that, or other way such that it now thinks that VM is not a duplicate.
Or perhaps that’s something that could be added to the backup restore system such that it restores with different details such that it doesn’t trigger the duplicate error?
-
The UUID is really unique. So I suppose the check is on something else. If you can explore logs to get what's blocking it might help us to narrow it
-
@olivierlambert said in Backups not restoring xcp-ng8.1:
The UUID is really unique. So I suppose the check is on something else. If you can explore logs to get what's blocking it might help us to narrow it
Checking between restore and original. The VM UUID is different. The VDI UUID is different. Not sure what else there is.
-
That's why checking XAPI logs might be interesting to know what's used to find it's a duplicate.