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 -s udo docker loginregistry.gitlab.com/v2/b3935-udatastore-dl-pglpat-S9xzXzoUxuxGboW53r2x14 +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. 11 11 12 -s udo docker-compose up16 +FileSync achieves this by caching data on the server side. Whenever FileSync can reach an embedded device, data is backed up from it. Whenever the backup servers can be reached, data is saved there. 13 13 14 -(% class="box" %) 15 -((( 16 -##version: "3"## 17 -))) 18 +Only files that have not been modified for at least 60sec are backed up. The time span can be set in the configuration of the copy source. Files whose size or file time has changed in the backup source are copied again. 18 18 19 -(% class="box" %) 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 33 34 -(% class=" box" %)21 +(% class="code" style="white-space: pre;" %) 35 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 +