Hey phatPhrog,
thanks for posting that script. I'm fairly new to all this so please bear with me.
I have been running your script successfully for over a week without error. It is called via a cron job using:
sh /usr/backupScripts/mybackup.sh
and runs at 4am every day.
Last night, my server went down. When I woke up in the AM I couldn't access it via the http, ftp, ssh or ping. I figured out how to boot into rescue mode and restart the server in normal mode. it was my first time doing that but it went smoothly.
After doign some research i my log files, I realized that the server went down at 4:01am. Its pretty clear that the process running knocked it down.
I'm just trying to figure out how to prevent this from happening again. Any thoughts?
Also, does this script stop any services before backup to prevent failures?
Anyway, thanks again. Any feedback is apprciated.
Fish
><>