Hi,
I’d like to use the fullbackup4_sh script to backup OpenEMR that is supplied on the wiki here: http://www.open-emr.org/wiki/index.php/OpenEMR_Backup_Tools. I like the idea of having an automated backup of the web directory and database to DVD and on the local directory. When I run the script, the web directory gets backed up fine, but the mysqldump gives the error 1045: Access denied for user root @ localhost (using password: NO) when trying to connect. It seems to be getting hung up on mysqldump, as when I run mysqldump --opt -p openemr and enter the MySQL root password, it dumps. I am running the script as root. Obviously the script would be running as a non-interactive task, so I can’t always be putting in the password. I researched using the mysql_config_editor utility to solve the issue, but I’m out of my league in getting it to work. Any ideas?
-Venu