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 dad2d6781b
commit 7ed9a42f64

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" ]; } { 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. 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`. 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. We need this for the next step.