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

Teleporter not copying certain things #1537

Closed
3 tasks done
modem7 opened this issue Jul 30, 2020 · 5 comments
Closed
3 tasks done

Teleporter not copying certain things #1537

modem7 opened this issue Jul 30, 2020 · 5 comments

Comments

@modem7
Copy link

modem7 commented Jul 30, 2020

In raising this issue, I confirm the following: {please fill the checkboxes, e.g: [X]}

How familiar are you with the the source code relevant to this issue?:

1


Expected behavior:

Attempting to migrate volumes for PiHole from a Docker Volume to a mount volume. Have attempted a direct copy but certain things are not copied across.

Have also attempted Teleporter (in this issue, I'll focus on teleporter as it's the Pihole method to back things up).

Actual behavior:

Things not copied across:
DHCP settings + leases
Whitelists
Audit Log
Local DNS Records

Steps to reproduce:

Create new PiHole container with the new mount points. Create Teleporter backup on working PiHole instance. Restore on new Pihole instance.

https://tricorder.pi-hole.net/fguagziwfu

Have checked both pi-hole/pi-hole#3376 and #1276 as it seems that the issues were fixed, so could be a local/ID10T issue?

Have also checked the teleporter backup that it has created, and I see all the relevant things have indeed backed up. They're just not importing as intended.

image

Docker config:


 ######################
 ##########Pihole Test
 ######################

 #Pihole - Network wide adblocker, DNS cache and DHCP server
  pihole2:
    image: pihole/pihole:latest
    container_name: PiHole2
    hostname: PiHole2
    environment:
      INTERFACE: $INTERFACE
      DNSMASQ_LISTENING: $DNSMASQ_LISTENING
      ServerIP: '192.168.0.5'
      DNS1: $PH_DNS1
      DNS2: $PH_DNS2
      VIRTUAL_HOST: $VIRTUAL_HOST
      TZ: $TZ
    # labels: 
      # - autoheal=true
      # - "traefik.enable=true"
      # ## HTTP Routers
      # - "traefik.http.routers.pihole-rtr.entrypoints=https"
      # - "traefik.http.routers.pihole-rtr.rule=Host(`pihole.$DOMAINNAME`)"
      # - "traefik.http.routers.pihole-rtr.priority=99"
      # - "traefik.http.routers.pihole-rtr.tls=true"
      # ## Middlewares
      # - "traefik.http.routers.pihole-rtr.middlewares=chain-authelia@file" # Authelia
      # - "traefik.http.middlewares.pihole-add-admin.addPrefix.prefix=/admin"
      # ## HTTP Services
      # - "traefik.http.routers.pihole-rtr.service=pihole-svc"
      # - "traefik.http.services.pihole-svc.loadbalancer.server.port=80"
     # # Healthcheck
      # - "traefik.http.services.pihole-svc.loadbalancer.healthcheck.interval=5s"
      # - "traefik.http.services.pihole-svc.loadbalancer.healthcheck.timeout=3s"
      # - "traefik.http.services.pihole-svc.loadbalancer.healthcheck.path=/admin"
    cap_add:
      - NET_ADMIN
    networks:
      pihole:
        ipv4_address: '172.22.0.121'
      docker-macvlan:
        ipv4_address: '192.168.0.5'
    dns:
      - 127.0.0.1
      - 9.9.9.9
    # depends_on:
      # - dhcprelay
      # - dnscrypt-proxy
    volumes:
      # - Pihole:/etc/pihole/
      # - Dnsmasq:/etc/dnsmasq.d/
      - $USERDIR/Pihole/pihole:/etc/pihole/
      - $USERDIR/Pihole/dnsmasq.d:/etc/dnsmasq.d/
    restart: always
    mem_limit: 500m
    mem_reservation: 250m
@dschaper dschaper transferred this issue from pi-hole/pi-hole Jul 31, 2020
@pralor-bot
Copy link

This issue has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/cloning-pi-hole-setup-and-dbs/36737/4

@Zixim
Copy link

Zixim commented Sep 17, 2020

same here

@krupan
Copy link

krupan commented Sep 30, 2020

I used teleporter recently and it did not save/restore settings under Group Management for me. I had to manually dump these database tables:

  • group
  • domainlist
  • domainlist_by_group

@PromoFaux
Copy link
Member

As far as I can tell, this will be fixed in the next (no ETA! 😉) release

@yubiuser
Copy link
Member

This has been fixed for a long time now.

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

No branches or pull requests

6 participants