From 4a1252845e79e8a43e819a9305e5e9782ea68a78 Mon Sep 17 00:00:00 2001 From: lagertonne Date: Wed, 27 Jan 2021 21:48:52 +0100 Subject: [PATCH] Fix readme --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 123696a..6902cb0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,19 @@ # lgrt-backup-solution +## Preperation + +Initialize a borg-repository on the server which should store the backup-repo: + +``` +borg init --encrpytion=repokey /path/which/is/configured/in/backup-script +``` + +The following line has to go into the corresponding authorized_keys file on the Host which should store the backups: + +``` +command="/usr/bin/borg serve --restrict-to-path /path/which/is/configured/in/backup-script",restrict ssh-rsa .... +``` + +## Actual backups + +Adjust backup.sh to your needs and execute it.