1
0
forked from clan/clan-core

docs/backup: update command needed to regenerate backups

This commit is contained in:
Jörg Thalheim 2024-03-25 15:29:12 +01:00
parent 270f906412
commit 68ac6321ee

View File

@ -36,7 +36,7 @@ As a user you can also append to the list by adding your own directories to be b
{ clanCore.state.userdata.folders = [ "/home" "/root" ]; }
```
Than run `clan secrets generate <yourmachine>` replacing `<yourmachine>` with the actual machine name.
Than run `clan facts generate <yourmachine>` replacing `<yourmachine>` with the actual machine name.
This will generate the backup borg credentials and ssh keys for accessing the borgbackup repository.
Your ssh public key will be stored in the root of the repository here at this location `./machines/<yourmachine>/facts/borgbackup.ssh.pub`.
We need this for the next step.