I wrote the simple shell script below. I automate this using CronJobs nightly. It has been running successfully for weeks, but I decided to test out the backup, and apparently the Zip file after having been transferred, is now corrupt. When I check the Zip file on the original server it is fine. I unzip it and the contents are perfect.