[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Re: 1) Using samba to backup windows shares 2)
From: |
Ben Escoto |
Subject: |
Re: [rdiff-backup-users] Re: 1) Using samba to backup windows shares 2) sparse files |
Date: |
Sat, 21 Jun 2003 20:36:13 -0700 |
>>>>> "SKK" == Stelios K Kyriacou <address@hidden>
>>>>> wrote the following on Sat, 21 Jun 2003 19:23:43 -0400 (EDT)
SKK> either samba or windows2000 give a wrong modif time by 2
SKK> seconds in my experience, either up or down.
...
SKK> address@hidden stat -c%y \
SKK> ConvertedFileList.csv.2003-05-10T01:02:53-04:00.diff.gz\
SKK> ConvertedFileList.csv.2003-05-12T01:02:51-04:00.diff.gz\
SKK> ConvertedFileList.csv.2003-05-13T01:02:54-04:00.diff.gz\
SKK> ConvertedFileList.csv.2003-05-14T01:02:50-04:00.diff.gz\
SKK> ConvertedFileList.csv.2003-05-15T01:03:05-04:00.diff.gz
SKK> Fri Oct 18 13:38:52 2002
SKK> Fri Oct 18 13:38:50 2002
SKK> Fri Oct 18 13:38:52 2002
SKK> Fri Oct 18 13:38:50 2002
SKK> Fri Oct 18 13:38:52 2002
How about when you stat that the original file ConvertedFileList.csv
repeatedly? Do you see the oscillation then? If so, maybe it would
be better to ask the samba people about this. Surely it can't be the
right behavior to return random modification times!
SKK> Both gnu cp and rsync have this functionality. Unfortunately my
SKK> c-programming and python-programming is not so good to try to
SKK> add this feature myself. I was hoping that since rdiff-backup
SKK> was based on rsync libraries it would be easy.
The librsync library that rdiff-backup uses only implements the rsync
algorithm on data streams, so it doesn't do any of the disk IO.
Still, it may not be that hard if I can use the rsync/cp code. I put
it on the TODO list, but my aversion to C will probably prevent me
from implementing this anytime soon...
--
Ben Escoto
pgp96vBiYQMAf.pgp
Description: PGP signature