Installing s3sync

s3sync is a ruby based software that synchronises files from a local computer to/from Amazons S3 service.

s3sync requires ruby.

yum install ruby

The easy solution now is to just install the gem

gem install s3sync

However, this sometimes does not work and you need to do it the long way…

Run these commands

wget http://s3.amazonaws.com/ServEdge_pub/s3sync/s3sync.tar.gz
tar xvzf s3sync.tar.gz
rm s3sync.tar.gz
cd s3sync
wget http://mirbsd.mirsolutions.de/cvs.cgi/~checkout~/src/etc/ssl.certs.shar
sh ssl.certs.shar
cd ..
mkdir s3backup

You can get your Access Key and Secret Key from AWS user screen

export AWS\_ACCESS\_KEY_ID=XXX
export AWS\_SECRET\_ACCESS_KEY=XXX

Leave a comment

Your email address will not be published. Required fields are marked *