This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.DS_Store | Tue Oct 07 12:40:30 -0700 2008 | |
| |
README | Tue Oct 07 12:40:30 -0700 2008 | |
| |
mysql_quickdump/ | Tue Oct 07 12:40:30 -0700 2008 | |
| |
mysql_tools.rb | Tue Oct 07 12:40:30 -0700 2008 | |
| |
sample.cron | Fri Nov 07 11:36:03 -0800 2008 | |
| |
settings.yml | Fri Mar 20 13:21:31 -0700 2009 |
README
mysql_tools.rb - Uses config file ./settings.yml USAGE: mysql_tools.rb backup - does a mysqldump on localhost, gzips it and stores to S3 in the configured bucket/folder mysql_tools.rb restore [filename] - Must be run from the machine you wish to restore to. - gets the latest mysql backup data from S3 and imports it into mysql - takes an optional filename argument for a specific backup file from S3 in the configured bucket/folder To use cron to daily backup the DB, copy the sample.cron file into /etc/cron.daily, and make sure the path is correct.







