Use rclone to mount a personal cloud (Google Drive, Mega, Dropbox, OneDrive, etc.) as a directory on the Proxmox VE host, register it as a vzdump datastore, and back up VMs / CTs straight to the cloud — no extra script.
Consider Proxmox Backup Server first
Heads up about Proxmox vzdump backups
SSH into the host (or use the Proxmox shell) and create a mount-point directory under /mnt/. The name is arbitrary — use something that identifies the provider:
mkdir -p /mnt/gdriveIn the Proxmox web UI: Datacenter → Storage → Add → Directory.

Configure it like this:
gdrive (or whatever you used for the directory name)/mnt/gdrive
Click Add:

The directory is now registered as a Proxmox datastore — but it's still empty (no cloud is mounted on it yet).
rclone is the tool that talks to cloud storage providers. Install it from Debian repositories:
apt-get update
apt-get install -y rcloneIf you need a newer rclone
If you need a newer rclone than what Debian ships, use the official installer:
curl https://rclone.org/install.sh | bashFor providers with browser-based login, the Proxmox host usually has no browser. Follow rclone’s remote-setup procedure: use your laptop’s browser and forward its localhost callback connection through SSH to rclone on the host.
From your laptop (replace ip_proxmox with the Proxmox IP):
ssh -L localhost:53682:localhost:53682 root@ip_proxmoxThis SSH session opens localhost port 53682 on your laptop and forwards connections to the same port on the Proxmox host. Keep it open during the rclone configuration below.
In the SSH session you just opened, run:
rclone configFollow the prompts to add a new remote. The exact answers depend on your provider — see the rclone provider docs for Google Drive, Mega, Dropbox, OneDrive, etc. The key step is the auth question:
Use web browser to automatically authenticate rclone with remote?
* Say Y if the machine running rclone has a web browser you can use
* Say N if running rclone on a (remote) machine without web browser access
If not sure try Y. If Y failed, try N.
y) Yes
n) No
y/n> yAnswer Y — rclone prints a localhost URL. Open it in your laptop's browser (the SSH tunnel routes it correctly), authorise the rclone application in your cloud provider, and the config completes.
When asked for the remote's name, use something matching the directory you created — e.g. gdrive.
Create a folder in your personal cloud to hold the backups. Call it something like PBC (Proxmox Backup Cloud).
Mount it onto the host directory:
rclone mount gdrive:/PBC /mnt/gdrive --allow-other --allow-non-empty --vfs-cache-mode writesgdrive:/PBC — the folder in your cloud./mnt/gdrive — the host directory you registered as a datastore.This command stays in the foreground. For testing, leave it running in a terminal and try a backup. For permanent mounting on every boot, set up a systemd unit (next section).
A systemd unit is more robust than crontab @reboot — it can wait for the network to be ready, restart on failure, and gives you proper logs via journalctl.
Create the unit file:
nano /etc/systemd/system/rclone-gdrive.servicePaste:
[Unit]
Description=rclone mount for Proxmox cloud backups
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
ExecStart=/usr/bin/rclone mount \
gdrive:/PBC /mnt/gdrive \
--allow-other \
--allow-non-empty \
--vfs-cache-mode writes \
--log-level INFO \
--log-file /var/log/rclone-gdrive.log
ExecStop=/bin/fusermount -uz /mnt/gdrive
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.targetAdjust gdrive:/PBC and /mnt/gdrive if you used different names. Save (Ctrl+X), then enable and start:
systemctl daemon-reload
systemctl enable --now rclone-gdrive.serviceVerify:
systemctl status rclone-gdrive.service
mount | grep /mnt/gdriveThe unit requests a restart after 10 seconds if the rclone process exits with a failure. This does not repair expired credentials or guarantee recovery from every network or provider error. Check /var/log/rclone-gdrive.log and journalctl -u rclone-gdrive.service -f.
Why --vfs-cache-mode writes?
fwrite go to a local disk cache. rclone uploads a file after it is closed and the write-back delay has passed. Reserve enough local space for active backups, and verify the upload has completed before counting the cloud copy as available.In the Proxmox UI, when scheduling a backup or running an ad-hoc one, pick the storage you registered as the target:

After vzdump finishes, wait for rclone’s background upload to complete and verify the archive in the cloud provider’s interface:

Proxmox vzdump archives are full backups, not incremental. Their actual size depends on the data included and compression, not just the virtual disk capacity. If one archive occupies 30 GB, five retained archives need roughly 150 GB. Set a retention policy so the cloud does not fill up.
In the Proxmox UI: Datacenter → Backup → [your job] → Retention:

Reasonable starter values for a home / lab setup:
Adjust based on your cloud quota and how often the VMs change.
Mount point /mnt/gdrive is itself on a fuse.rclone filesystem: the directory is already mounted, possibly by another rclone instance. Check that no backup is active before removing the old mount with fusermount -uz /mnt/gdrive, then restart the systemd unit.--vfs-cache-mode writes is on the ExecStart line. Check local cache performance, upload bandwidth and provider limits. The background upload can continue after vzdump finishes.~/.cache/rclone/. If it is full, select a cache path such as --cache-dir /var/cache/rclone on a filesystem with enough space; a different path on the same full filesystem will not help.ssh -L localhost:53682:localhost:53682 root@ip_proxmox) and run rclone config reconnect gdrive: to renew authorization.