New issue 258 by hillbill...@gmail.com: rsync timestamp not working on
upload
http://code.google.com/p/s3fs/issues/detail?id=258
I've read that rsync should be working with 1.61 but my experience is it
re-uploads everything and always sets the timestamp to the time of upload.
When you reverse the src and dest, and download from s3fs instead of upload
it will retain the timestamp of the s3fs bucket and repeat running of the
command will not re-download the file.
So seems to be problem in only one direction.
This works :
buntu@host:/mnt/default$ sudo rsync -avz
/mnt/bucket/host3-backup/root/boot/defaults/ ./
sending incremental file list
loader.conf
sent 5062 bytes received 31 bytes 10186.00 bytes/sec
total size is 16148 speedup is 3.17
ubuntu@host:/mnt/default$ sudo rsync -avz
/mnt/bucket/host3-backup/root/boot/defaults/ ./
sending incremental file list
sent 50 bytes received 12 bytes 124.00 bytes/sec
total size is 16148 speedup is 260.45
ubuntu@host:/mnt/default$ sudo rsync -avz
/mnt/bucket/host3-backup/root/boot/defaults/ ./
sending incremental file list
sent 50 bytes received 12 bytes 124.00 bytes/sec
total size is 16148 speedup is 260.45
And this doesn't, keeps re-uploading the file, the time stamp always being
from the last update if you check in the AWS console.
ubuntu@host:/mnt/default$ sudo rsync -avz ./
/mnt/bucket/host3-backup/root/boot/defaults/
sending incremental file list
loader.conf
sent 5062 bytes received 31 bytes 3395.33 bytes/sec
total size is 16148 speedup is 3.17
ubuntu@host:/mnt/default$ sudo rsync -avz ./
/mnt/bucket/host3-backup/root/boot/defaults/
sending incremental file list
loader.conf
sent 5062 bytes received 31 bytes 3395.33 bytes/sec
total size is 16148 speedup is 3.17
ubuntu@host:/mnt/default$ ^Cubuntu@ip-10-238-153-191:/mnt/default$ sudo
rsync -avz ./ /mnt/bucket/host3-backup/root/boot/defaults/
sending incremental file list
loader.conf
sent 5062 bytes received 31 bytes 10186.00 bytes/sec
total size is 16148 speedup is 3.17
This is my /etc/fstab line for mounting the s3fs
s3fs#host3-backup /mnt/bucket/host3-backup fuse
allow_other,url=http://s3-eu-west-1.amazonaws.com 0 0