I'm working on a backupservice. It looks now at the stat attributes st.st_{mtim,ctim,size} and compares those with the backupversion. If one of those differs, the whole file is being written to the backuplocation.
It works over the network, I'm therefore looking for a more efficient method. Better would be only send the part over the network which has been changed.
fanotify under Linux offers some functionality to get info when someone is writing to a file, but not the size and the offset. Anyone knows it's possible, or is this something what should be added to fanotify?
Comments
Post a Comment