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 08:10 AM.