Difference between revisions of "S3 backup with s3napback"
From Wiki2
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
===S3 backup with s3napback=== | ===S3 backup with [http://dev.davidsoergel.com/trac/s3napback/ s3napback]=== | ||
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 | 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 (you have to click something on the aws page to see the 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] | [mysqldump] | ||
user=mysqluser | user=mysqluser | ||
password=secret | password=secret |
Latest revision as of 15:05, 12 December 2012
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 (you have to click something on the aws page to see the 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