On 2020-05-23 23:47, backu...@kosowsky.org wrote:
Regarding your comment:
However, I don't think it makes sense to
"fix" it, since a backup shouldn't add metadata that changes each time
you
backup some data that hasn't changed.
Actually, the whole point of --ignore-dir-times is that the dir mod
time is not changed each time you rsync.
Behavior is as follows:
1. When created, the mod time is set to 'rsync' run time
2. This mod time is *not* changed on subsequent 'rsyncs' unless a
change to the directory contents occurs in which case the
directory timestamp is updated to the *current* time
Indeed, one reason to use --ignore-dir-times is to avoid changing the
mod time every time the directory mod time changes.
This is different from the absence of --times that changes the mod time
of
files/links/devices to the current time on every rsync since the files
show up as changed (unless you also use --ignore-times)
This behavior can be verified by using rsync.
Also, it can be gleaned from the following pulled from the man pages:
--ignore-dir-times and --omit-dir-times are two different options
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/