Proxmox 7 backup

Archebo

Member
Dec 27, 2019
10
0
6
52
Hi!

Scheduled backup task from Datacenter-Backup failed:

INFO: CT Name: 1C-U20
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/OMV-1C/dump/vzdump-lxc-100-2021_08_04-21_00_02.tar.zst'
INFO: Total bytes written: 33854443520 (32GiB, 88MiB/s)
INFO: zstd: /*stdout*\: Input/output error
INFO: cleanup temporary 'vzdump' snapshot
ERROR: Backup of VM 100 failed - command 'set -o pipefail && tar cpf - --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' --one-file-system '--warning=no-file-ignored' '--directory=/var/tmp/vzdumptmp3066618_100' ./etc/vzdump/pct.conf ./etc/vzdump/pct.fw '--directory=/mnt/vzsnap0' --no-anchored '--exclude=lost+found' --anchored '--exclude=./tmp/?*' '--exclude=./var/tmp/?*' '--exclude=./var/run/?*.pid' ./ | zstd --rsyncable '--threads=1' >/mnt/pve/OMV-1C/dump/vzdump-lxc-100-2021_08_04-21_00_02.tar.dat' failed: exit code 1
INFO: Failed at 2021-08-04 21:09:39
INFO: Backup job finished with errors

But if i click "Run now" same task, it goes well:

INFO: CT Name: 1C-U20
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/OMV-1C/dump/vzdump-lxc-100-2021_08_05-08_05_44.tar.zst'
INFO: Total bytes written: 33857351680 (32GiB, 86MiB/s)
INFO: archive file size: 12.33GB
INFO: prune older backups with retention: keep-last=7
INFO: removing backup 'OMV-1C:backup/vzdump-lxc-100-2021_07_26-21_00_02.tar.zst'
INFO: pruned 1 backup(s) not covered by keep-retention policy
INFO: cleanup temporary 'vzdump' snapshot
INFO: Finished Backup of VM 100 (00:06:29)
INFO: Backup finished at 2021-08-05 08:12:13
INFO: Backup job finished successfully
TASK OK

Any help?
 
the commands are the same - did the target storage have a hickup or run out of space maybe?
 
there is no difference between a manual and a scheduled backup.
 
There is difference.

Comparing logs from first message, we can see that there is no line about "prune older backups" in failed attempt log.
Target contains backups of same CT from previous installation Proxmox 6.4
After removing all old backups from target, scheduled task start to work normally.

So, solved.
Thanks.
 
the prune happens AFTER the backup, so if the backup fails you won't see a line about pruning either ;) if removing the backup helped, then you had too little space.
 
there is no difference between a scheduled backup or manually running a scheduled backup run. either you HAD no space, or your storage HAD a temporary problem. not that both problems might not exist NOW - hence why the manual run now works, while the scheduled one in the past did not.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!