Update the README and code comments to make it clear that the cloud files backup method can be used for any OpenStack endpoint
Update the README and code comments to make it clear that the cloud f…
…iles backup method can be used for any OpenStack endpoint
Backup's CloudFiles Storage uses the fog gem's rackspace provider.
The fog gem also has a openstack provider.
While these two are similar, and the rackspace provider may work with other OpenStack based storage providers,
there are some differences.
The rackspace provider supports Rackspace's ServiceNet option, while openstack does not.
Also, openstack has some additional options that affect authentication.
I'd rather see Backup gain a OpenStack Storage.
Makes sense. The OpenStack storage provider is not released yet, which is why I didn't use it. It'll be in the next version of fog that's released. Would you want to create an OpenStack provider as a new provider in addition to the Rackspace provider or update the Rackspace provider to be a more generic OpenStack provider?
Hey Brian, fog 1.10 is out now. If we upgrade to 1.10 then I can use the OpenStack fog provider in this pull request as you've suggested.
Sure, I'm game. Like I said, this should be a new Storage though. Backup::Storage::OpenStack
Won't be much different than the current CloudFiles Storage, other than the new options.
Also, we'll want to do the same with the Syncer. Backup::Syncer::Cloud::OpenStack :)
And, yeah, we'll have to bump fog to ~> 1.10.
@benmccann If you want to work on this new Storage/Syncer, you should create a local branch and just bump the versions there. fog ~>1.10.0, and now excon ~>0.19.0. You may still run into some issues. Fog is a very active project :)