# Onedrive

Onedrive is a self-hosted backup app. A free, open-source Microsoft OneDrive client for Linux that syncs OneDrive Personal, OneDrive for Business, Microsoft 365, and SharePoint document libraries. It is open source and self-hosted, installable on Proxmox, Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/702/onedrive

## Description

A free, open-source Microsoft OneDrive client for Linux that syncs OneDrive Personal, OneDrive for Business, Microsoft 365, and SharePoint document libraries. It runs in a container or on any major Linux distribution, syncing files over the network so cloud storage stays in step with your home server. Selective sync, built-in file deletion, and full Azure national-cloud support make it a reliable pick for homelabbers who want OneDrive syncing without a desktop client.

## Platform availability

Available on 2 of 9 platforms: Unraid, Proxmox.

## Health score

74/100 (Good), based on 5 of 5 factors.
- Maintained: 100 (last commit 15 days ago)
- Popular: 82 (12,901 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 40 (4 GB minimum RAM, runs on ARM)
- Security check: 79 (no serious findings, CI, tests, OpenSSF Scorecard 5.4/10)

## Links

- GitHub: https://github.com/abraunegg/onedrive
- Proxmox: https://community-scripts.github.io/ProxmoxVE/scripts?id=onedrive
- Official website: https://abraunegg.github.io
- Docker Hub: https://hub.docker.com/r/driveone/onedrive
- Documentation: https://hub.docker.com/r/driveone/onedrive
- Unraid: https://ca.unraid.net/apps/onedrive-0q4f8y70b5ja4z?q=Onedrive

## Common questions

### What should I do if the OneDrive Docker container cannot start or sync?

Enable Docker before using the container by running sudo systemctl enable --now docker. If Docker is not enabled, the container cannot start or sync.

### How do I start the client automatically and check for startup or permission problems?

Run service onedrive start and chkconfig onedrive on so it starts now and after reboot. Then watch /var/log/onedrive/<username>.onedrive.log to see what the client is doing.

### Is there a simpler first-install method than building from source on openSUSE or Solus?

Yes, install the packaged client with sudo zypper install onedrive on openSUSE or sudo eopkg install onedrive on Solus. This installs a ready-made client instead of building from source.

### Does the client support one-way and two-way synchronisation?

Yes, it supports both one-way and two-way synchronisation modes for syncing with Microsoft OneDrive services.

### Can it sync SharePoint document libraries as well as OneDrive for Business?

Yes, it supports OneDrive Personal, OneDrive for Business, Microsoft 365, and SharePoint document libraries.

---
Source: Our Local Host (https://ourlocalhost.com/app/702/onedrive), the self-hosted and open-source app directory.
