A Microsoft file hosting and synchronization service.
I had same issue with an earlier version writing over latest version as described, but was able to successfully restore a newer version from web interface. I have Office 365
Here is what happened :
* updating an Excel file each day on desktop, windows 10
* powered up laptop that is synced with Onedrive. Did not open any files on laptop.
* found that version on desktop had been overwritten with weeks old version of Excel file
* tried to restore previous version from Windows explorer using version history. Would not restore. Looked at version using Windows explorer and all the versions there pointed to weeks old version (even ones dated prior to that version)
* went to online version of Onedrive using Chrome, selected file I needed (its a check box) and in version history option was able to download a previous version that was just one day old. So that version contained the correct and current data.
** renamed downloaded version to a new name, just to be sure it did not get overwritten again.
This overwriting problem needs to be fixed!
Good luck!