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.

In Austria along the Donau river

2026-08-28 16:34:23

In Austria along the Donau river


News

2026-08-21 17:14:00

Planning an autumn #roadtrip in #Europe (this photo was taken in central Spain).flic.kr/p/2svseMchttps://flic.kr/p/2svseMc


Evening sun at the Pyrenees.

2026-08-19 17:29:22

arihak

Evening sun at the Pyrenees.


News

2026-08-19 16:25:00

Why today 2026-08-19 is the World #Photography Day ?https://www.worldphoto.org/blogs/19-08-26/200-years-photography-timeline-c-182627-202627-world-photography-day


News

2026-08-08 12:47:00

Are there any statistics to prove my notion that new charging stations are popping up in Europe like mushrooms in the autumn? Sure, #EV #charging #roadtrip #Europe .https://klaava.com/charging-an-ev-on-a-road-trip-in-europe/


A village was left below the water when a dam was built here

2026-08-06 13:45:39

A village was left below the water when a dam was built here


News

2026-08-05 14:24:00

The world's first smartphone was available six years before the iPhone.https://www.digitalcameraworld.com/tech/phones/travel-back-to-2001-and-the-dawn-of-the-camera-phone


News

2026-07-29 10:24:00

Designers and eyewear companies are creating “anti-facial recognition” glasses in response to growing interest from customers who want to limit AI #camera biometric tracking and prevent facial recognition software from collecting their data. #privacy .https://petapixel.com/2026/07/23/these-anti-facial-recognition-glasses-block-surveillance-cameras/


News

2026-07-24 09:06:00

The biggest difference comes when you look at what you “own” and what is “protected.” In other words, when you upload your work on these portals, you share your license to use these photos in a number of ways. #photography #copyright .https://www.thephoblographer.com/2026/07/23/does-any-social-media-platform-actually-protect-your-photos/


News

2026-07-22 12:42:00

For the rest of us who like to enjoy good food and wine while traveling in #Europe we have the ranking of top 7 cities for food, and the best wine regions as assessed in 2026. #travel #food #wine .https://klaava.com/the-best-cities-in-europe-for-enjoying-food-and-wine/


Las Medulas mountain in Ponferrada, Spain has sharp teeth.

2026-07-20 11:08:46

arihak

Las Medulas mountain in Ponferrada, Spain has sharp teeth.


News

2026-06-21 08:01:00

When Icelandair launched a competition to find "a really bad #photographer", you might have rolled your eyes. But having looked through the winning pictures from Blanche Mortemard's portfolio, I think we can actually learn something.https://www.digitalcameraworld.com/photography/awards-and-competitions/shot-by-winner-of-worst-photographer-contest-what-these-travel-pictures-actually-prove-is-that-good-photography-isnt-the-same-as-technical-skill


Why not? A cafe inside a roundabout. Vilnius, Lithuania.

2026-06-15 11:30:30

arihak

Why not? A cafe inside a roundabout. Vilnius, Lithuania.


News

2026-06-07 14:24:00

Camera technology has come a long way in 96 years – but the subject, moment and composition of these World Cup photographs haven’t aged a day. #photographyhttps://www.digitalcameraworld.com/photography/sports-photography/these-photos-of-the-very-first-fifa-world-cup-final-are-surprisingly-good-considering-they-were-taken-on-100-year-old-cameras


Interesting shop, but probably won't be open any time soon. #antiques #France

2026-05-24 15:13:05

arihak

Interesting shop, but probably won't be open any time soon.#antiques#France


News

2026-05-19 18:43:00

The #EU Passenger Package proposal aims at allowing travelers to book a single ticket for a cross-border #train journey that may include multiple rail operators. .https://klaava.com/major-improvement-for-train-passengers-planned-in-europe-single-tickets-for-cross-border-travel/


Going down. #roadrip .

2026-05-11 17:28:53

arihak

Going down.#roadrip .


News

2026-04-29 10:04:00

Long, heavy trucks sped across villages faster than any Tesla or Toyota driver would dare. Dangerous speeding on highways and national roads was frequent. At times, it seemed that traffic rules didn’t exist in ... #roadtrip #Europe .https://klaava.com/the-safest-countries-for-a-road-trip-in-europe/


Fallas in Valencia.

2026-04-22 12:55:41

Fallas in Valencia.


Guarding the house.

2026-04-17 17:22:03

arihak

Guarding the house.


More articles:
2017   2018   2019   2020   2021
2022   2023   2024