What is the problem you are having with rclone?
I have tried to follow this tutorial: https://github.com/TheRealAlexV/proxmox-vzbackup-rclone#fromHistory to use rclone in proxmox and upload backups to drive.
Then used this: Google drive to configure it and I got no issues.
I can use "rclone copy /mnt/pve/disco4/dump remote:proxmox" in my host and the content of the folder "dump" is uploaded to my drive /proxmox folder, but when I use the script to do it automatically (created when I cloned repository and only modified to add folder and max age) it doesn't work.
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
- os/version: debian 11.6 (64 bit)
- os/kernel: 5.15.104-1-pve (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
script:/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh
The rclone config contents with secrets removed.
[remote]
type = drive
client_id = #######
client_secret = ########
scope = drive
token = {"access_token":"########>
team_drive =
A log from the command with the -vv flag
This is the log from proxmox:
INFO: rcloning /var/tmp/proxmox-17WuMfPO/proxmox_backup_proxmox.hammer.local_2023-05-27.14.43.40.tar.gz
INFO: 2023/05/27 14:43:40 Failed to create file system for "gd-backup_crypt:/2023/05/27": didn't find section in config file
INFO: Cleaning up
ERROR: Backup job failed - command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-end' failed: exit code 1
ERROR: command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-abort' failed: exit code 1
TASK ERROR: command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-end' failed: exit code 1 command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-abort' failed: exit code 1