TheRealAlexV / proxmox-vzbackup-rclone

This is a vzbackup hook script that backups up your proxmox vm's, container's and pve config's to remote storage using proxmox's native vzbackup tool and rclone.
MIT License
236 stars 84 forks source link

gd-backup_crypt: What is this? #1

Open avexel opened 4 years ago

avexel commented 4 years ago

Referenced at line 24 and a few times there after. Seems to want to refer to a $value as yet unset? Script will not run for me successfully...

I get errors such as: INFO: 2020/06/24 20:30:37 Failed to create file system for "gd-backup_crypt:/2020/06/24": didn't find section in config file

Obviously, I do not have a section called 'gd-backup_crypt' -- am I doing something wrong?

askd77 commented 4 years ago

Hello @TheRealAlexV im receiving also the same error as @avexel report.

Could you please help us?

xteron commented 4 years ago

When you create the rclone config you have to name it "gd-backup_crypt" it looks like.

avexel commented 4 years ago

Or, rename the instances of 'gd-backup_crypt' in the script to match your rclone mountpoint. This could easily solved by including a $mtpoint variable in the initial config

xenonshop commented 4 years ago

I'm also getting INFO: 2020/07/19 04:34:52 Failed to create file system for "gd-backup_crypt:/2020/07/19": didn't find section in config file Please help! I'm newbie

randyjc commented 4 years ago

easy fix is just to rename your rclone that you created to 'gd-backup_crypt'

~/.config/rclone/rclone.conf old [yourgooglemountnamehere] to [gd-backup_crypt]

INFO: rcloning /var/tmp/proxmox-ovbkMWIO/proxmox_backup_pve1.rawe_2020-08-27.13.15.21.tar.gz
INFO: 2020/08/27 13:15:24 INFO  : proxmox_backup_pve1.rawe_2020-08-27.13.15.21.tar.gz: Copied (new)
INFO: 2020/08/27 13:15:24 INFO  : proxmox_backup_pve1.rawe_2020-08-27.13.15.21.tar.gz: Deleted
INFO: 2020/08/27 13:15:24 INFO  : 
INFO: Transferred:        687.234k / 687.234 kBytes, 100%, 234.956 kBytes/s, ETA 0s
INFO: Errors:                 0
INFO: Checks:                 1 / 1, 100%
INFO: Transferred:            1 / 1, 100%
INFO: Elapsed time:        2.9s
INFO: Cleaning up
INFO: Backup job finished successfully
TASK OK
gomble commented 1 year ago

you can rename it in the script: https://github.com/TheRealAlexV/proxmox-vzbackup-rclone/blob/master/vzbackup-rclone.sh image