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
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.