Difference between revisions of "S3 backup with s3napback"

From Wiki2
Line 1: Line 1:
===S3 backup with s3napback===
===S3 backup with s3napback===
1. get java working on Ubuntu 10.04 see [[Ubuntu 10.04 java]]
1. Get java working on Ubuntu 10.04 see [[Ubuntu 10.04 java]]


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
2. 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

Revision as of 14:53, 12 December 2012

S3 backup with s3napback

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

2. 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