„borgmatic-quickguide.md“ ändern
This commit is contained in:
parent
40e1eb56e5
commit
8a04325c63
1 changed files with 1 additions and 1 deletions
|
@ -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/`
|
||||||
|
|
Loading…
Reference in a new issue