Two awsome things were released yesterday :
- bittorrent sync aka btsync
- backupsy
Compare this to the pricing of : dropbox pro
Let's pick the familly pictures as an example use case :
- I want all my pictures to be hosted backed up in the cloud in case something happens to this laptop.
- I want to share a pictures folder with my sister.
- you pick a folder
- you set a secret key for the folder
- you either generate it with btscyn
- you either paste in a self generated key e.g. longer*
- on another box : provided you have the key and btsync : you can sync the folder to any local folder
# *example to generate a longer secure key
for i in {1..5}; do wget -qO- 'http://www.random.org/cgi-bin/randbyte?nbytes=54&format=f' - |\
base64 | tr -d [:space:] ; done ;
- go to http://labs.bittorrent.com/experiments/sync.html
- click download, then download for windows
- next, next, done : btsync should be in the tray
- let's open it
- in the preference tab : let's change the device name
- in the share folders tab : press "add"
- you set the key (note atm : the ui only let you set a custom longer secret here)
cd /usr/local/src/ # folder
wget http://btsync.s3-website-us-east-1.amazonaws.com/btsync_x64.tar.gz # download it
apt-get install -y atool # install archive extractor
aunpack btsync_x64.tar.gz # unarchive
ln -s `readlink -f btsync` /usr/bin # system wide install
btsync --dump-sample-config > /etc/btsync.conf.json # generate config file
vim /etc/btsync.conf.json i # start editing config
change these fields :
"device_name"
"webui"
"listen"
change the port only"login"
"password"
additionally comment or modifiy :
"storage_path" : "/home/user/.sync",
btsync --config /etc/btsync.conf.json
open a web browser @ vps_ipadress
:port
Afer logging in : you can easily :
- add folder
- set key
- select folder
If you're running Debian or Ubuntu on the VPS then you can add the BitSync repo and apt-get install.