[Backup question] 2 iphone with same icloud/appleid
So i have 2 iphone using one apple id or icloud.
I would like to know what happened if i backup the data from both devices to icloud.
Does the backup merge or it will overwrites depend on the last backup?
Thanks and Regards
iPhone 5c, iOS 10