Changes for page FileSync
Last modified by Jan Brinkhaus on 2023/02/03 13:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,97 +1,24 @@ 1 -= Prerequisite:Dockerinstallation =1 += About FileSync = 2 2 3 -FileSync is deployed as docker container. You need a running docker installation for it to be installed. if you setup a new VM for this, we suggest the newest Ubuntu LTS release. 3 +(% class="wikigeneratedid" %) 4 +File sync is a server-side backup software for files from embedded devices. It was from scratch developed to the needs of automatic backups of production data. 4 4 5 - Ifyou already have a server or VM witharunningdocker, justskipthischapter and go on with "Installation".6 += [[image:attach:FileSyncSlide.jpg]] = 6 6 7 -=== Install docker on linux === 8 +(% class="wikigeneratedid" %) 9 +It is thought as bridgehead in firewall designs: you allow this one container (or a VM running it) accesses to your embedded devices, as well as your file backup servers. 8 8 9 -The installation of docker on linux is straightforward. If you Google this topic you will find explanations from the Docker website which invite you to do a manual installation of docker by downloading and installing their actual version. From a technical perspective this is not needed. At least Brinkhaus does not need bleeding edge docker installation. We recommend to just use the docker version which comes from your Linux distribution. 11 +(% class="wikigeneratedid" %) 12 +FileSync afterwards just does its job, as long as the server runs. 10 10 11 -On a typical Ubuntu or Debian you go with 14 +(% class="wikigeneratedid" %) 15 +The software is designed with the word "fail-safe" in mind. The machines carrying the embeddd devices may go offline during the operation as well as the target backups servers may not be reachable. FileSync erreicht dies, indem Daten serverseitig zwischengespeichert werden. Wann immer FileSync ein Embedded-Gerät erreichen kann, werden Daten von ihm gesichert. Wann immer die Backup-Server erreichbar sind, werden Daten dorthin gespeichert. 12 12 13 -{{code language="Shell script"}} 14 -sudo apt install docker-compose 15 -{{/code}} 17 +(% class="wikigeneratedid" %) 18 +Es werden nur Dateien gesichert, die mindestens 60sec nicht verändert wurden. Die Zeitspanne ist in der Konfiguration der Kopierquelle einstellbar. Dateien, deren Größe oder Dateizeit sich in der Backup-Quelle verändert hat, werden erneut kopiert. 16 16 17 -=== Install docker on Windows === 18 18 19 -The installation of docker for Windows is described here: [[https:~~/~~/docs.docker.com/desktop/install/windows-install/>>https://docs.docker.com/desktop/install/windows-install/]] 20 - 21 -= Installation = 22 - 23 -On a computer with Docker, just choose a target directory which fits for your case, deploy our docker-compose file there and start the app. 24 - 25 -{{code language="Shell script"}} 26 -sudo mkdir /var/docker_data 27 -cd /var/docker_data/ 28 -wget https://xwiki.brinkhaus-gmbh.de/bin/download/Product%20support/FileSync/WebHome/docker-compose.yml?rev=1.1 29 -sudo docker login registry.gitlab.com/v2/b3935 -u datastore-dl -p glpat-S9xzXzoUxuxGboW53r2x 30 - 31 -sudo docker-compose up 32 -{{/code}} 33 - 34 -You are after 35 - 36 - 37 -sudo mkdir /var/docker_data 38 - 39 -cd /var/docker_data/ 40 - 41 -[[https:~~/~~/xwiki.brinkhaus-gmbh.de/bin/download/Product%20support/FileSync/WebHome/docker-compose.yml?rev=1.1>>https://xwiki.brinkhaus-gmbh.de/bin/download/Product%20support/FileSync/WebHome/docker-compose.yml?rev=1.1]] 42 - 43 -sudo apt install docker docker-compose 44 - 45 -sudo docker login registry.gitlab.com/v2/b3935 -u datastore-dl -p glpat-S9xzXzoUxuxGboW53r2x 46 - 47 -sudo docker-compose up 48 - 49 -(% class="box" %) 21 +(% class="code" style="white-space: pre;" %) 50 50 ((( 51 -##version: "3"## 52 -))) 53 - 54 -(% class="box" %) 55 -((( 56 -##services: 57 - traefik: 58 - image~: traefik:v2.2 59 - command: 60 - - "~-~-providers.docker" 61 - - "~-~-entrypoints.web.address=:80" 62 - ports: 63 - - "80:80" 64 - volumes: 65 - - /var/run/docker.sock:/var/run/docker.sock 66 - - ./data:/var/docker_data/data## 67 -))) 68 - 69 -(% class="box" %) 70 -((( 71 -## filesync: 72 - image~: registry.gitlab.com/b3935/ftpmodule/filesync:latest 73 - container_name: filesync 74 - restart: always 75 - volumes: 76 - - ./data:/app/data## 77 -))) 78 - 79 -(% class="box" %) 80 -((( 81 -### ports: 82 -# - 80:80## 83 -))) 84 - 85 -(% class="box" %) 86 -((( 87 -## labels: 88 - - "traefik.http.routers.filesync.entrypoints=web" 89 - - "traefik.http.routers.filesync.rule=Host(`datastore-playground.euprogigant.io`)" 90 - - "traefik.http.routers.filesync.middlewares=auth" 91 - - "traefik.http.services.filesync.loadbalancer.server.port=80" 92 - - "traefik.http.middlewares.auth.basicauth.users=admin:$$2y$$10$$2u0mbq4FI.EpN6Gu5O.BpO5Fh8RrXBr.MUT8JyqbYGtNfLn19OhTe" # credentials admin:changeme 93 -# - "traefik.http.middlewares.auth.basicauth.usersfile=/var/docker_data/data/settings/hashedPW.txt"## 94 -))) 95 - 96 - 97 97 24 +)))
- FileSyncSlide.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.brinkhaus - Size
-
... ... @@ -1,0 +1,1 @@ 1 +641.3 KB - Content