if /data/backup/DB_Backup/ doesn't already exist, then your script won't work.
You should create that directory before running the script, or add something like this to the beginning of the script:
if [ ! -d "$backup_dir" ]; then
mkdir -p "$backup_dir"
Last edited by mikshaw; 09-13-2004 at 07:10 AM.