Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add local network backup support. #1

Open
fotoklaasje opened this issue May 15, 2020 · 3 comments
Open

add local network backup support. #1

fotoklaasje opened this issue May 15, 2020 · 3 comments

Comments

@fotoklaasje
Copy link

I use urbackup for local network backups, server and client run in separate dockers on the same machine. At the moment the dockerfile for this docker contains CMD ["--internet-only"], forcing the client into internet mode. This causes unnecessary network traffic to the router and back, congesting my ethernet connection and slowing the backups. i would greatly appreciate it if this flag could be removed or replaced by an environment variable, which I can change.

@jejanim
Copy link

jejanim commented Aug 20, 2020

I'd appreciate that change too.
The hard-coded, enabled internet mode prevents me from using this image.

@knumsi
Copy link

knumsi commented Sep 9, 2020

I cannot get it up and running. QNAP TVS-672XT Container Station shows the following log:
2020-09-09 22:49:29: ERROR: urbackupserver: Failed binding ipv6 socket to port 35623. Another instance of this application may alrea be active and bound to this port. 2020-09-09 22:49:29: urbackupserver: Server started up successfully! 2020-09-09 22:49:29: Started UrBackupClient Backend... Backing up volume /backup 2020-09-09 22:49:30: Looking for old Sessions... 2 sessions 2020-09-09 22:49:30: Final path: /backup 2020-09-09 22:49:39: Final path: /backup

Config is:
`version: '3'

services:
urbackup:
image: uroni/urbackup-client:latest
container_name: urbackup-client
environment:
- TZ=Europe/Berlin # Enter your timezone
- URBACKUP_SERVER_NAME=XYZ (Local Lan Name or Internet Name dont change anything)
- URBACKUP_CLIENT_NAME=XXX (Like shown in the status overview)
- URBACKUP_CLIENT_AUTHKEY=XYZABC (as set up in
volumes:
- /share/CACHEDEV1_DATA:/backup:ro
ports:
- 35621:35621
- 35622:35622
- 35623:35623`

Removing the three ports in the config did not solve anything. Both Devices are on the local network.

@knumsi
Copy link

knumsi commented Dec 27, 2020

Okay - workaround for me after long searching around:
Router ist opnsense:
Add in "Services: Unbound DNS: Overrides" the external host to point at the internal Urbackup IP.

Now it works. with my before mentioned YAML.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants