Open segator opened 8 years ago
This might help https://github.com/ncw/swift
I'd be interested in swift support.
I notice that most of the work is done already with the hubic client. Hubic have put an oauth2 frontend on swift. The code needs another path through it to collect the service catalog from the auth URL to read the endpoint URL and the token and then it is identical.
It might be worth using my library https://github.com/ncw/swift for this as it abstracts the many different kinds of swift authentication a bit.
The only thing that stopped me from building a swift backend was that I couldn't find a swift storage provider that follows the standard API. I tried to install openstack myself, but gave up after I found it was just a bunch of bash scripts and consisted of too many independent processes.
Yes, your library should be the top choice.
OVHs Cloud Storage is based on Swift, so you might try it with that. Alternatively, it is quiet easy to install openstack on ubuntu using conjure-up.
OVHs offer might even be a nice alternative to their HubiC offer.
You can get a free 5GB swift account with Memset's Memstore: https://www.memset.com/cloud/storage
(Disclaimer - I work for Memset)
Ping on that, that would really be a very interesting feature :)
Hi Guys,
Just a little ping on that. Is there any recent effort on it ?
Hi @gilbertchen
You could use cormorant to run OpenStack Swift locally. cormorant is an open source OpenStack Swift compatible object storage server released under AGPL.
Step 1: Make sure that Java 8 or 9 is installed.
java -version
Step 2: Download the cormorant server.
wget https://webfolder.io/cormorant/cormorant-server-1.0.0.jar
Step 3: Start the server.
java -jar cormorant-server-1.0.0.jar start --password=admin --log-appender=Console
Step 4: Check the server status.
curl --verbose http://localhost:5000/healthcheck
Credentials: Username: admin Password: admin User Interface: You could use CloudBerry Explorer to download, upload file and to create container. Compatibility with Go: cormorant is compitable and tested with ncw/swift
Please let me know if you couldn't configure the server.
I'm currently busy with the new GUI version. This will be the next thing to do after the new GUI version is out.
PR #353 implements a Swift backend using @ncw's library.
@gilbertchen Thanks for implementing this --- could you please move documentation on how to setup Swift backend from PR to this page: https://github.com/gilbertchen/duplicacy/wiki/Storage-Backends ?
HI it will be very interesting that you add support for openstack swift some cloud providers use as a backend openstack swift so you will have implemented all of them only implementing one API.