Hi Guys, unfortunately I did not follow the guidance of the site for the installation. Now I have this error when I try do a backup: ------------------------------------------ ------------------------------------------ [root@centos ~]# automysqlbackup etc/automysqlbackup/myserver.conf Parsed config file "/etc/automysqlbackup/automysqlbackup.conf" # Checking for permissions to write to folders: base folder /var/backup ... exists ... ok. backup folder /var/backup/db ... exists ... writable? yes. Proceeding. checking directory "/var/backup/db/daily" ... exists. checking directory "/var/backup/db/weekly" ... exists. checking directory "/var/backup/db/monthly" ... exists. checking directory "/var/backup/db/latest" ... exists. checking directory "/var/backup/db/tmp" ... exists. checking directory "/var/backup/db/fullschema" ... exists. checking directory "/var/backup/db/status" ... exists. # Testing for installed programs WARNING: Turning off multicore support, since pigz isn't there. mysql ... found. mysqldump ... found. # Parsing databases ... Note: Unreadable config file "etc/automysqlbackup/myserver.conf" Error: The mysql server is empty, i.e. no databases found. Check if something is wrong. Exiting. ###### WARNING ###### Errors reported during AutoMySQLBackup execution.. Backup failed Error log below.. ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) --------------------------------------------------------------------------- --------------------------------------------------------------------------- Now, I unistall automysql backup and reinstall? Thanks. Matteo
Solved my now I have this problem: ------------- [root@centos backup]# automysqlbackup /etc/automysqlbackup/myserver.conf Parsed config file "/etc/automysqlbackup/automysqlbackup.conf" # Checking for permissions to write to folders: base folder /var/backup ... exists ... ok. backup folder /var/backup/mysql ... exists ... writable? yes. Proceeding. /usr/local/bin/automysqlbackup: line 137: mail: command not found ------------
For Centos: yum install mailx for Debian: apt-get install mailutils for Ubuntu: sudo apt-get install mailutils
OK thx a lot till for you support. I have installed my mailx for centos and mails are ok. Now my daily backup is empty... No errors but file sql empty