Proxmox Rclone with encryption

What is the problem you are having with rclone?

Proxmox gives me a error because he can't upload a file. But, the another files are encrypted and uploaded.
Problem is on log "rcloning /var/lib/vz/dump/rclone/2023-05-08"
Maybe it's the problem, that I have no home directory? Idk...

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

rclone v1.62.2

  • os/version: debian 11.7 (64 bit)
  • os/kernel: 5.15.107-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 named gdrive and gdrive_crypt as encryption for gdrive

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

This Script: https://raw.githubusercontent.com/Marko298/proxmox-vzbackup-rclone/master/vzbackup-rclone.sh

The command which has a problem is 
rclone --config /root/.config/rclone/rclone.conf \
    --drive-chunk-size=32M copy $tarfile $drive:/$timepath \
    -vv --stats=60s --transfers=16 --checkers=16

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = XXXXX
client_secret = XXXXX
scope = drive
token = {"access_token":"XXXXX"}
team_drive = 

[gdrive_crypt]
type = crypt
remote = gdrive:/backup-pm
filename_encryption = off
directory_name_encryption = false
password = XXXXX
password2 = XXXXX

A log from the command with the -vv flag

INFO: starting new backup job: vzdump 115 --mode stop --node proxmox --prune-backups 'keep-all=1' --storage local --all 0 --mailnotification failure --compress zstd --notes-template '{{guestname}}'
INFO: Deleting backups older than 31 days.
INFO: filesystem type on dumpdir is 'zfs' -using /var/tmp/vzdumptmp1053081_115 for temporary files
INFO: Starting Backup of VM 115 (lxc)
INFO: Backup started at 2023-05-08 11:59:06
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: CT Name: Test
INFO: including mount point rootfs ('/') in backup
INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-lxc-115-2023_05_08-11_59_06.tar.zst'
INFO: Total bytes written: 1302814720 (1.3GiB, 119MiB/s)
INFO: archive file size: 418MB
INFO: adding notes to backup
INFO: Backing up /var/lib/vz/dump/vzdump-lxc-115-2023_05_08-11_59_06.tar.zst to remote storage
INFO: rcloning /var/lib/vz/dump/rclone/2023-05-08
INFO: 2023/05/08 11:59:17 DEBUG : Home directory lookup failed and cannot be used as configuration location: exec: "getent": executable file not found in $PATH
INFO: 2023/05/08 11:59:17 DEBUG : Failed to find user cache dir, using temporary directory: neither $XDG_CACHE_HOME nor $HOME are defined
INFO: 2023/05/08 11:59:17 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "--config" "/root/.config/rclone/rclone.conf" "--drive-chunk-size=32M" "copy" "/var/lib/vz/dump/vzdump-lxc-115-2023_05_08-11_59_06.tar.zst" "gdrive_crypt:/2023-05-08" "-vv" "--stats=60s" "--transfers=16" "--checkers=16"]
INFO: 2023/05/08 11:59:17 DEBUG : Creating backend with remote "/var/lib/vz/dump/vzdump-lxc-115-2023_05_08-11_59_06.tar.zst"
INFO: 2023/05/08 11:59:17 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
INFO: 2023/05/08 11:59:17 DEBUG : fs cache: adding new entry for parent of "/var/lib/vz/dump/vzdump-lxc-115-2023_05_08-11_59_06.tar.zst", "/var/lib/vz/dump"
INFO: 2023/05/08 11:59:17 DEBUG : Creating backend with remote "gdrive_crypt:/2023-05-08"
INFO: 2023/05/08 11:59:17 DEBUG : Creating backend with remote "gdrive:/backup-pm/2023-05-08.bin"
INFO: 2023/05/08 11:59:17 DEBUG : gdrive: detected overridden config - adding "{_p9vl}" suffix to name
INFO: 2023/05/08 11:59:17 DEBUG : Google drive root 'backup-pm/2023-05-08.bin': 'root_folder_id = XXXXX' - save this in the config to speed up startup
INFO: 2023/05/08 11:59:18 DEBUG : fs cache: renaming cache item "gdrive:/backup-pm/2023-05-08.bin" to be canonical "gdrive{_p9vl}:backup-pm/2023-05-08.bin"
INFO: 2023/05/08 11:59:18 DEBUG : Creating backend with remote "gdrive:/backup-pm/2023-05-08"
INFO: 2023/05/08 11:59:18 DEBUG : gdrive: detected overridden config - adding "{_p9vl}" suffix to name
INFO: 2023/05/08 11:59:18 DEBUG : Google drive root 'backup-pm/2023-05-08': 'root_folder_id = XXXXX' - save this in the config to speed up startup
INFO: 2023/05/08 11:59:19 DEBUG : fs cache: renaming cache item "gdrive:/backup-pm/2023-05-08" to be canonical "gdrive{_p9vl}:backup-pm/2023-05-08"
INFO: 2023/05/08 11:59:19 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst: Need to transfer - File not found at Destination
INFO: 2023/05/08 11:59:21 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 0 length 33554432
INFO: 2023/05/08 11:59:27 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 33554432 length 33554432
INFO: 2023/05/08 11:59:32 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 67108864 length 33554432
INFO: 2023/05/08 11:59:38 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 100663296 length 33554432
INFO: 2023/05/08 11:59:43 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 134217728 length 33554432
INFO: 2023/05/08 11:59:49 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 167772160 length 33554432
INFO: 2023/05/08 11:59:54 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 201326592 length 33554432
INFO: 2023/05/08 11:59:59 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 234881024 length 33554432
INFO: 2023/05/08 12:00:05 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 268435456 length 33554432
INFO: 2023/05/08 12:00:10 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 301989888 length 33554432
INFO: 2023/05/08 12:00:16 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 335544320 length 33554432
INFO: 2023/05/08 12:00:19 INFO  : 
INFO: Transferred:   	  338.708 MiB / 418.508 MiB, 81%, 5.853 MiB/s, ETA 13s
INFO: Transferred:            0 / 1, 0%
INFO: Elapsed time:       1m1.8s
INFO: Transferring:
INFO:  *    vzdump-lxc-115-2023_05_08-11_59_06.tar.zst: 80% /418.508Mi, 5.853Mi/s, 13s
INFO: 2023/05/08 12:00:21 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 369098752 length 33554432
INFO: 2023/05/08 12:00:27 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 402653184 length 33554432
INFO: 2023/05/08 12:00:32 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst.bin: Sending chunk 436207616 length 2737276
INFO: 2023/05/08 12:00:33 DEBUG : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst: md5 = XXXXX OK
INFO: 2023/05/08 12:00:33 INFO  : vzdump-lxc-115-2023_05_08-11_59_06.tar.zst: Copied (new)
INFO: 2023/05/08 12:00:33 INFO  : 
INFO: Transferred:   	  418.610 MiB / 418.610 MiB, 100%, 5.602 MiB/s, ETA 0s
INFO: Transferred:            1 / 1, 100%
INFO: Elapsed time:      1m16.4s
INFO: 2023/05/08 12:00:33 DEBUG : 5 go routines active
INFO: Finished Backup of VM 115 (00:01:27)
INFO: Backup finished at 2023-05-08 12:00:33
INFO: Backing up main PVE configs
INFO: Tar files
INFO: Compressing files
INFO: /var/tmp/proxmox-3x055AgG/proxmoxetc.2023-05-08.12.00.33.tar
INFO: /var/tmp/proxmox-3x055AgG/proxmoxpve.2023-05-08.12.00.33.tar
INFO: /var/tmp/proxmox-3x055AgG/proxmoxroot.2023-05-08.12.00.33.tar
INFO: '/var/tmp/proxmox-3x055AgG/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.33.tar.gz' -> '/var/lib/vz/dump/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.33.tar.gz'
INFO: rcloning /var/tmp/proxmox-3x055AgG/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.33.tar.gz
INFO: 2023/05/08 12:00:34 DEBUG : Home directory lookup failed and cannot be used as configuration location: exec: "getent": executable file not found in $PATH
INFO: 2023/05/08 12:00:34 DEBUG : Failed to find user cache dir, using temporary directory: neither $XDG_CACHE_HOME nor $HOME are defined
INFO: 2023/05/08 12:00:34 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "--config" "/root/.config/rclone/rclone.conf" "--drive-chunk-size=32M" "move" "/var/tmp/proxmox-3x055AgG/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.33.tar.gz" "gdrive_crypt:/2023-05-08" "-vv" "--stats=60s" "--transfers=16" "--checkers=16"]
INFO: 2023/05/08 12:00:34 DEBUG : Creating backend with remote "/var/tmp/proxmox-3x055AgG/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.33.tar.gz"
INFO: 2023/05/08 12:00:34 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
INFO: 2023/05/08 12:00:34 DEBUG : fs cache: adding new entry for parent of "/var/tmp/proxmox-3x055AgG/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.33.tar.gz", "/var/tmp/proxmox-3x055AgG"
INFO: 2023/05/08 12:00:34 DEBUG : Creating backend with remote "gdrive_crypt:/2023-05-08"
INFO: 2023/05/08 12:00:34 DEBUG : Creating backend with remote "gdrive:/backup-pm/2023-05-08.bin"
INFO: 2023/05/08 12:00:34 DEBUG : gdrive: detected overridden config - adding "{_p9vl}" suffix to name
INFO: 2023/05/08 12:00:34 DEBUG : Google drive root 'backup-pm/2023-05-08.bin': 'root_folder_id = XXXXX' - save this in the config to speed up startup
INFO: 2023/05/08 12:00:35 DEBUG : fs cache: renaming cache item "gdrive:/backup-pm/2023-05-08.bin" to be canonical "gdrive{_p9vl}:backup-pm/2023-05-08.bin"
INFO: 2023/05/08 12:00:35 DEBUG : Creating backend with remote "gdrive:/backup-pm/2023-05-08"
INFO: 2023/05/08 12:00:35 DEBUG : gdrive: detected overridden config - adding "{_p9vl}" suffix to name
INFO: 2023/05/08 12:00:35 DEBUG : Google drive root 'backup-pm/2023-05-08': 'root_folder_id = XXXXX' - save this in the config to speed up startup
INFO: 2023/05/08 12:00:36 DEBUG : fs cache: renaming cache item "gdrive:/backup-pm/2023-05-08" to be canonical "gdrive{_p9vl}:backup-pm/2023-05-08"
INFO: 2023/05/08 12:00:37 DEBUG : proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.33.tar.gz: Need to transfer - File not found at Destination
INFO: 2023/05/08 12:00:38 DEBUG : proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.33.tar.gz: md5 = XXXXX OK
INFO: 2023/05/08 12:00:38 INFO  : proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.33.tar.gz: Copied (new)
INFO: 2023/05/08 12:00:38 INFO  : proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.33.tar.gz: Deleted
INFO: 2023/05/08 12:00:38 INFO  : 
INFO: Transferred:   	  706.796 KiB / 706.796 KiB, 100%, 706.719 KiB/s, ETA 0s
INFO: Checks:                 2 / 2, 100%
INFO: Deleted:                1 (files), 0 (dirs)
INFO: Renamed:                1
INFO: Transferred:            1 / 1, 100%
INFO: Elapsed time:         4.4s
INFO: 2023/05/08 12:00:38 DEBUG : 7 go routines active
INFO: 2023/05/08 12:00:38 DEBUG : Home directory lookup failed and cannot be used as configuration location: exec: "getent": executable file not found in $PATH
INFO: 2023/05/08 12:00:38 DEBUG : Failed to find user cache dir, using temporary directory: neither $XDG_CACHE_HOME nor $HOME are defined
INFO: 2023/05/08 12:00:38 DEBUG : --min-age 1y to 2022-05-08 12:00:38.597130936 +0200 CEST m=-31535999.953939547
INFO: 2023/05/08 12:00:38 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "--config" "/root/.config/rclone/rclone.conf" "delete" "-vv" "--min-age" "365d" "gdrive_crypt:backups/"]
INFO: 2023/05/08 12:00:38 DEBUG : Creating backend with remote "gdrive_crypt:backups/"
INFO: 2023/05/08 12:00:38 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
INFO: 2023/05/08 12:00:38 DEBUG : Creating backend with remote "gdrive:/backup-pm/backups/.bin"
INFO: 2023/05/08 12:00:38 DEBUG : Google drive root 'backup-pm/backups/.bin': 'root_folder_id = XXXXX' - save this in the config to speed up startup
INFO: 2023/05/08 12:00:40 DEBUG : fs cache: renaming cache item "gdrive:/backup-pm/backups/.bin" to be canonical "gdrive:backup-pm/backups/.bin"
INFO: 2023/05/08 12:00:40 DEBUG : Creating backend with remote "gdrive:/backup-pm/backups"
INFO: 2023/05/08 12:00:40 DEBUG : Google drive root 'backup-pm/backups': 'root_folder_id = XXXXX' - save this in the config to speed up startup
INFO: 2023/05/08 12:00:41 DEBUG : fs cache: renaming cache item "gdrive:/backup-pm/backups" to be canonical "gdrive:backup-pm/backups"
INFO: 2023/05/08 12:00:41 DEBUG : Waiting for deletions to finish
INFO: 2023/05/08 12:00:42 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
INFO: 2023/05/08 12:00:42 DEBUG : Waiting for deletions to finish
INFO: 2023/05/08 12:00:42 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
INFO: 2023/05/08 12:00:42 DEBUG : Waiting for deletions to finish
INFO: 2023/05/08 12:00:42 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
INFO: 2023/05/08 12:00:42 DEBUG : 6 go routines active
INFO: 2023/05/08 12:00:42 Failed to delete: directory not found
INFO: Cleaning up
INFO: Backing up main PVE configs
INFO: Tar files
INFO: Compressing files
INFO: /var/tmp/proxmox-9jyzYFwz/proxmoxetc.2023-05-08.12.00.42.tar
INFO: /var/tmp/proxmox-9jyzYFwz/proxmoxpve.2023-05-08.12.00.42.tar
INFO: /var/tmp/proxmox-9jyzYFwz/proxmoxroot.2023-05-08.12.00.42.tar
INFO: '/var/tmp/proxmox-9jyzYFwz/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.42.tar.gz' -> '/var/lib/vz/dump/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.42.tar.gz'
INFO: rcloning /var/tmp/proxmox-9jyzYFwz/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.42.tar.gz
INFO: 2023/05/08 12:00:42 DEBUG : Home directory lookup failed and cannot be used as configuration location: exec: "getent": executable file not found in $PATH
INFO: 2023/05/08 12:00:42 DEBUG : Failed to find user cache dir, using temporary directory: neither $XDG_CACHE_HOME nor $HOME are defined
INFO: 2023/05/08 12:00:42 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "--config" "/root/.config/rclone/rclone.conf" "--drive-chunk-size=32M" "move" "/var/tmp/proxmox-9jyzYFwz/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.42.tar.gz" "gdrive_crypt:/2023-05-08" "-vv" "--stats=60s" "--transfers=16" "--checkers=16"]
INFO: 2023/05/08 12:00:42 DEBUG : Creating backend with remote "/var/tmp/proxmox-9jyzYFwz/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.42.tar.gz"
INFO: 2023/05/08 12:00:42 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
INFO: 2023/05/08 12:00:42 DEBUG : fs cache: adding new entry for parent of "/var/tmp/proxmox-9jyzYFwz/proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.42.tar.gz", "/var/tmp/proxmox-9jyzYFwz"
INFO: 2023/05/08 12:00:42 DEBUG : Creating backend with remote "gdrive_crypt:/2023-05-08"
INFO: 2023/05/08 12:00:42 DEBUG : Creating backend with remote "gdrive:/backup-pm/2023-05-08.bin"
INFO: 2023/05/08 12:00:42 DEBUG : gdrive: detected overridden config - adding "{_p9vl}" suffix to name
INFO: 2023/05/08 12:00:43 DEBUG : Google drive root 'backup-pm/2023-05-08.bin': 'root_folder_id = XXXXX' - save this in the config to speed up startup
INFO: 2023/05/08 12:00:44 DEBUG : fs cache: renaming cache item "gdrive:/backup-pm/2023-05-08.bin" to be canonical "gdrive{_p9vl}:backup-pm/2023-05-08.bin"
INFO: 2023/05/08 12:00:44 DEBUG : Creating backend with remote "gdrive:/backup-pm/2023-05-08"
INFO: 2023/05/08 12:00:44 DEBUG : gdrive: detected overridden config - adding "{_p9vl}" suffix to name
INFO: 2023/05/08 12:00:44 DEBUG : Google drive root 'backup-pm/2023-05-08': 'root_folder_id = XXXXX' - save this in the config to speed up startup
INFO: 2023/05/08 12:00:45 DEBUG : fs cache: renaming cache item "gdrive:/backup-pm/2023-05-08" to be canonical "gdrive{_p9vl}:backup-pm/2023-05-08"
INFO: 2023/05/08 12:00:45 DEBUG : proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.42.tar.gz: Need to transfer - File not found at Destination
INFO: 2023/05/08 12:00:47 DEBUG : proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.42.tar.gz: md5 = XXXXX OK
INFO: 2023/05/08 12:00:47 INFO  : proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.42.tar.gz: Copied (new)
INFO: 2023/05/08 12:00:47 INFO  : proxmox_backup_proxmox.XXXXX_2023-05-08.12.00.42.tar.gz: Deleted
INFO: 2023/05/08 12:00:47 INFO  : 
INFO: Transferred:   	  706.855 KiB / 706.855 KiB, 100%, 706.159 KiB/s, ETA 0s
INFO: Checks:                 2 / 2, 100%
INFO: Deleted:                1 (files), 0 (dirs)
INFO: Renamed:                1
INFO: Transferred:            1 / 1, 100%
INFO: Elapsed time:         4.4s
INFO: 2023/05/08 12:00:47 DEBUG : 7 go routines active
INFO: 2023/05/08 12:00:47 DEBUG : Home directory lookup failed and cannot be used as configuration location: exec: "getent": executable file not found in $PATH
INFO: 2023/05/08 12:00:47 DEBUG : Failed to find user cache dir, using temporary directory: neither $XDG_CACHE_HOME nor $HOME are defined
INFO: 2023/05/08 12:00:47 DEBUG : --min-age 1y to 2022-05-08 12:00:47.310556345 +0200 CEST m=-31535999.953060017
INFO: 2023/05/08 12:00:47 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "--config" "/root/.config/rclone/rclone.conf" "delete" "-vv" "--min-age" "365d" "gdrive_crypt:backups/"]
INFO: 2023/05/08 12:00:47 DEBUG : Creating backend with remote "gdrive_crypt:backups/"
INFO: 2023/05/08 12:00:47 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
INFO: 2023/05/08 12:00:47 DEBUG : Creating backend with remote "gdrive:/backup-pm/backups/.bin"
INFO: 2023/05/08 12:00:47 DEBUG : Google drive root 'backup-pm/backups/.bin': 'root_folder_id = XXXXX' - save this in the config to speed up startup
INFO: 2023/05/08 12:00:48 DEBUG : fs cache: renaming cache item "gdrive:/backup-pm/backups/.bin" to be canonical "gdrive:backup-pm/backups/.bin"
INFO: 2023/05/08 12:00:48 DEBUG : Creating backend with remote "gdrive:/backup-pm/backups"
INFO: 2023/05/08 12:00:49 DEBUG : Google drive root 'backup-pm/backups': 'root_folder_id = XXXXX' - save this in the config to speed up startup
INFO: 2023/05/08 12:00:50 DEBUG : fs cache: renaming cache item "gdrive:/backup-pm/backups" to be canonical "gdrive:backup-pm/backups"
INFO: 2023/05/08 12:00:50 DEBUG : Waiting for deletions to finish
INFO: 2023/05/08 12:00:50 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
INFO: 2023/05/08 12:00:50 DEBUG : Waiting for deletions to finish
INFO: 2023/05/08 12:00:51 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
INFO: 2023/05/08 12:00:51 DEBUG : Waiting for deletions to finish
INFO: 2023/05/08 12:00:51 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
INFO: 2023/05/08 12:00:51 DEBUG : 6 go routines active
INFO: 2023/05/08 12:00:51 Failed to delete: directory not found
INFO: Cleaning up
ERROR: Backup job failed - command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-end' failed: exit code 3
ERROR: command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-abort' failed: exit code 3
TASK ERROR: command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-end' failed: exit code 3 command '/root/proxmox-vzbackup-rclone/vzbackup-rclone.sh job-abort' failed: exit code 3

Kind regards

It looks like this directory does not exist.

It isn't the same as the directory used in the transfers so looks like a mistake.

Hey,

thx for your answer but, thats right....
This is the command from the script:

rclone --config /root/.config/rclone/rclone.conf \
      delete --min-age ${MAX_CLOUD_AGE}d $drive:backups/

Is this a local directory or a google drive-directory?
I change this to "backup-pm" like remote = gdrive:/backup-pm but this dont work.

//But I dont understand ... he will create a backend with remote "gdrive_crypt:backups/" and then, he will use the config-file wich has the right folder? Why?

Kind regards

It is a google drive directory.

The script looks wrong to me. It is backup up to directories called "gdrive_crypt:/2023-05-08" but then trying to delete files from "gdrive_crypt:backups/"

I suspect deleting files from "gdrive_crypt:" is what it means, but you don't want to do that unless all the files in gdrive_crypt are your backup files as it will delete any older files like that.

Hey,

thx for your answer.
Thats true, I delete the remove-command, dont need this :smiley:

Kind regards!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.