script is exiting with code 1 when the output does not indicate an error
Automatic MySQL Backup
Brought to you by:
wipe_out
I am getting a note from cron that automysqlbackup exited with code 1. Manually running it shows that this is the case:
elyograg@smeagol:~/git/haproxy-scripts$ sudo automysqlbackup || echo BLEH
Invoking backup method.
certsconfig
erinat
kadythaine
lheisey
lights
mysql_innodb_cluster_metadata
nextcloud
opendmarc
paste
phpmyadmin
piwigo
purgatory
secrets
sys
yourls
Parsed config file "/etc/automysqlbackup/automysqlbackup.conf"
# Checking for permissions to write to folders:
base folder /var/backups/misc ... exists ... ok.
backup folder /var/backups/misc/mysql ... exists ... writable? yes. Proceeding.
BLEH
I have made changes as discussed in ticket #56 to fix errors caused by shifting to InnoDB cluster. I haven't yet looked at the script to determine why it is exiting with code 1. When I find some free time I will do so.