WIP: kopia backup script
This commit is contained in:
@@ -27,3 +27,12 @@ replacing failed / reinstalled gluster volume (c1 in this case). all commands on
|
||||
* gluster peer detach c1
|
||||
* gluster peer probe 192.168.1.71 (not c1 because switching to IPs to avoid DNS/tailscale issues)
|
||||
* gluster volume add-brick compute replica 3 192.168.1.71:/persist/glusterfs/compute/brick1
|
||||
|
||||
kopia repository server setup (on a non-NixOS host at the time):
|
||||
* kopia repository create filesystem --path /backup/persist
|
||||
* kopia repository connect filesystem --path=/backup/persist
|
||||
* kopia server user add root@zippy
|
||||
then, add the password to secrets.yaml
|
||||
* kopia server start --address 0.0.0.0:51515 --tls-cert-file ~/kopia-certs/kopia.cert --tls-key-file ~/kopia-certs/kopia.key --tls-generate-cert (first time)
|
||||
* kopia server start --address 0.0.0.0:51515 --tls-cert-file ~/kopia-certs/kopia.cert --tls-key-file ~/kopia-certs/kopia.key (subsequent)
|
||||
[TLS is mandatory for this]
|
||||
|
||||
Reference in New Issue
Block a user