I made a script for my Proxmox host to copy its daily backups to another machine (running Windows Server 2019).
The script mounts a CIFS share and runs this rsync command:
rsync -aqzP --delete --delete-excluded /mnt/raid/ /mnt/backups --exclude "*.log"
It runs for about 6 minutes and then when it tries to copy the vzdump-qemu-100-2021_05_16-00_00_03.vma.zst
file, it throws an error:
rsync: [receiver] close failed on "/mnt/backups/backups/dump/.vzdump-qemu-100-2021_05_16-00_00_03.vma.zst.nrDEvQ": Broken pipe (32)
rsync error: error in file IO (code 11) at receiver.c(871) [receiver=3.2.3]
rsync: [sender] write error: Broken pipe (32)
What could be the problem?
On the windows machine there's all the needed space for the copy.