S3 backup with s3napback

From Wiki2

S3 backup with s3napback

1. Get java working on Ubuntu 10.04 see Ubuntu 10.04 java

2. Install the other needed stuff

sudo cpan Date::Format Config::ApacheFormat Log::Log4perl

3. Download s3napback

cd /usr/local/share
lynx http://dev.davidsoergel.com/trac/s3napback/raw-attachment/wiki/Releases/s3napback-1.10.tgz
tar xvf s3napback-1.10.tgz

4. create S3 login in /usr/local/share/s3napback/key.txt containing

key=your AWS key
secret=your AWS secret

5. Set up mysql to not need a password to do a dump.

In order for mysql to work, the user you're running the script as must be able to mysqldump the requested databases without entering a password. This can be accomplished through by creating a .my.cnf file in the user's home directory putting in it
[mysqldump]
user=mysqluser
password=secret