hucky
(kai)
April 30, 2025, 7:17am
1
NethServer Version: NS8
Module: divers
Hallo again, i think about to backup the ns8 system to a cloud, especial pCloud is one System what get my attention. First i thought i could backup the NS8 to a Servershare on the NS8 and then the Backup will at night to a NAS system, but this was not working. So i try to find a alternative way. Is this possible? Because the NS8 shows this:
as possibility.
Second… in the past we hat on NS7 an App… i think nmap or so for seeing the connections of the whole Network. Which one would be most similar to that on NS8?
mrmarkuz
(Markus Neuberger)
April 30, 2025, 10:27am
2
hucky:
pCloud
I’m afraid pCloud doesn’t provide a supported connection like S3 or B2.
hucky:
i think nmap
It’s still available:
Debian:
apt install nmap
Rocky:
dnf install nmap
1 Like
hucky
(kai)
April 30, 2025, 11:01am
3
Pity… so it is not possible to use the samba netshare, not possible to use some cloud service… any suggestions for trying some cloudservice?
installed it… but i guess there is no gui for watch it, right?
mrmarkuz
(Markus Neuberger)
April 30, 2025, 11:33am
4
No, it’s working here.
Here are my backup destination settings:
pCloud uses it’s own clients so there’s no supported protocol but there are a lot of S3 providers. I use Contabo S3 for example.
I think it’s possible to do a local backup and sync it to pcloud but I recommend to use a supported provider.
Right, nmap is a command line utility. If you need a GUI, you could use Zenmap - Official cross-platform Nmap Security Scanner GUI
hucky
(kai)
May 1, 2025, 6:43am
6
same konfig here
but i got an error
Log:
“run-backup” status is “aborted” (1) at step 50run_backup
2025-05-01T08:43:39+02:00 [1:loki1:agent@loki1] task/module/loki1/4a30f184-b508-4caf-b0ff-b850c1570f3d: get-configuration/10get is starting
2025-05-01T08:43:39+02:00 [1:loki1:agent@loki1] task/module/loki1/4a30f184-b508-4caf-b0ff-b850c1570f3d: action “get-configuration” status is “completed” (0) at step validate-output.json
2025-05-01T08:43:54+02:00 [1:loki1:loki-server] ts=2025-05-01T06:43:54.322394707Z caller=spanlogger.go:111 middleware=QueryShard.astMapperware org_id=fake traceID=527efef40b649173 user=fake caller=log.go:168 level=warn msg=“failed mapping AST” err=“context canceled” query=“{module_id="loki1"} | json syslog_id="SYSLOG_IDENTIFIER", message="MESSAGE" | line_format "[{{.node_id}}:{{.module_id}}:{{.syslog_id}}] {{.message}}"”
2025-05-01T08:44:55+02:00 [1:loki1:agent@loki1] task/module/loki1/8238a40e-a11b-434d-b483-bc01f6a7f4a6: configure-backup/50write_systemd_units is starting
2025-05-01T08:44:56+02:00 [1:loki1:systemd] Reloading.
2025-05-01T08:44:56+02:00 [1:loki1:systemd] backup4.timer: Unit to trigger vanished.
2025-05-01T08:44:56+02:00 [1:loki1:systemd] backup4.timer: Failed with result ‘resources’.
2025-05-01T08:44:56+02:00 [1:loki1:agent@loki1] task/module/loki1/8238a40e-a11b-434d-b483-bc01f6a7f4a6: action “configure-backup” status is “completed” (0) at step 50write_systemd_units
2025-05-01T08:45:20+02:00 [1:loki1:agent@loki1] task/module/loki1/4283b367-6ac2-4611-a8d4-5ea8267cec7c: get-configuration/10get is starting
2025-05-01T08:45:21+02:00 [1:loki1:agent@loki1] task/module/loki1/4283b367-6ac2-4611-a8d4-5ea8267cec7c: action “get-configuration” status is “completed” (0) at step validate-output.json
mrmarkuz
(Markus Neuberger)
May 1, 2025, 7:38am
7
Please check the containers of the app instances that failed, for example loki1, maybe it’s a similar issue like here ?
runagent -m loki1 podman ps -a
Two app backups seem to work, please try to just backup these 2 apps instead of all and check if the backup runs through.
2 Likes
hucky
(kai)
May 4, 2025, 9:46am
8
i tried now to choose different backup from the apps but also if its always an error with the same apps.
i tried the runagent with the mail app, but i am not able to decide it is okay or not, this are the result of the mail1
i can do the runagent command also with the other apps what are not backupped if it is helpful.
sogo1
Traefik1
Crowdsec
1 Like
mrmarkuz
(Markus Neuberger)
May 4, 2025, 10:18am
9
The containers seem to be ok, there’s no hanging container.
Could you please share the logs of the backup process of the apps where the backup is not working?
1 Like
hucky
(kai)
May 4, 2025, 10:37am
10
hmm, i have no Protokoll of the Backup APP right? so i do it with System logs?
2025-05-04T12:52:21+02:00 [1:traefik1:traefik] 192.168.2.202 - - [04/May/2025:10:52:21 +0000] “GET /cluster-admin/api/cluster/task/865017fd-f322-48ef-821f-679d4fa8ae7c/status HTTP/2.0” 200 1020 “-” “-” 348435 “cluster-admin-https@file” “http://127.0.0.1:9311 ” 7ms
2025-05-04T12:52:21+02:00 [1:traefik1:traefik] 192.168.2.202 - - [04/May/2025:10:52:21 +0000] “GET /cluster-admin/api/module/loki1/task/e251f603-41fc-4262-b8e9-8c82f621995a/context HTTP/2.0” 200 190 “-” “-” 348436 “cluster-admin-https@file” “http://127.0.0.1:9311 ” 21ms
2025-05-04T12:52:21+02:00 [1:traefik1:traefik] 192.168.2.202 - - [04/May/2025:10:52:21 +0000] “GET /cluster-admin/api/module/loki1/task/e251f603-41fc-4262-b8e9-8c82f621995a/context HTTP/2.0” 200 190 “-” “-” 348437 “cluster-admin-https@file” “http://127.0.0.1:9311 ” 20ms
2025-05-04T12:52:21+02:00 [1:traefik1:traefik] 192.168.2.202 - - [04/May/2025:10:52:21 +0000] “GET /cluster-admin/api/module/loki1/task/e251f603-41fc-4262-b8e9-8c82f621995a/status HTTP/2.0” 200 293 “-” “-” 348438 “cluster-admin-https@file” “http://127.0.0.1:9311 ” 11ms
2025-05-04T12:52:21+02:00 [1:traefik1:traefik] 192.168.2.202 - - [04/May/2025:10:52:21 +0000] “GET /cluster-admin/api/cluster/task/0d7430f9-5a7c-4d76-8628-0f99d803ece4/context HTTP/2.0” 200 238 “-” “-” 348439 “cluster-admin-https@file” “http://127.0.0.1:9311 ” 7ms
2025-05-04T12:52:21+02:00 [1:traefik1:traefik] 192.168.2.202 - - [04/May/2025:10:52:21 +0000] “GET /cluster-admin/api/cluster/task/0d7430f9-5a7c-4d76-8628-0f99d803ece4/context HTTP/2.0” 200 238 “-” “-” 348440 “cluster-admin-https@file” “http://127.0.0.1:9311 ” 8ms
2025-05-04T12:52:21+02:00 [1:traefik1:traefik] 192.168.2.202 - - [04/May/2025:10:52:21 +0000] “GET /cluster-admin/api/cluster/task/0d7430f9-5a7c-4d76-8628-0f99d803ece4/status HTTP/2.0” 200 338 “-” “-” 348441 “cluster-admin-https@file” “http://127.0.0.1:9311 ” 8ms
This is the log directly after backup from traefik1