This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ebs-snapshot.sh. Performs and validates EBS snapshots. | |
# snapshot date format 20111118-2305 | |
snapshot_date=`date +s%Y%m%d-%H%M` | |
# Set name of script | |
progname=${0##*/} ## Get the name of the script without its path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys, os | |
import boto | |
def print_usage(): | |
print """ | |
mysqlrds launch <id> | |
mysqlrds status <id> | |
mysqlrds destroy <id> | |
""" |