centreon / centreon-ha

Apache License 2.0
1 stars 1 forks source link

(enh): use checksum in sync-big-db #39

Open pkriko opened 2 years ago

pkriko commented 2 years ago

To avoid the synchronization of corrupted files or to synchronize everything, we need to use the checksum to only synchronize the necessary files.

omercier commented 2 years ago

I confirm it would be nice doing so, rsync offiers this option:

 -c, --checksum              skip based on checksum, not mod-time & size

It needs to be benchmarked on big files.