55
submitted 1 month ago* (last edited 1 month ago) by bpt11@sh.itjust.works to c/selfhosted@lemmy.world

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

you are viewing a single comment's thread
view the rest of the comments
[-] ptz@dubvee.org 7 points 1 month ago

I don't use the desktop app, but the mobile app has a setting for what to do with the original file:

  1. Keep in original folder
  2. Move to app folder
  3. Deleted

I have different sync folders setup differently depending on use case, but I typically use option #1 as my "default".

Maybe when you setup the sync folder, you set it to delete the local files?

Also, is the OneDrive folder a "real" folder or virtual one? I've only used Google Drive for things like that, and the local folder just holds a skeleton of the contents and pulls from the network on-demand. It...does not play well with other sync utilities or even copying through robocopy.

[-] AceBonobo@lemmy.world 2 points 1 month ago

OneDrive uses virtual files and there is an open bug that isn't getting enough attention

https://feddit.it/comment/10231887

this post was submitted on 19 Nov 2024
55 points (86.7% liked)

Selfhosted

40734 readers
384 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS