„borgmatic-quickguide.md“ ändern

This commit is contained in:
DeltaLima 2023-06-25 01:59:40 +02:00
parent 40e1eb56e5
commit 8a04325c63

View file

@ -1,6 +1,6 @@
# borgmatic quickguide # borgmatic quickguide
1. `ssh-keygen # without passphrase` 1. `ssh-keygen` # without passphrase
2. `echo 'command="borg serve --restrict-to-repository /home/borgbackup/repos/FQDN",restrict ' $(cat ~/.ssh/id_rsa.pub) |ssh borgbackup@BACKUPHOST -c "cat - >> ~/.ssh/authorized_keys"` 2. `echo 'command="borg serve --restrict-to-repository /home/borgbackup/repos/FQDN",restrict ' $(cat ~/.ssh/id_rsa.pub) |ssh borgbackup@BACKUPHOST -c "cat - >> ~/.ssh/authorized_keys"`
3. `borg init -e repokey borgbackup@BACKUPHOST:repos/FQDN` # you have to enter a PASSPHRASE (`pwgen 24 1`) 3. `borg init -e repokey borgbackup@BACKUPHOST:repos/FQDN` # you have to enter a PASSPHRASE (`pwgen 24 1`)
4. `mkdir -p /etc/borgmatic/` 4. `mkdir -p /etc/borgmatic/`