How to use boto-rsync with DreamObjects

boto-rsync is an rsync-like tool that synchronizes files with an object storage service such as DreamObjects. If you've already created a DreamObjects User, Bucket, and Keys, you can use boto-rsync to upload/download objects.

The creator of boto-rsync is no longer developing it, so there may be bugs and missing features. DreamHost has forked the code (available at the above github URL) and fixed some issues related to unicode, multipart uploads, and multiprocessing.

Example Commands

Optionally the –delete flag can be included for similar functionality to rsync, in order to remove files from the destination that don’t exist on the source.

Uploading a file or directory to DreamObjects

[user@localhost]$ boto-rsync -a ACCESSKEY -s SECRETKEY --endpoint /SOURCE/PATH s3://DESTINATIONBUCKET/PATH

Downloading a file or directory from DreamObjects

[user@localhost]$ boto-rsync -a ACCESSKEY -s SECRETKEY --endpoint s3://SOURCEBUCKET/PATH /DESTINATION/PATH

If you don't want to enter your access/secret key information each time you execute the command, you can create a .boto file to store them. View the following article for instructions:

Did this article answer your questions?

Article last updated .