several problems related with backup

selcuk2

New Member
May 19, 2024
10
0
1
Hi I am trying to backup my VMs.
so I installed PBS(3.2 version) in a VM which uses the space in local-lvm storage. I schduled a backup job.

1- after a while I looked at and see that my "local" storage is getting full! and I saw "error 70 no space left on device" messages.

Code:
zstd: error 70 : Write error : cannot write block : No space left on device
INFO:  80% (40.3 GiB of 50.0 GiB) in 3m 42s, read: 48.9 MiB/s, write: 48.5 MiB/s
ERROR: vma_queue_write: write error - Broken pipe

when I look at, I have seen zst files in my local storage. so backup job is creating some zst files and this fills my local storage. After a while, this also, I think, triggered some HA tasks to move VMs and even one VM is shutdown!
how can I prevent my local store to be filled up. if they a temporary files, why backup job did not delete them ? and If I delete them, is it OK?

2- backup job is only to run "sun 03:00" but I see the job is back-ing up my VMs continuously again and again ! WHY ?

3- I deleted the backup job (in datacenter view) but still backup job continues to backup my VMs. I use GUI to stop the job but it re-start again sometime later. how can I cancel a backup job completely (for the one which is deleted !)

and now it again started ! here is the backup jobs output. it fills my local storage!


Code:
INFO: starting new backup job: vzdump 106 --notes-template '{{guestname}}' --mode snapshot --notification-mode auto --remove 0 --node pve1 --storage local --compress zstd
INFO: Starting Backup of VM 106 (qemu)
INFO: Backup started at 2024-05-19 08:12:08
INFO: status = running
INFO: VM Name: hoppa
INFO: include disk 'scsi0' 'ssd:vm-106-disk-0' 50G
INFO: include disk 'scsi1' 'hdd:vm-106-disk-0' 200G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-qemu-106-2024_05_19-08_12_08.vma.zst'
INFO: started backup task '9a6685c3-8e87-4c55-983f-2668ce82fa1c'
INFO: resuming VM again
INFO:   0% (786.6 MiB of 250.0 GiB) in 3s, read: 262.2 MiB/s, write: 225.4 MiB/s
...
NFO: backup is sparse: 108.08 GiB (43%) total zero data
INFO: transferred 250.00 GiB in 598 seconds (428.1 MiB/s)
INFO: archive file size: 20.32GB
INFO: adding notes to backup
INFO: Finished Backup of VM 106 (00:09:59)
INFO: Backup finished at 2024-05-19 08:22:07
INFO: Backup job finished successfully
INFO: notified via target `mail-to-root`


I have even shutdown PBS machine but again it tries to backup!
 
Last edited:
Hi again

My env:
PVE:
root@pve1:~# pveversion
pve-manager/8.1.3/b46aac3b42da5d15 (running kernel: 6.5.11-4-pve)
PBS: 3.2

I have solved some of my problems. repeating backup jobs are disappeared after deleting backup job and reloading pvescheduler. so my question currently is why are BIG zst files created on my local disk? my backup destination is PBS and I see them on PBS also.

can I delete them without affecting my backups? I also want to transfer these to a remote cloud (aws) environmentprovider. If I copy these zst files to s3, does that mean I have copied my backup files to a remote destination? if this is the case, then I will be using PBS for only local copies of my backup
 

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!