S3へのバックアップ取得

事前準備

S3を操作できるユーザをIAMで作成しておく

インストールとセットアップ

root@hostname:/home/shimizu# aptitude install s3cmd
以下の新規パッケージがインストールされます:
python-dateutil{a} python-magic{a} s3cmd
...
root@hostname:/home/shimizu# s3cmd --configure
Enter new values or accept defaults in brackets with Enter.
Refer to user manual for detailed description of all options.
Access key and Secret key are your identifiers for Amazon S3. Leave them empty for using the env variables.
Access Key: *****
Secret Key: *****
Encryption password is used to protect your files from reading
by unauthorized persons while in transfer to S3
Encryption password: *****
Path to GPG program [/usr/bin/gpg]:
When using secure HTTPS protocol all communication with Amazon S3
servers is protected from 3rd party eavesdropping. This method is
slower than plain HTTP and can't be used if you're behind a proxy
Use HTTPS protocol [No]:
On some networks all internet access must go through a HTTP proxy.
Try setting it here if you can't connect to S3 directly
HTTP Proxy server name:*****
...
Configuration saved to '/root/.s3cfg'
root@hostname:/home/shimizu# s3cmd --version
s3cmd version 1.5.0-rc1