Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add --delay-updates to sync command #33

Closed
mdomsch opened this Issue · 4 comments

3 participants

@mdomsch
Owner

Similar to --delete-after, --delay-updates pushes changed files into place after uploading new content, and before deleting removed content. In this way there is a minimal amount of time when a yum or deb repository is in an inconsistent state on disk.

@ryanlim

I use my fork of s3cmd to sync my backups to S3. It requires the sync to complete or never at all. Does this my fork/commit work?

ryanlim@7296397

@mdomsch
Owner

See pull request #34.

@mdomsch
Owner

ryanlim: I like your approach too. rsync uses a upload-to-temp-file-and-rename scheme for all of its files. The trick in the combination of the two is to order the (many) renames such that updated files get renamed last. My patch affects the upload order only. Your patch, if it could take into account setting the rename order, would then be the best of both worlds.

@kevindaub

This was merged with #34, so this can be closed.

@mdomsch mdomsch closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.