myserver.conf directory change not working?

Help
Matt
2012-06-23
2013-05-29
  • Matt
    Matt
    2012-06-23

    Hi! I'm having some issues changing the backup dir of my daily automysqlbackup.

    I've verified my cron.daily job is:
    /usr/local/bin/automysqlbackup /etc/automysqlbackup/myserver.conf

    in /etc/automysqlbackup/myserver.conf I've changed this line:
    # Backup directory location e.g /backups
    #CONFIG_backup_dir='/u02/backup/db'

    And yet my daily backups still go to /var/backup/db - am I missing something here?

    Thanks!

     
  • William Hooper
    William Hooper
    2012-06-24

    If your example is a copy and past from your conf file, the problem is that you need to remove the hash from the front of the line so that it is now longer commented out.

    # Backup directory location e.g /backups
    CONFIG_backup_dir='/u02/backup/db'
    
     
  • Matt
    Matt
    2012-06-25

    Wow, I must've had the blinders on when I was looking at this. Thanks!