Solved

Truecrypt with Dropbox Automation ?

Posted on 2010-11-08
7
1,112 Views
Last Modified: 2012-05-10
Hello Gurus,

Im being using Dropbox for some while now and I must say that I am really happy about it and I feel "secure" about my data being accessible without having to back it up...

But my concern is security and privacy.. Ive been reading about it and it seems that the combination truecrypt+dropbox is great since dropbox works on a byte diff sync so he doesn't upload the whole file again and again !!!
I tried it and created a truecrypt volume with 75Mb (for testing). the first time it took over 1 hour to sync. ( we have slow connection).
then when it was done..I opened that volume and added a small file (around 500k).
when I closed the volume I noticed that within 1-2 minutes the dropbox had finished.. So I am assuming that it works. !!! your comments are more than welcome here...

Now to my real problem...
Since using truecrypt is the solution ... I need to be able to automate it...
So what I need is a script that would open that truecrypt volume... mount it and copy the appropriate files to it and then close and dismount the volume so that the syncing can occur.

any idea how I can do this ?

thanks

Pierre Ammoun\
0
Comment
Question by:ammounpierre
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 27

Expert Comment

by:Tolomir
ID: 34092249
Well you need a batchjob for that.

See also http://www.truecrypt.org/docs/?s=command-line-usage

Of cause you have to modify

driverletter "x"
archive file "C:\myData.tc"
source folder: "C:\My Project"
password: password

Tolomir
0
 
LVL 27

Expert Comment

by:Tolomir
ID: 34092265
you can use any other command line sync tool. For parameters use

xcopy /? on command line
0
 

Author Comment

by:ammounpierre
ID: 34092922
If I am to automate this , this is what I would need

1-Mount the volume using the proper command.

2-before copying the files (I would rather use robocopy) I need to make sure that the volume was mounted... How Can I check for that ?
Maybe look for a specific file in that volume ?

If exist % FILE... then proceed else ..error

please help
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 27

Expert Comment

by:Tolomir
ID: 34093340
you could use the "pause" command in the batchfile.

Robocopy is fine, using the parameter /MIR will mirror source and target.

---
Just seeing the original code is gone...

Tolomir

echo off
truecrypt /v myvolume.tc /lx /a /p MyPassword /q
if not exist x:\donotdelete.txt goto close
pause
robocopy C:\source X:\mirror /MIR
echo Transfer done
pause
truecrypt /q /dx 
:close

Open in new window

0
 
LVL 2

Expert Comment

by:furball4
ID: 34171547
You might want to do some more testing to make sure that Dropbox always identifies file changes in the TC file. I had a 4GB TC file and, while I didn't try it with Dropbox, my backup provider Backblaze didn't appear to notice certain small changes.
0
 
LVL 27

Accepted Solution

by:
Tolomir earned 500 total points
ID: 34171682
See: Dropbox will always notice when anything has changed inside your Truecrypt file. Dropbox uses the same mechanisms as for any other file. The same advantages of byte-level synchronization apply.

http://forums.dropbox.com/topic.php?id=5760

Tolomir
0
 
LVL 2

Expert Comment

by:furball4
ID: 34173973
Makes sense.
0

Featured Post

Is your NGFW recommended by NSS Labs?

Ours is! NSS Labs Next Generation Firewall Test gives the WatchGuard Firebox M4600 a "Recommended" rating! Curious where your NGFW landed on the  Security Value Map? See the map and download the full report today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of you may be aware of the recent Google Docs scam emails that have been floating around coming from various people that you know. Here's a guide on identifying How To Identify the Scam Email You will see an email from someone you’ve had co…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question