Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --delay-updates to sync command #33

Closed
mdomsch opened this Issue Mar 1, 2012 · 4 comments

Comments

Projects
None yet
3 participants
@mdomsch
Copy link
Contributor

commented Mar 1, 2012

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

This comment has been minimized.

Copy link

commented Mar 1, 2012

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

This comment has been minimized.

Copy link
Contributor Author

commented Mar 1, 2012

See pull request #34.

@mdomsch

This comment has been minimized.

Copy link
Contributor Author

commented Mar 1, 2012

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 comment has been minimized.

Copy link
Contributor

commented Mar 5, 2013

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

@mdomsch mdomsch closed this Mar 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.