☁️ Proxmox P9 – How to Mount OneDrive as Cloud Storage on Proxmox VE
If you’re looking for a simple and effective way to mount OneDrive on Proxmox VE, this step-by-step tutorial will guide you through the entire setup process.
By integrating Microsoft OneDrive with Proxmox VE, you can expand your storage capabilities and create a flexible cloud backup solution for your virtual machines. This approach is especially useful for:
💾 VM backups (VZDump)
📦 ISO image storage
🗂️ Snapshot archives
🔄 Offsite redundancy
Using Rclone, we will authenticate a OneDrive account and mount it directly as a storage directory inside Proxmox. The configuration works perfectly for both home lab environments and production servers.
Cloud integration improves:
✅ Data redundancy
✅ Offsite backup strategy
✅ Accessibility
✅ Infrastructure scalability
Let’s start and configure OneDrive as cloud storage in Proxmox VE within minutes.
🧰 Step 1: Install Rclone & FUSE on Proxmox
SSH into your Proxmox node as root and run:
apt update
apt install -y rclone fuse
Enable allow_other in FUSE (if not already configured):
grep -q '^user_allow_other' /etc/fuse.conf || echo 'user_allow_other' >> /etc/fuse.conf
This ensures proper mount permissions when using FUSE-based filesystems.
💻 Step 2: Create OneDrive Remote on Windows Using Rclone Config
On Windows, download Rclone.
In this guide, version v1.71.0 is used (you may use the latest version):
https://downloads.rclone.org/v1.71.0/
Extract the package and open Command Prompt as Administrator, then run:
C:\Users\Administrator\Desktop\rclone-v1.71.0-windows-amd64\rclone.exe config
Configuration inputs:
client_id>andclient_secret>→ Press Enter (leave blank unless using a custom client)Choose Microsoft Cloud Global (for Microsoft 365 / OneDrive Personal & Business accounts)
tenant:→ Press EnterAuthenticate via Microsoft login when redirected
After authentication completes, your OneDrive remote configuration will be created successfully.
📂 Step 3: Copy the Rclone Config File to Proxmox
On Proxmox, create the configuration directory:
mkdir -p /root/.config/rclone
On Windows, locate the config file path:
C:\Users\Administrator\Desktop\rclone-v1.71.0-windows-amd64\rclone.exe config file
Copy the generated rclone.conf file to:
/root/.config/rclone/
Set proper permissions:
chmod 600 /root/.config/rclone/rclone.conf
This ensures secure access to authentication credentials.
📌 Step 4: Create Mount Folder and Mount OneDrive
Create the mount point:
mkdir -p /mnt/onedrive-backup
chown root:root /mnt/onedrive-backup
chmod 755 /mnt/onedrive-backup
Test mount (foreground mode):
rclone mount onedrive-pve:Backup /mnt/onedrive-backup --vfs-cache-mode full --daemon
Explanation:
onedrive-pve:→ Remote nameBackup→ Folder name on OneDrive--vfs-cache-mode full→ Required for stable read/write operations--daemon→ Runs mount in background
At this point, your OneDrive storage is mounted successfully.
🔁 Step 5: Create Systemd Service for Auto Mount on Reboot
#1 Create Service File
nano /etc/systemd/system/rclone-onedrive.service
Paste:
[Unit]
Description=Mount OneDrive Backup
After=network-online.target
Wants=network-online.target[Service]
Type=simple
User=root
ExecStart=/usr/bin/rclone mount onedrive-pve:Backup /mnt/onedrive-backup --vfs-cache-mode full
Restart=always
RestartSec=10[Install]
WantedBy=multi-user.target
Explanation:
[Unit]→ Start after network is onlineExecStart→ Mount commandRestart=always→ Auto-restart if crashmulti-user.target→ Run at normal Proxmox boot
#2 Enable and Start Service
systemctl daemon-reload
systemctl enable rclone-onedrive
systemctl start rclone-onedrive
#3 Verify Mount Status
systemctl status rclone-onedrive
ls /mnt/onedrive-backup
💡 Tips
--vfs-cache-mode fullis required for stable OneDrive mount.For multiple remotes, create separate service files.
To unmount temporarily:
fusermount -u /mnt/onedrive-backup
🖥 Step 6: Add OneDrive Storage to Proxmox GUI
Navigate to:
Datacenter → Storage → Add → Directory
Fill in:
ID: onedrive
Directory: /mnt/onedrive
Content: Select VZDump backup file (recommended for backup only).
You may also select ISO image / Container template if needed (performance considerations apply).Node: Select your Proxmox node
Click Save.
Now when creating a backup job:
Datacenter → Backup
You can select Storage: onedrive.
Proceed to back up one VM to verify cloud integration.
🎯 Conclusion
Mounting OneDrive as cloud storage on Proxmox VE using Rclone is a powerful and flexible solution for implementing offsite backup and cloud-based storage integration.
This configuration provides:
☁️ Cloud redundancy
🔐 Secure authentication
🔄 Automated mount at boot
💾 Reliable VM backup destination
Whether you are running a homelab or managing production infrastructure, integrating Microsoft OneDrive into Proxmox enhances scalability and backup resilience.
This is Part 9 (P9) of the Proxmox series, focusing on hybrid cloud storage integration.
See also related articles
P21 – How to Schedule Automatic Shutdown and Startup of VMs in Proxmox VE
P21 – How to Schedule Automatic Shutdown and Startup of VMs in Proxmox VE ⏰ Proxmox VE – How to Schedule Automatic VM Start and Shutdown Using Cron (Step-by-Step Guide) Automating virtual machine operations is an essential skill for every Proxmox administrator. In many real-world environments, you may need virtual...
Read MoreP15 – Backup and Restore VM in Proxmox VE
P15 – Backup and Restore VM in Proxmox VE 🚀 Proxmox VE P15 – Backup and Restore VMs (Full Step-by-Step Guide) Data protection is one of the most critical responsibilities of any system administrator.In Proxmox VE, having a proper backup and restore strategy ensures your infrastructure can quickly recover from...
Read MoreP14 – How to Remove Cluster Group Safely on Proxmox
Proxmox VE 9 P14: How to Remove Cluster Group Safely In Proxmox (Step-by-Step Guide) 🚀 Proxmox VE 9 – How to Remove Cluster Group (Step-by-Step) In some scenarios, you may need to remove a Proxmox cluster configuration completely, especially when: ❌ A node failed permanently ❌ The cluster was misconfigured...
Read More