#To install and mount s3fs on Ubuntu:
root@mikrojenkins:/usr/src# apt-get remove fuse
root@mikrojenkins:/usr/src# apt-get install build-essential libcurl4-openssl-dev libxml2-dev mime-support
root@mikrojenkins:/usr/src# wget http://downloads.sourceforge.net/project/fuse/fuse-2.X/2.9.3/fuse-2.9.3.tar.gz
root@mikrojenkins:/usr/src# tar xzf fuse-2.9.3.tar.gz
root@mikrojenkins:/usr/src# cd fuse-2.9.3
root@mikrojenkins:/usr/src/fuse-2.9.3# ./configure –prefix=/usr/local
root@mikrojenkins:/usr/src/fuse-2.9.3# make && make install
root@mikrojenkins:/usr/src/fuse-2.9.3# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
root@mikrojenkins:/usr/src/fuse-2.9.3# ldconfig
root@mikrojenkins:/usr/src/fuse-2.9.3# modprobe fuse
root@mikrojenkins:/usr/src# wget https://s3fs.googlecode.com/files/s3fs-1.74.tar.gz
root@mikrojenkins:/usr/src# tar xzf s3fs-1.74.tar.gz
root@mikrojenkins:/usr/src/s3fs-1.74# cd s3fs-1.74
root@mikrojenkins:/usr/src/s3fs-1.74# ./configure –prefix=/usr/local
root@mikrojenkins:/usr/src/s3fs-1.74# make && make install
colin@mikrojenkins:~$ echo AWS_ACCESS_KEY_ID:AWS_SECRET_ACCESS_KEY > ~/.passwd-s3fs
colin@mikrojenkins:~$ chmod 600 ~/.passwd-s3fs
root@mikrojenkins:/usr/src# mkdir /tmp/cache
root@mikrojenkins:/usr/src# mkdir /s3mnt
root@mikrojenkins:/usr/src# chmod 777 /tmp/cache /s3mnt
colin@mikrojenkins:~$ s3fs -o use_cache=/tmp/cache mydbbackup /s3mnt