I’ve already blogged about scheduling daily backups of changed files to cloud storage. Well, that’s fine but what if you want the added security of encrypting the files before you upload them? Well I’ve found a couple of ways to add client-side encryption to the backup process, just in case you are uneasy about sending unencrypted files to the cloud. I read a post about Cloudfogger on the tech blog Instant Fundas. Cloudfogger adds a virtual X: drive to your PC where your changed/new documents are passed to first. Cloudfogger then encrypts the files using AES 256 bit encryption and sends them to your nominated drop folder on your PC. From there, the encrypted files are synced to your cloud storage. In my case, the CX Sync folder mentioned in my earlier post is my drop folder syncing to CX in the cloud, but you could just as easily use Dropbox or Microsoft SkyDrive as your drop folder.
So instead of backing up changed/new files to the CX-Sync folder as in the earlier post, you now backup to the virtual X: drive instead. Here’s an example batch file:
echo Encrypted daily files to CX
Robocopy “c:\Users\<user name>\Documents” X:\ /MAXAGE:1 /S
echo Backup complete
The changed files are thus copied to the X: drive by this simple batch file, then encrypted and passed to your nominated drop folder:
The encrypted files in your drop folder are then synced to your cloud storage.
One drawback of this automatic approach is that everything is sent to the same drop folder and thus sent on to the same online storage provider. Suppose you wanted to send different encrypted files to different cloud storage providers? Well, you could use a second encryption app like SecretSync to pass other encrypted files to a second drop folder and then on to a different cloud storage provider. And you could set it all up as a second scheduled task, just as I’ve outlined in the earlier post.
So now all your daily data is secure in the cloud using a simple batch file and Cloudfogger together with a cloud storage provider like CX, Dropbox or Microsoft SkyDrive.