Improve documentation wording

This commit is contained in:
Jérémy Lecour 2020-04-12 11:43:41 +02:00 committed by Jérémy Lecour
parent 2d4cae58bc
commit 7e5aad727f
2 changed files with 10 additions and 10 deletions

View File

@ -52,7 +52,7 @@ apt install \
## Client dependencies ## Client dependencies
The clients only require OpenSSH and rsync. The clients only require OpenSSH and Rsync.
### Cron job for incremental backups ### Cron job for incremental backups
@ -66,6 +66,6 @@ Edit the root crontab
~~~ ~~~
## Notes ## 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 run `bkctld inc` multiples times, if you want to keep incremental
backups **for ever**, just don't run `bkctld rm`. backups **for ever**, just don't run `bkctld rm`.

View File

@ -155,31 +155,31 @@ the backup server administrator will need:
He can then create the jail: He can then create the jail:
# bkctld init CLIENT_HOST_NAME # bkctld init <JAIL_NAME>
# bkctld key CLIENT_HOST_NAME /root/CLIENT_HOST_NAME.pub # bkctld key <JAIL_NAME> /root/<JAIL_NAME>.pub
# bkctld ip CLIENT_HOST_NAME CLIENT_IP_ADDRESS # bkctld ip <JAIL_NAME> <IP_OR_CIDR>
# bkctld start CLIENT_HOST_NAME # bkctld start <JAIL_NAME>
# bkctld status CLIENT_HOST_NAME # bkctld status <JAIL_NAME>
And override the default And override the default
evobackup-incl(5) evobackup-incl(5)
rules rules
# $EDITOR /etc/evobackup/CLIENT_HOST_NAME # $EDITOR /etc/evobackup/<JAIL_NAME>.d/incs_policy
To sync itself, To sync itself,
the client server will need to install the client server will need to install
rsync(1). rsync(1).
It can then be run manually: 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 <JAIL_PORT>" /home/ root@<BACKUP_SERVER>:/var/backup/home/
If a more automated setup is required, If a more automated setup is required,
a script can be written in any programming language. a script can be written in any programming language.
In this case, In this case,
it may be useful to validate the backup server's identity before hand. it may be useful to validate the backup server's identity before hand.
# ssh -p JAIL_PORT BACKUP_SERVER # ssh -p <JAIL_PORT> root@<BACKUP_SERVER> -t exit
A A
bash(1) bash(1)