Hi everyone. I am trying out restic. Looked good so far. Now I’ve encountered an error and I don’t know how to solve it.
Problem: connection to restic rest-server gets cut after about 3h, so it won’t complete the initial backup.
Setup: Running rest-server, V. 0.10.0 on a raspberry pi 4, 4GB, wired connection, Running Ubuntu 20.04.1 LTS. The Rest-Server is started with this systemd, running under a different user rests. The destination is a USB-HDD (with its own power supply).
[Unit] Description=Rest Server After=syslog.target After=network.target [Service] Type=simple User=rests Group=rests ExecStart=/usr/local/bin/rest-server --private-repos --append-only --path /home/rests/hdd Restart=always RestartSec=5 [Install] WantedBy=multi-user.target
Client: Windows 10,
Powershell Commannd:
.\restic_0.11.0_windows_amd64.exe -r rest:http://PRO:Password@192.168.1.3:8000/PRO -verbose backup D:\folder1 D:\folder2 D:\folder3 --exclude=‘Archive_OLD’ --password-file C:\pw
This setup works fine for a smaller dataset (250gb no trouble). However, i started with the real dataset now (~ 3TB) and the connection fails after 3h. I know that I can resume, but now I’ve reached a point where it takes almost 3hours to rescan the files, so there is no new data uploaded. I’m stuck.
This is what the client says:
Save(<data/2111ad2aee>) returned error, retrying after 552.330144ms: client.Post: Post “http://PRO:***@192.168.1.3:8000/PRO/data/2111ad2aee …”: readfrom tcp 192.168.1.4:55260->192.168.1.3:8000: write tcp 192.168.1.4:55260->192.168.1.3:8000: wsasend: An existing connection was forcibly closed by the remote host.
Save(<data/2111ad2aee >) returned error, retrying after 2.340488664s: server response unexpected: 403 Forbidden (403)
Save(<data/2111ad2aee >) returned error, retrying after 4.506218855s: server response unexpected: 403 Forbidden (403)
Save(<data/2111ad2aee >) returned error, retrying after 3.221479586s: server response unexpected: 403 Forbidden (403)
Save(<data/2111ad2aee >) returned error, retrying after 5.608623477s: server response unexpected: 403 Forbidden (403)
Save(<data/2111ad2aee >) returned error, retrying after 7.649837917s: server response unexpected: 403 Forbidden (403)
Save(<data/2111ad2aee >) returned error, retrying after 15.394871241s: server response unexpected: 403 Forbidden (403)
Fatal: unable to save snapshot: server response unexpected: 403 Forbidden (403) ETA 7:14:44
Any help is appreciated. Thanks!!