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 < 6.1 >
edited by Jan Brinkhaus
on 2023/02/03 11:34
Change comment: Uploaded new attachment "docker-compose.yml.txt", version 1.1

Summary

Details

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

Need support?

If you need support feel free to contact:

Jan Brinkhaus: 0049 179 3939 733