I am trying to backup several files with rsync, most of them work, except the files which are actually truecrypt encrypted containers. I have a hidden volume within the files, and I wonder if this is the problem.

I understand the point of a truecrypt hidden volume is that it should not be able to be detected, but I took this to mean it is indistinguishable from garbage/random data.

However, when I make changes by placing new files in the hidden volume in the file container, rsync does not detect that the file has changed.



TrueCrypt not change file timestamps and size.

  • touch -m container
  • rsync -c ....

man rsync:

-c, --checksum              skip based on checksum, not mod-time & size
  • 1
    I really would prefer the touch method as otherwise rsync has to read every file for checksumming just to catch the one TC container.
    – Sven
    Jan 27 '11 at 18:00

I guess that TC makes sure that changes to the file doesn't modify the file times, so you must either touch the file or tell rsync to use checksums to determine what to back up.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.