graphite-project / carbonate

Utilities for managing graphite clusters
MIT License
516 stars 80 forks source link

preserving timestamps with sync #94

Closed bkez322 closed 4 years ago

bkez322 commented 6 years ago

I want transferred whisper files to preserve the timestamp of the donor. By default, the files on the recipient node have their mtimes updated to the current time. Options that I would I expect to alter this behavior appear to do nothing.

My command looks like this:

ssh $OTHER_HOST -- 'carbon-list' | carbon-sync -C $CLUSTER "--rsync-options="-c -s $OTHER_HOST

I have also tried that command with the -a and -t flags for rsync-options instead of -c.

deniszh commented 6 years ago

Well, by default -azpS should keep mtime, not sure why it's updated by default. Need to investigate.

bkez322 commented 6 years ago

Might it be a permissions issue with changing the file timestamp? I don't immediately have the ability to test carbonate with different users and permissions at the moment.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.