restic client instructions
This commit is contained in:
10
README.md
10
README.md
@@ -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)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user