Commit Graph

  • fa88a76b4b Merge pull request #1 from jackbenny/master master Andrew Smith 2013-06-18 15:44:40 -07:00
  • 3ab581a0c4 Ooops, delete the ; from the next if statement Jack-Benny Persson 2013-06-09 18:06:38 +02:00
  • 3cce79a0a8 Added support for the --events option Jack-Benny Persson 2013-06-09 17:40:08 +02:00
  • a1d1f9a26c It's possible to have a user without a password, if this happens then even passing an empty password to the command line gives an error, so instead, only append the password to the OPTs var if it's set. Andrew Smith 2011-06-27 17:00:33 +10:00
  • 898874d33c Don't use %N for the timestamped log file since *BSD (including OS X) doesn't support it, instead use %S that uses the number of seconds. Andrew Smith 2011-06-27 15:18:30 +10:00
  • 1640ef083e Initial attempt at an S3 upload post-backup script. It works out what to do based on the same logic as the main script and uploads the files to a named bucket and optional folder. Andrew Smith 2011-06-27 14:55:44 +10:00
  • b78be68338 Instead of 'eval'-ing the pre/post commands, source them. This gives the scripts access to all the VARs set in the initial script so that they can access the DB names, etc. Andrew Smith 2011-06-27 14:51:33 +10:00
  • 827071b9f0 The PATH needs to be set before we try and get the location of the MySQL program, otherwise it might not be found. Andrew Smith 2011-06-27 14:48:16 +10:00
  • 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. Andrew Smith 2011-06-27 14:08:36 +10:00
  • b18c127e2a Move the echo's for start/end backup out of the if/else so they're not repeated Andrew Smith 2011-06-27 13:45:42 +10:00
  • 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. Andrew Smith 2011-06-27 10:52:03 +10:00
  • 2128a64d9f Initial import of version 2.5-01 from SourceForge. Andrew Smith 2011-06-27 10:06:35 +10:00