From 84619da4cf0d83f2dac65415bb97c62c694509b2 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 19 Mar 2023 00:46:36 +0000 Subject: [PATCH] Update README.md --- Plan Borg/README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Plan Borg/README.md b/Plan Borg/README.md index 27d6df1..b53f077 100644 --- a/Plan Borg/README.md +++ b/Plan Borg/README.md @@ -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` :