Looks to me like both of your models fall apart if the order of elements does not match the order of destination DB recovery.
Therefore
you should hunt for a solution that works no matter what the order of elements.
Looks like you are in for laborious loading of item by item from the first DB, checking if it exists in the second and storing the items which don't exist in some form for a batch update.
Bill