rsync timestamps

19 views
Skip to first unread message

Uncletall

unread,
Jun 6, 2010, 9:47:59 PM6/6/10
to DataStorageUnit
Hi,

I am testing datastorage unit for backing up my family pictures etc..
and am using rsync to do so.
In the apst I have had no issues using rsync to synchronize large
amounts of data over the net but now I face the problem that the
timestamps are not updated. This means that the next time I run rsync
it will try to update all files with the correct timestamp. It is not
a rights issue as I can manually update the timestamp over ssh.. any
tips?

This is the command I use:

rsync -avz --progress --times -i -h --timeout=300 --stats

In my previous experience I always used root to backup and restore
using rsync, now the user account is different, could this be the
reason?



Martin Larsen

unread,
Jun 7, 2010, 4:10:16 AM6/7/10
to datasto...@googlegroups.com
Hi,

I am using DSU for the same purpose, using a similar commandline, and it works perfectly. So it is not a root issue. The only difference to my commandline is that I don't use the the options after --progress. Btw, --times or -t is implied in the -a option.

It is difficult to say what causes the timestamp problem, but you could make a test from a liveCD of another Linux distribution and see if the problem is still in effect.

Martin

Peter Bruin

unread,
Jun 7, 2010, 5:47:11 AM6/7/10
to datasto...@googlegroups.com

Hi Martin,

Thanks for your reply.

I just did a quick test and it seems to work ok when I write to a normal dir. It however does not work when I write to a encfs mounted folder. Guess the problem lies with rsync on encfs.
Do you use encfs?

Regards,
Peter

Martin Larsen

unread,
Jun 7, 2010, 5:50:46 AM6/7/10
to datasto...@googlegroups.com
Yes, I do in fact. However, I mount the encrypted folder remotely because it is more efficient and because my data is not top secret, so if you mount it locally, that could be difference.

Michael Teachman

unread,
Jun 7, 2010, 8:35:14 AM6/7/10
to datasto...@googlegroups.com
You seem to mention that alot. I think thats the secret data you want them to find....

Peter

unread,
Jun 7, 2010, 9:45:44 AM6/7/10
to datasto...@googlegroups.com
Actually, I also mount on the remote server as indeed the performance is otherwise terrible.
But, the issue is a encfs bug. I read somewhere that if you create the using the "p" for paranoia mode you encounter this issue. And indeed this is true, I did the test by using the standard options and the paranoia option and the standard option has the timestamps ok.
 
Maybe this can be mentioned in the instructions somewhere... it will safe a lot of additional updating..
 
Regards,
Peter
 
Reply all
Reply to author
Forward
0 new messages