Skip to content

Instantly share code, notes, and snippets.

@jallspaw
Created May 4, 2012 14:45

Revisions

  1. jallspaw created this gist May 4, 2012.
    9 changes: 9 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    # Give a little warning about what is required before we start.
    msg="Before running this script, make sure:
    1. You are not on ${THIS_HOST}.
    This backup was generated on ${THIS_HOST}. It cannot be applied to
    ${THIS_HOST}.
    2. You have removed the broken mysql server from the prod conf via
    deployinator.
    3. There is no data on this host. THIS SCRIPT WILL DESTORY THE CURRENT MYSQL
    INSTALLATION. THERE WILL BE NO GOING BACK.