This is my project presented in a video:
http://youtu.be/uc51FGhiGKE
-
- Posts: 3
- Joined: Fri Jun 20, 2014 7:20 am
Re: Replacing Dropbox and using RPi as a Backup device
Were you successful? Can you say a few details? Thanks.
strive be kind
-
- Posts: 3
- Joined: Fri Jun 20, 2014 7:20 am
Re: Replacing Dropbox and using RPi as a Backup device
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).

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).