Re: rsyncing repositories



On ons, 2016-11-02 at 12:54 -0600, Dan Nicholson wrote:
Back from vacation now, so I'm starting to think about this again.

So, this is not exactly related to rsync, but I've recently realized
that amazon S3 is an excellent host for ostree repositories. It doesn't
support rsync, but there is a tool (aws s3 sync) that is very similar.
I sync my repo with:

  aws s3 sync /my/local/repo s3://my-bucket/the-repo)

This is not *quite* safe in the same sense that a regular rsync is, but
its *almost* safe and could be made so with a bit more scripting.

The interesting thing though is that S3 *does* support uploads, so we
*could* make an "ostree push" operation that works for it. Is anyone
interested in looking at this?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl redhat com            alexander larsson gmail com 
He's an obese native American househusband who hangs with the wrong 
crowd. She's an enchanted cat-loving cab driver who inherited a spooky 
stately manor from her late maiden aunt. They fight crime! 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]