• Fizz@lemmy.nz
    link
    fedilink
    arrow-up
    1
    arrow-down
    3
    ·
    2 days ago

    I’m not doubting that happened but i have no idea how one drive would nuke your folders. When there is a difference in time between local and cloud one drive forces you to manually choose which version of the file should stay. What’s Whole disk sync is that like sync the entire c drive why would someone do that?

    I do not understand most of your points at all. They dont seem like real onedrive issues and instead come off as internal issues of configurations and bad process.

    • dustyData@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      2 days ago

      By default OneDrive comes configured to backup the entire user folder, it overrides the default user structure. It creates a labyrinth of shortcuts. This messes with other applications that expect a default user folder hierarchy, but sometimes it fails to resolve the correct links. You effectively end up with two user folders that coexist on the same symbolic links and are both present in your computer at the same time (different place on the harddrive but same place for the OS). This wouldn’t be a problem if OneDrive were only backing up the folders one way. Unfortunately, it is actually syncing the OneDrive and your folders bidirectionally, and this includes deleting files and folders.

      Thus, if another program or another computer associated with your active directory user account messes with the folders at the same time, there exists the possibility that OneDrive confuses your empty user folder, with the virtual user folder. It believes the empty folder structure is the newest and most updated version. Because internally it only has time stamps but it doesn’t store metadata on the procedures. It sees, file existed at 01:33:12 and no longer exists at 01:33:13, it doesn’t know why it doesn’t exist anymore. Now it thinks this computer is outdated and it proceeds to sync, erasing all files without prompt.

      I’ve seen this happen at least three times.

      • Fizz@lemmy.nz
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        2 days ago

        Thats not how it works. One drive creates a one drive folder that sits in your directory. Your directory folder still has the documents/videos folders etc. Inside the newly created one drive folder is a documents/videos folders etc. Onedrive changes the system path to use these folders instead. If onedrive is offline the files can still be saved to the one drive folder. If a programming uses a hardcoded path for some reason then that path still exists because \user\documents still exists and \user\onedrive\documents exists.

        Its actually quite simple and works well in my opinion.