Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Running Ubuntu 12.04

I have a library of personal files and documents stored in Dropbox. I want the Dropbox folder to be automatically mirrored to a directory in the local machine, as a backup to the backup. I want it to be done automatically. In other words, each time I add a file/folder to the Dropbpx, that file/folder is copied automatically to the second location on the local drive.

Any ideas, tips or advices would be appreciated.

Best regards

share|improve this question

1 Answer 1

I don't think (or know) how " each time I add a file/folder " could be done easily. But if you are OK with say a once a minute sync, I believe you could put together rsync and cron into a workable solution. I am not sure how efficient rsync is with data on the order of GBs, possibly made mostly of binary data?

A question arises though. If you want to mirror each change immediately, how is that a backup? Wont a mistake/corruption get mirrored instantly as well?

Checkout rdiff-backup if you want a proper backup solution.

But frankly, I would expect your backup drive to fail before dropbox store does.

share|improve this answer
    
That's a good question and didn't think about it! I was thinking of something like a RAID 1 but I think it's not an ideal solution. Any suggestions? –  AmmarSh Jan 24 '13 at 13:58
    
@Latvian with rsync you can restore to specific time (seconds ;) ) so you can revert back to before that mistake :) But I agree: it is NOT a backup. –  Rinzwind Jan 24 '13 at 15:35
1  
@Rinzwind Are you talking about rsync itself or one of its derivatives. Afaik you need something like rdiff-backup to be able to revert. –  Karthik T Jan 25 '13 at 1:00

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.