For a long time I’ve used OneDrive to sync all of my files and keep them safe, but I’ve been really getting into self hosting all my own services, so today I set up NextCloud to replace it. I told it to sync my OneDrive folder, and it did it’s best. It copied the file structure and had all the directories and everything but emptied every folder, it deleted every single file I had on my OneDrive, now all I have is empty folders.

Luckily OneDrive has a file recovery system where I can give it a time and date to revert back to so my data should all be safe, but why on earth did it do that in the first place? This was incredibly stressful and terrifying I thought I lost all my work. What did I do wrong?

Edit: I’ve identified the issue and have learned from this experience, it is now a non issue and was completely my own doing. Wary reader, learn from my cautionary tale

Comment that helped me figure it out https://lemmy.ca/comment/12912420

  • Moonrise2473@feddit.it
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    3 days ago

    it is now a non issue

    IMHO it’s still a big issue that might lead to data loss to someone else. The Windows client should be hardcoded to refuse syncing in onedrive folder.

    Someone should reproduce this in a VM and open a GitHub issue

    Edit: they already know this since a couple years, and the same happens on MacOS https://github.com/nextcloud/desktop/issues/4276