I made a script for my Proxmox host to make a copy of its daily backups to another machine (running Windows Server 2022).
The script mounts a NFS share from the Windows host and runs this rsync command:
rsync -ahzP --stats --update --delete-before --delete-excluded --exclude "*.log" /mnt/raid/ /mnt/backups > /root/ext_backup.log
It runs for about 30 minutes and then it throws this error:
rsync: [receiver] write failed on "/mnt/backups/backups/dump/vzdump-qemu-101-2022_01_23-00_00_01.vma.zst": Input/output error (5)
rsync error: error in file IO (code 11) at receiver.c(378) [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 backup operation and the file it's not corrupted.
mount -t nfs 192.168.1.105:/pve-backups /mnt/backups