From 7e5aad727ffd7562ecca4077f852a1a2bec78a07 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Sun, 12 Apr 2020 11:43:41 +0200 Subject: [PATCH] Improve documentation wording --- docs/install.md | 4 ++-- docs/usage.md | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/install.md b/docs/install.md index fffc84a..bfb6d7d 100644 --- a/docs/install.md +++ b/docs/install.md @@ -52,7 +52,7 @@ apt install \ ## Client dependencies -The clients only require OpenSSH and rsync. +The clients only require OpenSSH and Rsync. ### Cron job for incremental backups @@ -66,6 +66,6 @@ Edit the root crontab ~~~ ## Notes -If you want mutiples backups in a day (1 by hour maximum) you can +If you want mutiples backups in a day (1 per hour maximum) you can run `bkctld inc` multiples times, if you want to keep incremental backups **for ever**, just don't run `bkctld rm`. diff --git a/docs/usage.md b/docs/usage.md index 29c4589..afcbfa1 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -155,31 +155,31 @@ the backup server administrator will need: He can then create the jail: - # bkctld init CLIENT_HOST_NAME - # bkctld key CLIENT_HOST_NAME /root/CLIENT_HOST_NAME.pub - # bkctld ip CLIENT_HOST_NAME CLIENT_IP_ADDRESS - # bkctld start CLIENT_HOST_NAME - # bkctld status CLIENT_HOST_NAME + # bkctld init + # bkctld key /root/.pub + # bkctld ip + # bkctld start + # bkctld status And override the default evobackup-incl(5) rules - # $EDITOR /etc/evobackup/CLIENT_HOST_NAME + # $EDITOR /etc/evobackup/.d/incs_policy To sync itself, the client server will need to install rsync(1). It can then be run manually: - # rsync -av -e "ssh -p JAIL_PORT" /home/ root@BACKUP_SERVER:/var/backup/home/ + # rsync -av -e "ssh -p " /home/ root@:/var/backup/home/ If a more automated setup is required, a script can be written in any programming language. In this case, it may be useful to validate the backup server's identity before hand. - # ssh -p JAIL_PORT BACKUP_SERVER + # ssh -p root@ -t exit A bash(1)