Automysqlbackup (error and empty backup) [SOLVED]

Discussion in 'Installation/Configuration' started by mattesil, Feb 10, 2015.

  1. mattesil

    mattesil New Member

    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
     
  2. mattesil

    mattesil New Member

    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
    ------------
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    For Centos:

    yum install mailx

    for Debian:

    apt-get install mailutils

    for Ubuntu:

    sudo apt-get install mailutils
     
  4. mattesil

    mattesil New Member

    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 :confused:
     
    Last edited: Feb 10, 2015
  5. mattesil

    mattesil New Member

    [SOLVED]
    I have commented into my.cnf row of symbolic-links.
     

Share This Page