Clone Tools
  • last updated 12 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
making suggested changes

  1. … 2 more files in changeset.
simplifying the final exit code

  1. … 2 more files in changeset.
checking everything in the pipe for an error

  1. … 1 more file in changeset.
using pipestatus to get status of the backup

  1. … 1 more file in changeset.
changing to any error

  1. … 2 more files in changeset.
adding some error checking to the backup scripts

  1. … 2 more files in changeset.
OF: duplicate prefix

mysql rsync

parameterize rsync user/pass so we can use a single user for multiple

mysql backups. add that user as a target on bai. we still need to

provide a per-hostname rsync target for now.

also, remove a useless bai-test eyaml.

  1. … 4 more files in changeset.
mysql rsync

add a flaggable ability to push mysql db dumps offsite to bai via rsync.

add stunnel_asf as a dependency to mysql_asf::backup. This shouldn't

affect machines that don't need it, but is necessary to make offsite

backups use only a single flag. nb: this will also require further

commits/changes to enable the backup on bai and eyaml to add the rsync

passwords.

  1. … 2 more files in changeset.
script fails when there is more than one pass entry in my.cnf -- fix to match just the first entry

Tidy up mysql dumps

  1. … 1 more file in changeset.
subsitute some more variables, amke sure a log folder strucutre exists

Add (moslty) generalized mysq -> abi backup script, tailored for puppet3 deployed mysql hosts

    • -0
    • +113
    ./dbsave_mysql.sh.erb
  1. … 1 more file in changeset.