[CentOS] Rsync and differential Backups

Arun Khan knura9 at gmail.com
Wed Nov 11 06:21:23 UTC 2015


On Wed, Nov 11, 2015 at 5:08 AM, J Martin Rushton
<martinrushton56 at btinternet.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/11/15 21:05, Gordon Messmer wrote:
>> On 11/10/2015 12:16 PM, Warren Young wrote:
>>>
>>> Well, be fair, rsync can also miss files if files are changing
>>> while the backup occurs.  Once rsync has passed through a given
>>> section of the tree, it will not see any subsequent changes.
>>
>> I think you miss my meaning.  Consider this sequence of events:
>>
>> * "find" begins and processes dirA and then dirB * another
>> application writes files in dirA * "find" completes * a new
>> timestamp file is written
>>
>> Now, the new file in dirA wasn't seen by find during this run, and
>> it won't be seen on the next run either.  That's what I mean by
>> missed. Not temporarily missed, but permanently.  That file won't
>> ever be backed up in this very naïve process.
>
> That's plain bad system analysis.  Read the start date, record the
> current date and THEN start processing.  You will get the odd extra
> file but will not loose any.
>

Heartily agree.  I was about to post my response but saw yours.

Cheers,
-- Arun Khan



More information about the CentOS mailing list