Changes for page FileSync

Last modified by Jan Brinkhaus on 2023/02/03 13:33

<
From version < 12.1
edited by Jan Brinkhaus
on 2023/02/03 13:33
To version < 2.1 >
edited by Jan Brinkhaus
on 2023/02/02 17:26
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,24 +1,62 @@
1 -= About FileSync =
1 +Download token valid till ...
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.
5 5  
6 -= [[image:attach:FileSyncSlide.jpg]] =
4 +sudo mkdir /var/docker_data
7 7  
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.
6 +cd /var/docker_data/
10 10  
11 -(% class="wikigeneratedid" %)
12 -FileSync afterwards just does its job, as long as the server runs.
8 +sudo apt install docker docker-compose
13 13  
14 -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.
10 +sudo docker login registry.gitlab.com/v2/b3935 -u datastore-dl -p glpat-S9xzXzoUxuxGboW53r2x
15 15  
16 -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.
12 +sudo docker-compose up
17 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.
14 +(% class="box" %)
15 +(((
16 +##version: "3"##
17 +)))
19 19  
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 +)))
20 20  
21 -(% class="code" style="white-space: pre;" %)
34 +(% class="box" %)
22 22  (((
23 -
36 +## filesync:
37 + image~: registry.gitlab.com/b3935/ftpmodule/filesync:latest
38 + container_name: filesync
39 + restart: always
40 + volumes:
41 + - ./data:/app/data##
24 24  )))
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 +
FileSyncSlide.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.brinkhaus
Size
... ... @@ -1,1 +1,0 @@
1 -641.3 KB
Content
docker-compose.yml
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.brinkhaus
Size
... ... @@ -1,1 +1,0 @@
1 -236 bytes
Content
... ... @@ -1,15 +1,0 @@
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 -

Need support?

If you need support feel free to contact:

Jan Brinkhaus: 0049 179 3939 733