Re: rsync as a backup solution

2002-06-05 Thread Ian! D. Allen [NCFreeNet]

Be aware that with any live backup solution your backup directory
may be corrupt in subtle ways.  We've been running rsync for years now
to back up Windows files stored on our Samba server, and we often find
files on the backup destination that have the identical date and time
stamp as the source but different content.

I suspect that, since Unix only records file times to the second (and
Windows only to every two seconds), a file was being changed while rsync
was reading it.  Rsync copied the data from the file and, in the same
second, the user overwrote part of the file with new data.  The result -
two files that have the same size, date, and time but different data.

Unless you call rsync with the --ignore-times option next time, this
error will go undetected by subsequent rsync runs.

-- 
-IAN!  Ian! D. Allen   Ottawa, Ontario, Canada   [EMAIL PROTECTED]
   Home Page on the Ottawa FreeNet: http://www.ncf.ca/~aa610/
   College professor at: http://www.algonquincollege.com/~alleni/
   Board Member, TeleCommunities CANADA  http://www.tc.ca/

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



no error messages on I/O errors

2001-11-03 Thread Ian! D. Allen [NCFreeNet]

rsync-2.4.6-2mdk

I ran an rsync into a file system that filled up.  I got no error message
out of rsync - it just stopped and exited sliently.  I stuck an fprintf
into the receiving code and verified that the proper error was being
generated - it just never gets printed by the rsync sending process.

I submitted a bug report about it; but, I can't believe that other
people haven't had this bite them.

Also, shouldn't rsync continue with the other files that *do* fit into
the destination, rather than dying on the first one that doesn't fit?
Perhaps we need an --ignore-errors-even-further option...

-- 
-IAN!  Ian! D. Allen   Ottawa, Ontario, Canada   [EMAIL PROTECTED]
   Home Page on the Ottawa FreeNet: http://www.ncf.ca/~aa610/
   College professor at: http://www.algonquincollege.com/~alleni/
   Board Member, TeleCommunities CANADA  http://www.tc.ca/