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, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,62 +1,24 @@ 1 - Downloadtokenvalid till...1 += About FileSync = 2 2 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. 3 3 4 - sudomkdir /var/docker_data6 += [[image:attach:FileSyncSlide.jpg]] = 5 5 6 -cd /var/docker_data/ 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. 7 7 8 -sudo apt install docker docker-compose 11 +(% class="wikigeneratedid" %) 12 +FileSync afterwards just does its job, as long as the server runs. 9 9 10 -sudo docker login registry.gitlab.com/v2/b3935 -u datastore-dl -p glpat-S9xzXzoUxuxGboW53r2x 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. 11 11 12 -sudo docker-compose up 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. 13 13 14 -(% class="box" %) 15 -((( 16 -##version: "3"## 17 -))) 18 18 19 -(% class=" box" %)21 +(% class="code" style="white-space: pre;" %) 20 20 ((( 21 -##services: 22 - traefik: 23 - image~: traefik:v2.2 24 - command: 25 - - "~-~-providers.docker" 26 - - "~-~-entrypoints.web.address=:80" 27 - ports: 28 - - "80:80" 29 - volumes: 30 - - /var/run/docker.sock:/var/run/docker.sock 31 - - ./data:/var/docker_data/data## 32 -))) 33 - 34 -(% class="box" %) 35 -((( 36 -## filesync: 37 - image~: registry.gitlab.com/b3935/ftpmodule/filesync:latest 38 - container_name: filesync 39 - restart: always 40 - volumes: 41 - - ./data:/app/data## 42 -))) 43 - 44 -(% class="box" %) 45 -((( 46 -### ports: 47 -# - 80:80## 48 -))) 49 - 50 -(% class="box" %) 51 -((( 52 -## labels: 53 - - "traefik.http.routers.filesync.entrypoints=web" 54 - - "traefik.http.routers.filesync.rule=Host(`datastore-playground.euprogigant.io`)" 55 - - "traefik.http.routers.filesync.middlewares=auth" 56 - - "traefik.http.services.filesync.loadbalancer.server.port=80" 57 - - "traefik.http.middlewares.auth.basicauth.users=admin:$$2y$$10$$2u0mbq4FI.EpN6Gu5O.BpO5Fh8RrXBr.MUT8JyqbYGtNfLn19OhTe" # credentials admin:changeme 58 -# - "traefik.http.middlewares.auth.basicauth.usersfile=/var/docker_data/data/settings/hashedPW.txt"## 59 -))) 60 - 61 - 62 62 24 +)))
- FileSyncSlide.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.brinkhaus - Size
-
... ... @@ -1,0 +1,1 @@ 1 +641.3 KB - Content
- docker-compose.yml
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.brinkhaus - Size
-
... ... @@ -1,0 +1,1 @@ 1 +236 bytes - Content
-
... ... @@ -1,0 +1,15 @@ 1 +version: "3" 2 + 3 +services: 4 + 5 + filesync: 6 + image: registry.gitlab.com/b3935/ftpmodule/filesync:latest 7 + container_name: filesync 8 + restart: unless-stopped 9 + 10 + volumes: 11 + - ./data:/app/data 12 + 13 + ports: 14 + - 80:80 15 +