Netgrimoire/Infrastructure/Backups.md
2026-01-25 17:03:31 +00:00

1.6 KiB

title description published date tags editor dateCreated
Setting Up Kopia true 2026-01-25T17:03:22.587Z markdown 2026-01-23T22:14:17.009Z

Configure Kopia on ZNAS

Installed docker on ZNAS SERVER CERT SHA256: 696a4999f594b5273a174fd7cab677d8dd1628f9b9d27e557daa87103ee064b2

  1. Used the gui to create the first repository at /srv/vault/kopia_repository
  2. Entered the kopia container on znas docker exec -it <name> /bin/sh
  3. From the cli inside the container created the user for docker2 kopia server users add --ask-password admin@docker2

Configure Kopia on first client

  1. Use wget to get the kopia apt package and install on client
  2. use dpkg to install on client
  3. If this host has been configured before, remove old repository:
  • sudo kopia repository disconnect || true
  • sudo rm -rf /root/.config/kopia
  1. Add new repository: `sudo kopia repo connect server --url=https://192.168.5.10:51515 --override-username=admin --server-cert-fingerprint=696a4999f594b5273a174fd7cab677d8dd1628f9b9d27e557daa87103ee064b2
  2. Create snapshot: sudo kopia snapshot create /DockerVol/
  3. Add cronjob: sudo crontab -e added: */180 * * * * /usr/bin/kopia snapshot create /DockerVol >> /var/log/kopia-cron.log 2>&1

Configure Kopia on Cinys desktop

  1. wised winget to get the ui and cli version
  2. Created user cindy@DESKTOP-QLSVD8P on repository server (password LucyDog123)
  3. On windows - kopia repo connect server --url=https://192.168.5.10:51515 --override-username=cindy --server-cert-fingerprint=696a4999f594b5273a174fd7cab677d8dd1628f9b9d27e557daa87103ee064b2
  4. When createing taks for cindy used password Harvey123=