(fwd from kladit@t-online.de) files of length zero

2003-03-11 Thread Martin Pool
- Forwarded message from Klaus Dittrich [EMAIL PROTECTED] -

From: [EMAIL PROTECTED] (Klaus Dittrich)
Subject: files of length zero
Date: Tue, 11 Mar 2003 17:08:47 +0100
To: [EMAIL PROTECTED]
User-Agent: Mutt/1.4i
X-Bogosity: No, tests=bogofilter, spamicity=0.00, version=0.10.2

Hi Martin,

MS-Windows users here sometimes make the expierience to become files of 
length zero when something on windows crashes. 

They often have many files open and after a crash they don't realize
that parts of their work gots lost.

Nightly a backup-server using rsync, copies those zero length files
and thereby destroyes their files backed up the day before by 
makeing it zero length too.

Can you build in an option to rsync that handles files of length zero
the same way as deleted ones, so preserving the old file ?

--
Regards Klaus

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


Re: (fwd from kladit@t-online.de) files of length zero

2003-03-11 Thread jw schultz
On Wed, Mar 12, 2003 at 11:28:39AM +1100, Martin Pool wrote:
 - Forwarded message from Klaus Dittrich [EMAIL PROTECTED] -
 
 From: [EMAIL PROTECTED] (Klaus Dittrich)
 Subject: files of length zero
 Date: Tue, 11 Mar 2003 17:08:47 +0100
 To: [EMAIL PROTECTED]
 User-Agent: Mutt/1.4i
 X-Bogosity: No, tests=bogofilter, spamicity=0.00, version=0.10.2
 
 Hi Martin,
 
 MS-Windows users here sometimes make the expierience to become files of 
 length zero when something on windows crashes. 
 
 They often have many files open and after a crash they don't realize
 that parts of their work gots lost.
 
 Nightly a backup-server using rsync, copies those zero length files
 and thereby destroyes their files backed up the day before by 
 makeing it zero length too.
 
 Can you build in an option to rsync that handles files of length zero
 the same way as deleted ones, so preserving the old file ?

Typical problem of single backup image.  By using the
--link-dest option to have multiple linked images it would
be possible for him to not only recover from this.

Divrish does this as could the rotating snapshot backups in
resources.

One thing he might consider also would be to automatically
find and restore these files before running the backups.
That might make his windows victims even happier.


-- 

J.W. SchultzPegasystems Technologies
email address:  [EMAIL PROTECTED]

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