Large backup transfers can fail because of unstable network connections, SSH timeouts, remote storage limits, or insufficient temporary storage.
Instead of restarting every transfer from the beginning, use resumable transfer options.
For example:
rsync -avP backup.tar.gz user@REMOTE_IP:/backup/
The -P option enables partial-file retention and progress reporting, allowing interrupted transfers to resume under suitable conditions.
Additional troubleshooting steps:
Check network connectivity between both servers.
Verify available storage on the remote server:
df -h
Check SSH connection stability.
Review remote server logs for permission or storage errors.
Use SSH keys instead of interactive password authentication for automated transfers.
Verify the transferred file using SHA-256 checksums.
For critical backups, consider using a dedicated backup transfer tool with retry handling, logging, and integrity verification.