BitTorrent Sync: Painless File Syncing without the Cloud
Productivity Sauce
Cloud-based file syncing services are a dime a dozen nowadays. Most of them store copies of your data on remote servers and charge for storage space. This approach has two major drawbacks: you have to entrust your data to a third-party service, and the more storage you need, the more you have to pay. The recently released BitTorrent Sync tool offers an alternative solution that solves these problems. Instead of relying on a central server for storing files and syncing them between multiple machines, BitTorrent Sync uses a peer-to-peer protocol to keep files in sync across multiple machines. This is a brilliant solution, indeed. You don't need to run a dedicated synchronization server, there is no storage limit, and all your data stays on your machines. Better still, BitTorrent Sync encrypts all the traffic to keep your data safe.
Deploying BitTorrent on Linux is as easy as pie. Grab the appropriate version of the tool from the project's website, unpack the downloaded archive, and move the btsync executable binary to the directory of your choice. Run then BitTorrent Sync using the ./btsync command. Point then your browser to 127.0.0.1:8888/gui to access BitTorrent Sync's web interface. Here, you can add the folders you want to keep in sync. When adding a folder, you have to create a secret, a randomly generated 21-byte key. This secret is used to link folders between multiple machines.
While you can use the ./btsync command to run BitTorrent Sync with default settings, this is not always a good idea, as this leaves the web interface unprotected. The solution is to create a configuration file and point BitTorrent Sync to it. To view a sample configuration, run the ./btsync --dump-samle-config command. You can use the sample as a starting point for your own configuration file. Here is what my configuration file looks like:
{ "check_for_updates" : true, "download_limit" : 0, "upload_limit" : 0, "webui" : { "listen" : "0.0.0.0:8888", "login" : "username", "password" : "password" } }
To start BitTorrent Sync with a custom configuration file, use the ./btsync --config /path/to/btsync.conf command (replace /path/to/btsync.conf with the actual path to the configuration file).
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.