Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

Ideas?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

TrueCrypt not change file timestamps and size.

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

man rsync:

-c, --checksum              skip based on checksum, not mod-time & size
share|improve this answer
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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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