TheRealAlexV/proxmox-vzbackup-rclone

Issues while trying to upload to gdrive

Closed this issue · 1 comments

Hi!

Can you please look at the log and tell me what's wrong?

INFO: starting new backup job: vzdump 201 --notes-template '{{guestname}}' --all 0 --mode snapshot --mailnotification always --storage local --node proxdj1 --compress zstd
INFO: Deleting backups older than 3 days.
INFO: Starting Backup of VM 201 (lxc)
INFO: Backup started at 2023-07-13 11:02:22
INFO: status = running
INFO: CT Name: mqtt
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
  Logical volume "snap_vm-201-disk-0_vzdump" created.
INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-lxc-201-2023_07_13-11_02_22.tar.zst'
INFO: Total bytes written: 685680640 (654MiB, 116MiB/s)
INFO: archive file size: 210MB
INFO: adding notes to backup
INFO: Backing up  to remote storage
INFO: rcloning /var/lib/vz/dump//rclone/2023/07/13
INFO: Usage:
INFO:   rclone copy source:path dest:path [flags]
INFO: Flags:
INFO:       --create-empty-src-dirs   Create empty source dirs on destination after copy
INFO:   -h, --help                    help for copy
INFO: Use "rclone [command] --help" for more information about a command.
INFO: Use "rclone help flags" for to see the global flags.
INFO: Use "rclone help backends" for a list of supported services.
INFO: Command copy needs 2 arguments minimum: you provided 1 non flag arguments: ["gd-backup_crypt:/2023/07/13"]
INFO: cleanup temporary 'vzdump' snapshot
  Logical volume "snap_vm-201-disk-0_vzdump" successfully removed.
INFO: Finished Backup of VM 201 (00:00:07)
INFO: Backup finished at 2023-07-13 11:02:29
INFO: Backing up main PVE configs
INFO: Tar files
INFO: Compressing files
INFO: /var/tmp/proxmox-o5qXaChE/proxmoxetc.2023-07-13.11.02.29.tar
INFO: /var/tmp/proxmox-o5qXaChE/proxmoxpve.2023-07-13.11.02.29.tar
INFO: /var/tmp/proxmox-o5qXaChE/proxmoxroot.2023-07-13.11.02.29.tar
INFO: '/var/tmp/proxmox-o5qXaChE/proxmox_backup_prox.server.local_2023-07-13.11.02.29.tar.gz' -> '/var/lib/vz/dump/proxmox_backup_prox.server.local_2023-07-13.11.02.29.tar.gz'
INFO: rcloning /var/tmp/proxmox-o5qXaChE/proxmox_backup_prox.server.local_2023-07-13.11.02.29.tar.gz
INFO: 2023/07/13 11:02:29 Failed to create file system for "gd-backup_crypt:/2023/07/13": didn't find section in config file
INFO: Cleaning up
INFO: Backing up main PVE configs
INFO: Tar files
INFO: Compressing files
INFO: /var/tmp/proxmox-JBNIIhau/proxmoxetc.2023-07-13.11.02.29.tar
INFO: /var/tmp/proxmox-JBNIIhau/proxmoxpve.2023-07-13.11.02.29.tar
INFO: /var/tmp/proxmox-JBNIIhau/proxmoxroot.2023-07-13.11.02.29.tar
INFO: '/var/tmp/proxmox-JBNIIhau/proxmox_backup_prox.server.local_2023-07-13.11.02.29.tar.gz' -> '/var/lib/vz/dump/proxmox_backup_prox.server.local_2023-07-13.11.02.29.tar.gz'
INFO: rcloning /var/tmp/proxmox-JBNIIhau/proxmox_backup_prox.server.local_2023-07-13.11.02.29.tar.gz
INFO: 2023/07/13 11:02:29 Failed to create file system for "gd-backup_crypt:/2023/07/13": 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

Solved. Renaming config file for rclone to "[gd-backup_crypt]"