Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.37 KB

File metadata and controls

40 lines (31 loc) · 1.37 KB

Description

Borg Backup Client

Deduplicating archiver with compression and authenticated encryption.

No existing volumes will get created, but stay empty.

Table of contents

  1. Service requirements
  2. Installation instructions

Service requirements

Installation instructions

  1. Follow the docs of
  2. Start the pod
    podman kube play borg-backup-client-pvc.yaml borg-backup-client-secret.yaml
    cp borg-backup-client-pod.kube ~/.config/containers/systemd/
    systemctl --user daemon-reload
    systemctl --user start borg-backup-client-pod.service
  3. Inside the pod
    ssh-keygen -t ed25519 -C "exploding-hamster@exploding-hamster.duckdns.org"
  4. Borg Server
    1. borg init --encryption=repokey-blake2 /var/backups/borg/exploding-hamster.duckdns.org
    2. borg key export /var/backups/borg/exploding-hamster.duckdns.org
    3. Add the client ssh-key in /root/.ssh to the container secret of the borg-backup-server
  5. Inside the pod add to the /etc/borgmatic.d/config.yaml your repo
    • Example: ssh://borg@exploding-hamster.duckdns.org:26351/var/backups/borg/exploding-hamster.duckdns.org
  6. Restart the pod