rm -f is a bad idea if you do not need it
plain rm is fine
Make a copy like I told you manually
then test your script manually have a plan b
try adding at the bottom of your script
Code:
$ echo "`date` backup done"
this will print this out
Wed Oct 4 21:28:16 EDT 2017 backup done
add this line to your cron and check what happened in the morning
Code:
0 6 * * 4 (cd /var/backup/mysql_backup/; ./backup_script_name.sh) | mail -s "subject backup done" [email protected]