9 lines
217 B
Plaintext
9 lines
217 B
Plaintext
#!/bin/bash
|
|
#
|
|
# Back up a MySQL database via EBS snapshot
|
|
|
|
. /mnt/aws-config/config
|
|
|
|
/opt/ec2_mysql/bin/ec2_mysql -a $AWS_ACCESS_KEY_ID -s $AWS_SECRET_ACCESS_KEY -p '<%= @mysql_root_passwd %>' -k 5 master
|
|
echo "done"
|