Re: [Hampshire] An interesting rsync problem

Top Page

Reply to this message
Author: cjl
Date:  
To: hampshire
Subject: Re: [Hampshire] An interesting rsync problem
Quoting Rob Malpass <linux@???>:

> Hi all
>
>
>
> This may or may not be of interest to rsync fans (and by the way many many
> thanks for all of your help the other week). Here's the situation..
>
>
>
> One of the files I want to backup is an rsync container. As it's a
> container, its' file size is always 100Gb exactly and (I've just checked)
> that its' date stamp remains the date I physically moved it from its'
> previous home to my new server - despite the fact the contents have changed
> daily since then. So if (as according to rsync's man page) the algorithm
> checks for a change in file size or date stamp - it will determine this file
> doesn't need attention. Anybody know of a way to bypass this and force it
> to copy the file every time?


So, I'll ignore the grammar lessons - others would seem to have that in
hand....


One option would be:
"-c, --checksum"

But that would likely be extremely slow on a file of that size.

If it were me, I would just "touch" the file after every rsync, so the
next rsync would see it as changed.

Chris


--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------