Rclone in proxmox for backup: unable to rename

What is the problem you are having with rclone?

Proxmox cant do backups

Run the command 'rclone version' and share the full output of the command.

rclone v1.68.2

  • os/version: debian 12.8 (64 bit)
  • os/kernel: 6.8.12-4-pve (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.3
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Proton Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

backup from proxmox

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

root@proxmox:~# rclone config redacted
[proton]
type = protondrive
username = ma.paXXXXX
password = XXX
2fa = XXXXXX
description = proton
client_uid = XXX
client_access_token = XXX
client_refresh_token = XXX
client_salted_key_pass = XXX
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

INFO: starting new backup job: vzdump 101 --notification-mode auto --notes-template '{{guestname}}' --remove 0 --storage proton --node proxmox --compress zstd --mode stop
INFO: filesystem type on dumpdir is 'fuse.rclone' -using /var/tmp/vzdumptmp4011590_101 for temporary files
INFO: Starting Backup of VM 101 (lxc)
INFO: Backup started at 2024-12-22 21:49:43
INFO: status = running
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: wireguard
INFO: including mount point rootfs ('/') in backup
INFO: stopping virtual guest
INFO: creating vzdump archive '/mnt/proton/proxmox/dump/vzdump-lxc-101-2024_12_22-21_49_43.tar.zst'
INFO: Total bytes written: 1940326400 (1.9GiB, 134MiB/s)
INFO: restarting vm
INFO: guest is online again after 214 seconds
ERROR: Backup of VM 101 failed - unable to rename '/mnt/proton/proxmox/dump/vzdump-lxc-101-2024_12_22-21_49_43.tar.dat' to '/mnt/proton/proxmox/dump/vzdump-lxc-101-2024_12_22-21_49_43.tar.zst'
INFO: Failed at 2024-12-22 21:53:17
INFO: Backup job finished with errors
TASK ERROR: job errors

Hello,
i set up proxmox that runs certain LXC and VM (mostly Homeassistant and paperless-ngx).
Also i am using protondrive so i was glad that its supported by rclone. Anyway, i configured everything and its working. I have protondrive mounted. The rclone config is called "proton:" and i have it mounted at /mnt/proton.
I tried it by creating a txt with nano /mnt/proton/proxmoxtest.txt
-> that was working, i saw the file in the proton drive.

So then in proxmox i added a directory at /mnt/proton/proxmox

tried backup to there but its failing and i dont know why. Output in above. It says cant rename which does not make sense to me.

Any help is welcomed. Thanks!

Hmm. I think i got it working.
Needed to mount with the expression: --vfs-cache-mode full