datroubler
Posts: 3
Joined: Fri Jun 20, 2014 7:20 am

Replacing Dropbox and using RPi as a Backup device

Fri Jun 20, 2014 7:27 am

This is my project presented in a video:

http://youtu.be/uc51FGhiGKE

User avatar
toad
Posts: 11
Joined: Thu Jun 19, 2014 1:27 am
Location: Canada now

Re: Replacing Dropbox and using RPi as a Backup device

Sat Jun 21, 2014 9:55 pm

Were you successful? Can you say a few details? Thanks.
strive be kind

datroubler
Posts: 3
Joined: Fri Jun 20, 2014 7:20 am

Re: Replacing Dropbox and using RPi as a Backup device

Mon Jun 23, 2014 6:05 am

Yes it is running :)
Details:
I created an rsync script which is triggered every 5 minutes (cron) which checks if new files are in the specified folders and transfers them to hidrive. The cronjob is creating a "lock" file which is checked by this job and if this file exists (this means the job is running) no second job is started.
I tried to limit the bandwith used by rsync for the upload by using the priority rules in my Fritz!Box but this isn't working at all (seems that my ISP is blocking this feature). So I had to limit the bandwith with rsync to 100kb/s (my connection has 250kb/s).
I also use the RPi as a media center so I had to make sure that btsync and rsync doesn't consume to much power. I increased the nice value for both processes to 10.
HiDrive makes (like dropbox) a history of the files and btsync keeps deleted files in a seperete folder (which I ignored for rsync).

Return to “Networking and servers”