Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem after update Proxmox to version 7.0.9 #7

Open
koles142 opened this issue Jul 8, 2021 · 4 comments
Open

Problem after update Proxmox to version 7.0.9 #7

koles142 opened this issue Jul 8, 2021 · 4 comments

Comments

@koles142
Copy link

koles142 commented Jul 8, 2021

Hi, after update Proxmox to version 7.0.9, script doesn't send file to gdrive. Snapshot archive is not backup in remote storage. Could you check it?

Log:

INFO: starting new backup job: vzdump 101 --storage Backup --compress zstd --remove 0 --mode snapshot --node Proxmox-1
INFO: Deleting backups older than 4 days.
INFO: filesystem type on dumpdir is 'cifs' -using /var/tmp/vzdumptmp1440041_101 for temporary files
INFO: Starting Backup of VM 101 (lxc)
INFO: Backup started at 2021-07-08 21:36:41
INFO: status = running
INFO: CT Name: nginx-proxy-manager
INFO: including mount point rootfs ('/') in backup
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
INFO: creating vzdump archive '/mnt/pve/Backup/dump/vzdump-lxc-101-2021_07_08-21_36_41.tar.zst'
INFO: Total bytes written: 751022080 (717MiB, 81MiB/s)
INFO: archive file size: 300MB
INFO: Backing up to remote storage
INFO: rcloning /mnt/pve/Backup/dump/rclone/2021/07/08
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: ["gdrivezaszyfrowany:/2021/07/08"]
INFO: cleanup temporary 'vzdump' snapshot
INFO: Finished Backup of VM 101 (00:00:11)
INFO: Backup finished at 2021-07-08 21:36:52
INFO: Backing up main PVE configs
INFO: Tar files
INFO: Compressing files
INFO: /var/tmp/proxmox-vIoJqRrf/proxmoxetc.2021-07-08.21.36.52.tar
INFO: /var/tmp/proxmox-vIoJqRrf/proxmoxpve.2021-07-08.21.36.52.tar
INFO: /var/tmp/proxmox-vIoJqRrf/proxmoxroot.2021-07-08.21.36.52.tar
INFO: '/var/tmp/proxmox-vIoJqRrf/proxmox_backup_Proxmox-1.local_2021-07-08.21.36.52.tar.gz' -> '/mnt/pve/Backup/dump/proxmox_backup_Proxmox-1.local_2021-07-08.21.36.52.tar.gz'
INFO: rcloning /var/tmp/proxmox-vIoJqRrf/proxmox_backup_Proxmox-1.local_2021-07-08.21.36.52.tar.gz
INFO: 2021/07/08 21:36:58 INFO : proxmox_backup_Proxmox-1.local_2021-07-08.21.36.52.tar.gz: Copied (new)
INFO: 2021/07/08 21:36:58 INFO : proxmox_backup_Proxmox-1.local_2021-07-08.21.36.52.tar.gz: Deleted
INFO: 2021/07/08 21:36:58 INFO :
INFO: Transferred: 740.241k / 740.241 kBytes, 100%, 470.538 kBytes/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: 5.6s
INFO: Cleaning up
INFO: Backup job finished successfully
TASK OK

@welintonhaas
Copy link

welintonhaas commented Aug 6, 2021

edit constant ${TARFILE} to ${TARGET}, then all work again! thank's for this script!

@nubian122
Copy link

edit constant ${TARFILE} to ${TARGET}, then all work again! thank's for this script!

Please explain this in some detail, I am having the same issue and cannot get it working. I do not see any $(TARGET) references anywhere in the script.

@pilonull
Copy link

edit constant ${TARFILE} to ${TARGET}, then all work again! thank's for this script!

Please explain this in some detail, I am having the same issue and cannot get it working. I do not see any $(TARGET) references anywhere in the script.

Hello, I believe I figured out what welintonhaas was talking about..

there's a line in the vzbackup-rclone.sh script that originally says:

tarfile=${TARFILE}

that you need to change to:

tarfile=${TARGET}

This seemed to work for me, for backing up both CT's and VM's.

@pspeirs
Copy link

pspeirs commented Dec 23, 2023

edit constant ${TARFILE} to ${TARGET}, then all work again! thank's for this script!

Please explain this in some detail, I am having the same issue and cannot get it working. I do not see any $(TARGET) references anywhere in the script.

I suspect this is incorrect information, the source file should be the compressed tar file I'd have thought.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants