Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python
tree: b45260dad1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
COPYING
README.md
slbackup.py

README.md

softlayer-object-storage-backup

SoftLayer's object storage backup script. Works like rsync, but with our object storage service!

This script is indended to be used purely as a backup operation! It will not make you run faster or jump higher. It might save you from a really bad day though.

Features

  • Rsync-like delta backups - only changed/new files are uploaded saving you time/bandwidth.
  • Retention policies - deleted/updated files are kept for any desired length of time. These can also be disabled.
  • Threaded - Copying can always be the longest part, so backups are done in the background as file comparisions are being performed.
  • MD5 support - Swift automatically sets a default hash (md5) for every object. We support file comparisions using this hash instead of time/size variance.
  • Open source - MIT licensed (as is the object storage library).

Usage

. Download/install object_storage from github . Download slbackup.py . run ./slbackup.py --help . run ./slbackup.py --example to get a config . run with the desired options.

Known issues/limitations

  • 5GB file limitation: Swift does support (large files)[http://swift.openstack.org/overview_large_objects.html] using Manifest files, but this script does not currently deal with this properly. Not sure how to deal with object fragments during file comparision. Uploading and making the manifests is easy.
  • Windows Support: Tried to write the script in a way that supported windows. However, it is not tested yet.
  • Restoration: Restoring files is an operation left to the admin right now.
Something went wrong with that request. Please try again.