I use Anki 25.02 on Mac.
I have downloaded a deck (let’s call it Y) and imported it to Anki and sadly, by mistake, several cards that were already existing in my main deck (let’s call it X) were replaced by those of the imported deck Y. I only noticed a few days later, so cannot just click ctrl+Z.
Fortunately I have an old .apkg back up containing almost all of the replaced cards.
But I cannot manage to import it to Anki as duplicated cards are just ignored and I cannot see any option to change this behaviour.
Using this back up, how could I manually restore the wrongly replaced cards?
Unfortunately I cannot proceed this way because since the mistake happened, I have done several modifications to other cards from my original deck X. If I do this way, I will loose all these modifications.