richardsharpe / amazon-s3-vfs Goto Github PK
View Code? Open in Web Editor NEWA Samba VFS for Amazon's S3
A Samba VFS for Amazon's S3
vfs_amazon_s3. This is a work in progress. It is an experiment to see how well we can integrate Amazon's S3 with Samba via a VFS. The idea is to allow a Samba share to be a place that you could use to drop files into and then have them saved up on Amazon's S3 service as a backup for you. You need libxml2-devel and libcurl-devel. To build (against the master branch, or a 3.6.x branch with the FSCTL patches): 1. ./autogen.sh 2. ./configure --with-samba-source=/path/to/samba/source3/ 3. make You need to add the following fields to the share you want to have push files up to Amazon's S3 service: [the-share] path = /some/path vfs objects = vfs_amazon_s3 vfs_amazon_s3:access key = your-access-key vfs_amazon_s3:secret key = your-secret-key vfs_amazon_s3:bucket = the-name-of-the-bucket vfs_amazon_s3:reloc dir = /path/to/some/dir/not/under/the/share Yes, I know, the secret key needs to be dealt with in a better fashion. Progress. The latest, as of 11-Feb-2012, is that it now uploads files. However, it only uses PUTs to do that, and has a problem with the delimiter. It really should use multi-part uploads for large files. It should probably also allow SDs to be uploaded, perhaps with some simple encoding/serializing of the SD and the data and any alternate data streams. TODO: 1. Add tests to configure.in for libxml2-devel and libcurl-devel. 2. Fix bugs in upload and add support for multi-part uploads. 3. Add support for getting previous versions via FSCTLs. 4. Support opening and retrieving files up on S3. 5. Add support for uploading any SDs stored in XATTRs (or even permissions) and perhaps alternate data streams.
Hi,
I did install curl-dev on my Ubuntu-13.10 and I can compile the source code without and error. But when samba load amazon_s3.so it shows the following msg:
/opt/samba/sbin/smbd: symbol lookup error: /opt/samba/lib/vfs/amazon_s3.so: undefined symbol: curl_global_init
What would be the problem? Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.