restic client instructions

This commit is contained in:
John Lancaster
2025-12-28 15:02:52 -06:00
parent bc9c2a97a5
commit 202c8f302e

View File

@@ -63,9 +63,17 @@ pct set 103 -mp0 /mnt/nfs/restic,mp=/mnt/restic
## Restic Clients ## Restic Clients
Set up provisioner password by running this and pasting in the current JWK provisioner password for `admin`
```
read -s secret && (umask 077; echo "$secret" > secret.txt)
```
``` ```
cd $(step path)/certs && \ cd $(step path)/certs && \
step ca certificate --provisioner admin $USER@$HOSTNAME restic.crt restic.key && \ step ca certificate \
--provisioner admin --password-file secret.txt \
$(hostnamectl hostname) restic.crt restic.key && \
(umask 077; cat restic.crt restic.key > restic.pem) (umask 077; cat restic.crt restic.key > restic.pem)
``` ```