How does this compare to the existing s3cmd [1] tool? One issue I've had with s3cmd is it tends to use a lot of memory when syncing two large buckets. I'd love to see a tool that was faster / more memory efficient than s3cmd. Would be awesome to see some benchmarks and feature comparison in the README! [1] http://s3tools.org/s3cmd
So, basically, the main difference is the language they're implemented in. I started working on s3sync cause I found its code easier to read and I really needed to practice my ruby skills. Although s3cmd is older and has more features, s3sync was designed to grow stable and well tested. I'm definitely planning to write benchmarks to s3sync and improve its performance as much as I can.
S3sync – Tool belt for managing your S3 buckets
11–20 of 22 posts
Re: S3sync – Tool belt for managing your S3 buckets
#12Re: S3sync – Tool belt for managing your S3 buckets
#13A tool that could do parallel downloads of small files would be a winner. We have a lot of small files and use s3cmd. It downloads one at a time. You can finagle it with some xargs magic, but it would be nice to have it built in.
Wish I had the time, I just realized it would be a fun project to learn Go with.
Re: S3sync – Tool belt for managing your S3 buckets
#14A tool that could do parallel downloads of small files would be a winner. We have a lot of small files and use s3cmd. It downloads one at a time. You can finagle it with some xargs magic, but it would be nice to have it built in.
Re: S3sync – Tool belt for managing your S3 buckets
#15Earlier quoted context omitted.
So, basically, the main difference is the language they're implemented in. I started working on s3sync cause I found its code easier to read and I really needed to practice my ruby skills. Although s3cmd is older and has more features, s3sync was designed to grow stable and well tested. I'm definitely planning to write benchmarks to s3sync and improve its performance as much as I can.
Thank you. Does this support IAM Roles?
Re: S3sync – Tool belt for managing your S3 buckets
#16A tool that could do parallel downloads of small files would be a winner. We have a lot of small files and use s3cmd. It downloads one at a time. You can finagle it with some xargs magic, but it would be nice to have it built in.
Totally expecting to see someone build this in go in a couple weeks to do exactly that sort of thing. :) Wish I had the time, I just realized it would be a fun project to learn Go with.
Re: S3sync – Tool belt for managing your S3 buckets
#17What does this provide that isn't already provided by the official AWS CLI? http://docs.aws.amazon.com/cli/latest/reference/s3/index.htm...
In the end of the day, I had an unreadable file inside of the directory that I was trying to back up. I found that out using `--debug` option of the official client, but I couldn't actually continue copying the files cause of that error.
When I tried with s3sync, as I expected, it just yielded a warning about the single file I had with problems and kept working until my backup was done!
Sorry for the wall of text, I just think it's funny cause this exact question came to my mind a couple days ago and that's how I answered my self! :)
Re: S3sync – Tool belt for managing your S3 buckets
#18What are the pros and cons of using s3sync versus s3cmd?
s3cmd: * might be considered more robust and battle tested as people already commented here; * is written in python, so if you have a python environment running, you might be more comfortable with it;
s3sync * Smaller codebase, might be easier to keep things simpler and well tested, achieving the same stability with less time/effort; * Error reporting. One of my main reasons to keep working on s3sync was its better error reporting. I just go crazy when something wrong happens and I don't know why. * It's in ruby, if you have a ruby environment and you don't want to add any python dependencies, you might choose it
Re: S3sync – Tool belt for managing your S3 buckets
#19A tool that could do parallel downloads of small files would be a winner. We have a lot of small files and use s3cmd. It downloads one at a time. You can finagle it with some xargs magic, but it would be nice to have it built in.
https://github.com/newspaperclub/hank
I found the existing s3 syncing tools used lots of memory when dealing with many small files, so I wrote this in Go, trying to carefully manage memory usage by concurrently listing and downloading the files.
We use it for backing up 500GB across 800k files, from an S3 bucket to a ZFS filesystem for snapshotting. It does the job well, usually taking just a few minutes when there are minimal changes.
Re: S3sync – Tool belt for managing your S3 buckets
#20Earlier quoted context omitted.
Thank you. Does this support IAM Roles?
Not currently! Please feel free to open a ticket about that! Thank you! :)
https://github.com/clarete/s3sync/issues/15
Wish I could help, but I don't know ruby :)