===========================================
Installation
$ mkdir -p /home/vrangesync
$ cd /home/vrangesync
$ wget "http://www.1range1.com/dl.php?f=vr.tar.xz" -O "vr.tar.xz"
or
$ curl -L "http://www.1range1.com/dl.php?f=vr.tar.xz" -o "vr.tar.xz"
Verify the integrity of the file and make sure it matches with our site before using it.
vr.tar.xz (Size: 6.7M) - 63c32598f963620eae3c0e86b9f799cc (md5sum)
$ md5sum vr.tar.xz
Proceed to unpack the archivefile and set the necessary permission
$ tar xf vr.tar.xz
$ chmod -R 755 vr vrex bin
Install the essential tools
$ ./vr -new
Signup for a free license for your system with an valid email if this is your first time install.
An authcode will send to your email address for verification.
Change 'your@domain.com' to your own email address.
$ ./vr -nec "your@domain.com"
Visit
tutorial & example to understand how to use Vrangesync.
===========================================
Upgrade to the latest version
$ cd /home/vrangesync
$ wget "http://www.1range1.com/dl.php?f=vr.tar.xz" -O "vr.tar.xz"
or
$ curl -L "http://www.1range1.com/dl.php?f=vr.tar.xz" -o "vr.tar.xz"
Verify the integrity of the file and make sure it matches with our site before using it.
vr.tar.xz (Size: 6.7M) - 63c32598f963620eae3c0e86b9f799cc (md5sum)
$ md5sum vr.tar.xz
Remove any existing 'bin' folder
$ rm -rf bin
Proceed to unpack the archivefile and set the necessary permission
$ tar xf vr.tar.xz
$ chmod -R 755 vr vrex bin
Inspect & update the essential tools
$ ./vr -new
===========================================
Howto use the software
For example, copy a single file from '/path/to/src/vm.img' to '/backup/to/dir/'.
$ ./vr -i "/path/to/src/vm.img" -o "/backup/to/dir/"
For example, mirror from '/path/to/src' to '/backup/to/dir'.
$ ./vr -i "/path/to/src" -o "/backup/to/dir"
For more info how to use the software, visit the
example page.
The vrex.log file provide information on the activity.
WARNING: VRangeSync comes with NO WARRANTY, to the extent permitted by law.
It is recommend to run a 'dryrun' to get an overview of new changes first and then sync.
For example:
$ ./vr -i "/path/to/src" -o "/backup/to/dir" --mode "list"
$ ./vr -i "/path/to/src" -o "/backup/to/dir" --mode "sync"
Once you get use to how Vrangesync works, you are safe to use the
--mode "complete" or without
--mode option (it will default to 'complete') to automate the process.
===========================================
Howto - one liner installation
$ wget "http://www.1range1.com/dl.php?f=vr.tar.xz" -O "vr.tar.xz";e=$(md5sum vr.tar.xz|awk '{print $1}');if [ "$e" != "63c32598f963620eae3c0e86b9f799cc" ]; then echo "CRITICAL"; else tar xf vr.tar.xz && chmod -R 755 bin vr vrex && ./vr -new; fi
or
$ curl -L "http://www.1range1.com/dl.php?f=vr.tar.xz" -o "vr.tar.xz";e=$(md5sum vr.tar.xz|awk '{print $1}');if [ "$e" != "63c32598f963620eae3c0e86b9f799cc" ]; then echo "CRITICAL"; else tar xf vr.tar.xz && chmod -R 755 bin vr vrex && ./vr -new; fi
===========================================
Howto - install it system-wide
If you have 'root' priviledge, install it system-wide.
Every user can start vrangesync from anywhere on the same system and get their own vrangesync profile.
$ ln -s "/home/vrangesync/vr" /usr/bin/vr
You can start vrangesync from anywhere
$ cd /tmp
$ vr -i "/path/to/src/vm.img" -o "/backup/to/dir/"