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

@EmoPolarbear@lemmy.ca
link
fedilink
English
541M

When you say “I told it to sync my one drive folder, and it did it’s best” did you install nextcloud desktop and point it at the same folder that was currently syncing onedrive?

If yes, never do this. You should never layer two sync services that support virtual files over the same folder. The best way migrate to nextcloud is to use the nextcloud apps that connect to one drive and help you migrate.

Failing that the correct way would be to either set onedrive and nextcloud to sync 2 Seperate folders then copy from the onedrive folder to the nextcloud folder. Or set one drive to download all files, disable it entirely, then install nextcloud syncing with the formerly one drive folder.

@bpt11@sh.itjust.works
creator
link
fedilink
English
251M

Yep I sure did the thing you said not to do. I’m very new to a lot of this stuff still learning, I didn’t think about it and thought it would just work in was able to recover all my files and everything is fine so I’m not worried about it anymore and I understand the issue now. So this has just been a learning experience, I’m moving on with the second message you suggested and just making a new folder and copying stuff over. Thanks for the input man

@EmoPolarbear@lemmy.ca
link
fedilink
English
91M

You welcome. The more you make mistakes the more you learn, just remember backups backups backups and you should be fine.

I feel like what you described should be a big fat warning on the nextcloud page

OP is a lot more gracious than most internet users by accepting some responsibility. But i wouldnt blame them. I might have done the same, and i’ve been self hosting nextcloud for 8 years now.

Create a post

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!

  • 1 user online
  • 171 users / day
  • 422 users / week
  • 1.04K users / month
  • 3.77K users / 6 months
  • 1 subscriber
  • 3.9K Posts
  • 79.1K Comments
  • Modlog