[Python Wpg] For anybody using Rackspace cloud files
kveroneau at gmail.com
Thu Oct 14 11:00:47 EDT 2010
Yes, there is a Python program called duplicity, their latest version
supports rsync to a cloud files container.
Duplicity project: http://duplicity.nongnu.org/
<http://duplicity.nongnu.org/>Blog about using Duplicity with Rackspace
Also, if you look at the second Python program, you can easily use popen
in python to open a pipe and pipe in rsync.
The documentation in the Python bindings github may have some information
on how one would use rsync via a Python program. You will also need the
Python module for Rackspace cloud files installed from here.
Hope this was of help to you,
On Thu, Oct 14, 2010 at 9:04 AM, Jason Hildebrand <jason at peaceworks.ca>wrote:
> Hi Kevin,
> This looks interesting; thanks for sharing.
> For large backups, I view rsync or equivalent functionality as a key
> feature. The idea is that if you already have a full backup on the server,
> only the differences will be transferred each day, saving substantial
> bandwidth and time. Do you know if this is possible using Cloud Files?
> Jason Hildebrand
> PeaceWorks Computer Consulting
> #1 - 396 Assiniboine Ave, Winnipeg
> 204 480 0314 --or-- 519 725 7875, ext 6020.
> ----- "Kevin Veroneau" <kveroneau at gmail.com> wrote:
> > Hello everyone,
> > I thought I'd share a few python files with you today, mainly for
> > those here who take advantage of Rackspace's cloud features. I would
> > highly recommend them, if you do not current use them. Rackspace cloud
> > files is a very cost effective off-site backup, and can be used for
> > many other things. I currently have a python web application which
> > uploads data to the cloud files service and requested downloads are
> > simply linked directly to a public cloud container. With cloud files,
> > you can either have a container marked as private, or public. Private
> > requires API access to do remote downloads, where as public, they
> > provide you with a URI.
> > Attached files:
> > uploader.py - A small and simple Python command-line program to easily
> > upload data into the cloud.
> > cloudclass.py - A small and simple Python class to easily make
> > programs to upload/download to/from the cloud.
> > backup-proj.py - A small and simple Python command-line program to
> > easily tarball and upload a directory structure to the cloud.
> > You will need to edit them and insert your own username and API Key
> > from rackspace cloud. I like the last program, as it really shows how
> > powerful this cloud file system really is. You could put something
> > like this in a cron script for example, or a .profile, or some other
> > start-up file.
> > If you would like to learn more about Rackspace cloud and obtain their
> > Python bindings, visit: http://www.rackspacecloud.com/
> > They do have very competitive pricing, I use both their Cloud servers
> > and Cloud files services.
> > Enjoy!
> > Kevin Veroneau
> > _______________________________________________
> > Winnipeg Python Users Group mailing list
> > http://WinniPUG.ca
> > Winnipeg at python.org
> > http://mail.python.org/mailman/listinfo/winnipeg
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Winnipeg