Backup of Truecrypt Folder

I have a Truecrypt volume with about 1 gig of space I use for storage of personal items, financials etc. I store my finance program file in here as another layer of safety.

My question, what is the best way to automate the backup of the content in this volume without having to manually mount or backup the entire 1 gig just to backup a one or two files that may change in the time frame from one backup to another.

I have been doing manual backups thus far, looking for an automated approach if possible. I have read the Truecrypt notes and searched online, but nothing stands out other than manual approaches.

Posted Jul 23, 2013, 7:05 PM UTC

37
Schmeidenbacher•

Well, in theory you can use a shell script. But if you do that, you'll have to either give the positon of the keyfile, or the passphrase itself away. Depends on how you secured your container.

You can store those in places unreachable by other users, it's still a risk. It now depends on how many users have access to that machine and if it's protected by other security measures.

Also: Where does the backup go to? Another truecrypt container on another machine? That adds a whole new level of complexity. Not undoable, still risky.

1
sharkwouter•

This might sound strange, but you could actually use Dropbox for it. If you have a strong password it's impossible to decrypt it anyway.

1
Schmeidenbacher•

I would recommend that too, if he hadn't stated that he only wants to backup the changed files.

I don't know how well dropbox does delta backups of what technically is a gigabyte sized binary file.

1
Orbmiser•

Wouldn't just unmount the volume and backup as a file to external,dropbox,etc..?

My truecrypt containers are just files when not mounted.

I can copy backup as regular files. Tho don't think you can do incremental backup of the file? Truecrypt not mounted is a special file tho and no program can write or change that file as it is encrypted.

And for security safety don't think I would leave them mounted all the time anyways. I just back them up unmounted once a week or month and let the normal backup strategies back it up as a file.

Your case just don't see how as you change a file then container gets unmounted. And it would then do an incremental would be against the self-contained nature of a truecrypt container.

After that anything trying to write to it would corrupt the container. .

1
bd_manOP•

Sounding like what I have read stands true, the only way is to back up the entire volume. I do mount and unmount as needed to use the info inside, it resides on server under my user name. Currently I am running a full back up of the volume daily to external drive, Yes unmounted, and this does work. Would be nice to backup only changes to save drive space.

1
Orbmiser•

Well you can overwrite the old copy no extra hd space needed.

Whatever I back up only keep one older iteration and not whole group of older ones.

The way I do it my containers are already on external usb drive.

When done they are unmounted then my normal backup can copy it to another usb drive. Replacing the older file. That way I never need multiple copies running on cross-platform OS'es. As I dual boot with Win7 and network with Tablet and laptop. That way all my devices have access to latest container.

Without the need to boot up to linux to mount and access. .

1
bd_manOP•

The real end goal was wanting to process only the changed files so that I could automate an off site backup during the night and save sending the whole volume. I'll change my approach and make a smaller volume for this one file that changes daily.

1