Update README.md

This commit is contained in:
Christian P. MOMON 2023-03-19 00:46:36 +00:00
parent 5f2c611f85
commit 84619da4cf
1 changed files with 1 additions and 6 deletions

View File

@ -367,14 +367,9 @@ Initialiser le contexte Borgmatic :
/srv/borg/bin/doinit-rsync foo.bar.org
```
Obtenir truc :
```
rsync -avz -e'ssh -v' --numeric-ids --delete root@myserver.example.com:/path/ /backup/myserver/ 2>&1 | grep "Sending command"
```
Ajouter un accès ssh restreint dans `/srv/borg/.ssh/authorized_keys` :
```
command="rsync --server --sender -vlogDtprze.iLsf --numeric-ids . /path/" rsync ",restrict ssh-rsa AAAAZZZZZ root@foo.bar.org
command="/usr/bin/rrsync -wo /var/backups/borg/mirrors/foo.bar.org/",restrict ssh-ed25519 AAAAXXXXXXXXXXXX root@foo.bar.org
```
Ajouter le lancement de la sauvegarde dans `/srv/borg/bin/dobackups` :