More articles:
2017   2018   2019   2020   2021
2022   2023   2024   

2023-08-14 00:00:00

Security|Technologycloud|file sharing|how-to|install|linux|self-hosting|xbackbone

Fast and easy self-hosted software for cloud file sharing

Here is an excellent open source software package for everyone who wants to self-host a simple file sharing cloud service. Perhaps you need a file sharing system for personal use, for your family or for a small team, but above all, you want a fast and easy to use system that is also easy to set up and manage. The program that matches these requirements is called Xbackbone. Here is how to set it up, and how you might use it.

Before I show you how to install and configure Xbackbone, I should tell what you can do with it, and what it can't do for you.

This is what you can do with Xbackbone:

  • A web browser is the only app you need for uploading and downloading files, and for all other functions. You don't need any additional apps for your phone or tablet, since the browser does it all.
  • Saving files to the cloud server, and downloading them is very fast and easy.
  • Files saved in the cloud can be shared with people who have an account in the system, and also with people who don't have an account.
  • Files can be tagged with keywords automatically and by the user.
  • Files can be searched by name (any characters in the name) and by tags.
  • Common file types can be viewed or listened to without downloading them.
  • Admin can set a maximum disk space that each user can take.
  • You can set a maximum size for uploaded files (in PHP settings).
  • Since it is a self-hosted software, you can adjust the security and privacy of the system. Xbackbone itself has only rudimentary security and privacy features.
  • It is possible to tell Xbackbone to transfer files to an external cloud storage, like AWS S3 or Google Cloud, but I haven't tried this because I wanted to store the files on a server that I can control.

You can't do this:

  • There are no folders or sub-folders in Xbackbone. Tags are the method to organize and find files.
  • It is not possible to search files by date. Files can, however, be sorted by date, name, or size.
  • Admin can see and access all files saved by users, so users should not upload sensitive data if it is not meant to be seen by other people. Users can't see other users' files.
  • Xbackbone is not an archive or backup for your files. Rather, it is a fast and easy way to transfer files to other people and to other devices you may have.
xbackbone open source software for file sharing, screen capture

How to install Xbackbone

You need the following resources for setting up your cloud file sharing service with Xbackbone:

  • A computer that can be accessed from the internet (unless you only access it in the same physical network where you are, like at home or in the office.) An easy solution is to subscribe to a low cost hosting service that lets you install your own software on the server.
  • Web server software, like Apache or Nginx.
  • Mysql/Mariadb or SQLite database software.
  • PHP 7.3 or higher with PHP modules php-sqlite3 or php-mysql, php-gd, php-json json, php-intl, php-fileinfo and php-zip.

I installed Xbackbone on a server running on Debian 12 Linux, Apache 2.4, Mariadb, and PHP 8.2 without problems. Looking at the requirements, Xbackbone should run on MacOS and Windows as well.

All set? Let's install Xbackbone (this guide is based on Debian 12, Apache 2.4, Mariadb, PHP 8.2 system). The developer's installation guide is here.

  1. Assuming you have all the required components (web server, database, PHP) ready, go to Github and download the latest release.
  2. Under the title Assets, select the release-version-number.zip (in my case, release-v3.6.3.zip).
  3. Move the downloaded zip file to the computer where you will run the cloud service. Unzip the package into a directory that the web server can access. For instance, the default directory for Apache is often /var/www/html. If you create a directory called xbackbone under html, you can later access it like so: https://your-domainname/xbackbone
  4. If you are using Mysql or Mariadb, you have to create a database for Xbackbone. Using the command line, login to the Mysql/Mariadb system as the database root user (mysql -u root_username -p), create a new database (create database database_name;), create a user for the database (create user 'user_name'@'localhost' identified by 'password';), and grant access rights for the user to the new database (grant all privileges on 'database_name'.* to 'user_name'@'localhost';).
  5. Next, let's ensure the installed program can access directories it needs during the installation and run time (this concerns Linux and MacOS, not Windows).
  • under directory xbackbone/resources, the web server must have write rights to three directories: cache, database and sessions. An easy way to do it is to type on the command line:
    chown www-data cache (and the same to the database and sessions)
    Here, www-data is the username of the Apache web server. It may be something else for other web servers.
  • the installation program that will be run next must be able to write to the xbackbone directory:
    chown www-data xbackbone
  • the run time program wants to write log files under the xbackbone/logs directory:
    chown www-data logs

Now, we are ready to run the Xbackbone final setup:

  • Point your browser to https://your-domainname/xbackbone
  • The setup page should appear. Enter the database name, database user name and password that you created earlier.

If everything was correctly set up, login to the system using the default admin account: admin / and the same for password. The home page will appear. Obviously, the first thing to do is to change the admin password.

Problems with installation?

xbackbone on a phone, screen shot
Xbackbone file list on a phone.

A few things to check:

  • Double-check that the web server (e.g. www-data for Apache) is allowed to write to the directories mentioned above.
  • Check that all the additional PHP modules listed earlier have been installed.
  • Ensure the web server is allowed to run commands specified in the .htaccess file. To enable it for Apache, run the following command on the command line: a2enmod rewrite
  • Restart the web server if you made any of the changes mentioned (on Linux: systemctl restart apache2).
  • You may also verify that the config.php file has the settings you intended: database, base url and path.

How to increase the upload file size

The maximum file size for file uploads must be changed in PHP settings.

  1. Find the file PHP.ini in your system (for instance, for Debian with Apache it is: /etc/php/n.n/apache2/php.ini).
  2. The default max size is often only 2 MB. Find the line
    upload_max_filesize =
  3. And change it to your liking, for instance, 100MB would be:
    upload_max_filesize = 100M

The use case for Xbackbone

I use Xbackbone for transferring files between laptops, phones, and tablets. I also share files with people I work with and with friends. For some of them I have created accounts so they can upload files our colleagues and friends need.

I stopped relying on Google Drive, Microsoft Onedrive, Dropbox and similar services years ago for privacy reasons and after being locked out from my account a couple of times while travelling. Self-hosting a file sharing service was a decision that has caused a little extra work because I have used software like Nextcloud, Filerun and Seafile, but upgrading these software packages proved to be too troublesome. Also these programs ran into problems when the server operating system had to be upgraded. So, I have given up on them.

Xbackbone file sharing system is not an archive for all the important files, but a fast and easy way to transfer files between mobile devices, computers and people who need the files.

Ancient architecture featuring cables for modern life

2026-03-10 17:33:48

Ancient architecture featuring cables for modern life


News

2026-03-08 15:48:00

A perfectly reasonable question for a traveler to ask is: now, where are the countries that are safe to visit? Here is a ranking for the countries that are stable without serious conflicts that could threaten residents or tourists. #travel #safety .https://klaava.com/where-are-the-safest-countries-in-the-world/


Cafeteria.

2026-03-06 17:21:27

arihak

Cafeteria.


News

2026-02-24 17:17:00

In 2025, the world traveled more than the year before pandemic. Which regions did tourists visit? #travel .https://klaava.com/where-did-the-world-travel-in-2025-and-which-regions-lost-or-gained-visitors/


Traffic jam on a road in the fruit farm district.

2026-02-21 17:50:44

arihak

Traffic jam on a road in the fruit farm district.


News

2026-02-08 15:26:00

As a whole, it was a delightful trip to the visitor-friendly city. Here are the highlights of the Montpellier city center. #travel #Europe #Francehttps://klaava.com/city-break-in-the-pretty-and-friendly-montpellier-in-southern-france/


News

2026-01-27 15:27:00

Judged anonymously by an international panel, the 2025 TPOTY shortlist was selected from more than 20,000 entries across 160 countries, making this one of the most competitive #travel #photography competitions in the world.https://www.digitalcameraworld.com/photography/awards-and-competitions/the-worlds-best-travel-photographs-are-crowned-and-the-winning-images-are-simply-stunning


News

2026-01-22 17:33:00

A survey revealed the level of trust people have in their fellow citizens in 90 countries across the world. Here is the top 50 countries where people trust in other people the most. #travel #safety .https://klaava.com/when-traveling-do-you-trust-people-overseas-here-is-how-much-locals-across-the-world-trust-their-fellow-citizens/


Evening in the historic center of Montpellier.

2026-01-21 16:00:50

arihak

Evening in the historic center of Montpellier.


News

2026-01-08 15:26:00

While residents’ concern about masstourism in some countries in #Europe is real, where do Europeans themselves #travel when they want to enjoy a week-long break? .https://klaava.com/where-europeans-like-to-travel-for-one-week-holiday-in-the-eu-region/


Statues guarding a castle in Copenhagen.

2026-01-07 17:08:46

Statues guarding a castle in Copenhagen.


Wide open Atlantic Ocean

2026-01-04 12:50:32

arihak

Wide open Atlantic Ocean


News

2025-12-26 14:41:00

If we look at the millions of tourists who will travel somewhere they haven’t visited before, we can discover trends that are gradually changing how and where we travel. Here is our take on #travel #trends for #2026 .https://klaava.com/travel-trends-2026-road-trips-calm-and-quiet-ai-assistants-and-popular-culture/


Just in case you forgot to bring your own #book to the port

2025-12-24 17:12:21

arihak

Just in case you forgot to bring your own#book to the port


News

2025-12-24 08:24:00

I downloaded a #phone app with a “zero-processing” feature that claimed to take photos without any software alterations. When comparing the photos my phone #camera takes automatically to the photos taken with this app, the results were shocking. #photography .https://www.theguardian.com/commentisfree/2025/dec/23/smartphones-photos-filters-pictures-software


News

2025-12-16 08:59:00

9 professional #cyclists produced enough power on pedals for an ultralight airplane to take off in Mallorca.https://elpais.com/deportes/ciclismo/2025-12-15/las-alas-de-red-bull-como-nueve-ciclistas-despegan-un-ultraligero-con-sus-pedales.html


News

2025-12-11 16:33:00

Person of the Year focuses world’s attention on the people that shape our lives, TIME editor-in-chief Sam Jacobs wrote. “this year, no one had a greater impact than the individuals who imagined, designed, and built #AI.”--- ok, but is the Editor a person or AI?https://www.euronews.com/culture/2025/12/11/time-person-of-the-year-2025-announced-the-architects-of-ai


News

2025-12-10 08:31:00

Here is the index for the top 30 cities in the world for moving around on a #bicycle. #travel .https://klaava.com/if-you-like-to-explore-cities-you-visit-by-bicycle-here-are-the-best-destinations/


Nice quiet morning, but do scooter manufacturers know about electric vehicles?

2025-12-04 17:49:27

arihak

Nice quiet morning, but do scooter manufacturers know about electric vehicles?


News

2025-12-04 16:40:00

Data from the world's leading hotel groups, travel firms and trend forecasters suggests that 2026 will be the year of quiet escapes, algorithm-shaped itineraries, ultra-personalised retreats and a return to slower, more intentional #travel.https://www.bbc.com/travel/article/20251201-seven-travel-trends-that-will-define-2026


More articles:
2017   2018   2019   2020   2021
2022   2023   2024