5 Commits

Author SHA1 Message Date
Andrew Smith
827071b9f0 The PATH needs to be set before we try and get the location of the MySQL program, otherwise it might not be found. 2011-06-27 14:48:16 +10:00
Andrew Smith
7b556dc7db Move the creation of the backup folders to before the attempt to create the log files because if the folder don't exist then no logs will be created on the first run. 2011-06-27 14:08:36 +10:00
Andrew Smith
b18c127e2a Move the echo's for start/end backup out of the if/else so they're not repeated 2011-06-27 13:45:42 +10:00
Andrew Smith
10b77d1990 Split out the example config into its own file.
Use the 'getopts' bash helper rather than rolling our own for parsing the passed in options.
If no config file has been passed in and we can't load the 'master' config (in /etc/automysqlbackup) then exit.
2011-06-27 10:57:12 +10:00
Andrew Smith
2128a64d9f Initial import of version 2.5-01 from SourceForge. 2011-06-27 10:06:35 +10:00