This one works
you only need to change REPLACE_WITH_DB_NAME & REPLACE_WITH_BACKUP_LOCATION
PS would like to know how to do a db dump that is archived to save space
Code:
MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -u admin REPLACE_WITH_DB_NAME > /REPLACE_WITH_BACKUP_LOCATION/`date +\%d.\%m.\%Y`.sql
you only need to change REPLACE_WITH_DB_NAME & REPLACE_WITH_BACKUP_LOCATION
PS would like to know how to do a db dump that is archived to save space