Have your F/OSS Home Cloud

Syncthing

Yes,Syncthing will handdle the syncing part.

FileBrowser

And FileBrowser will allow us to have an UI, with different users and permisions that can upload/download files.

Why a DBLess Cloud?

There are F/OSS Cloud alternatives which are great, like Nextcloud.

The cool thing about this solution with Syncthing and FileBrowser, is that we dont have a Database at all.

So the solution is much more efficient and resilient to failure.

Just make sure to backup the real data you care about and forget about that SQL DB.

Creating your F/OSS Cloud

Pre-Requisites!! Just Get Docker 🐋

Important step and quite recommended for any SelfHosting Project - Get Docker Installed

It will be one command, this one, if you are in Linux:

apt-get update && sudo apt-get upgrade && curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh && docker version

SelfHosting your Cloud with Docker

We just need this Docker-compose to deploy both services:

---
version: "2.1"
services:
  syncthing:
    image: syncthing/syncthing #ghcr.io/linuxserver/syncthing
    container_name: syncthing
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Rome
    volumes:
      - /home/Docker/Syncthing/config:/config
      - ~/user/Sync-Folder-Data:/data1
      - /media/user/TOSHIBA\ EXT/A-SYNC-CLOUD:/data2 #You can add more than one folder, even if different disk
      #- "C:\\DOCKER\\Syncthing\\config:/config" #Example for Windows
      #- "D:\\Z_Sync:/dataD" ##Example for Windows
    ports:
      - 8384:8384
      - 22000:22000/tcp
      - 22000:22000/udp
      - 21027:21027/udp
    restart: unless-stopped

  filebrowser:
    image: filebrowser/filebrowser
    container_name: filebrowser
    ports:
      - 8080:80
    volumes:
      - /home/Docker/FileBrowser/config:/config
      - /home/Docker/FileBrowser/data:/srv
    restart: unless-stopped    

Now access your Syncthing at localhost:8384 and FileBrowser UI at localhost:8080

The default user/pass for FileBrowser are: admin/admin - Make sure to change them!

Message after successfully creating Matrix Server Configuration

Feel free to adapt the ports and the Data Paths are you need.


FAQ

How to backup data?

3-2-1

How does this solution replaces Google Photos?

You can use it together with F/OSS photo services like:

Other F/OSS Backup solutions

How to Detect Duplicates files in the system

https://www.linuxfordevices.com/tutorials/linux/install-use-czkawka

F/OSS WebDavs

WebDAV (Web Distributed Authoring and Versioning) is a protocol that allows users to create, change, and move documents on a server, typically a web server. It’s an extension of the HTTP protocol that makes the web a readable and writable medium.

WebDAV (Web Distributed Authoring and Versioning) is a protocol that allows users to create, change, and move documents on a server, typically a web server. It’s an extension of the HTTP protocol that makes the web a readable and writable medium. It supports locking (conflict management), making it useful for collaborative applications. Open source WebDAV servers provide a way to share and edit files over the internet with versioning and support for various clients, including web browsers, operating systems, and specialized WebDAV clients. Here are some notable open source WebDAV servers:

  1. Apache HTTP Server with mod_dav
  2. Sabre/dav
  3. Nextcloud
  4. Caddy Server - Caddy is a modern, go-lang based web server with automatic HTTPS among its many features. It can be extended with plugins, one of which adds WebDAV functionality.