Update README.md

This commit is contained in:
buttle 2019-03-13 19:12:23 +00:00
parent f390498aec
commit 4c6ae2ef51
1 changed files with 7 additions and 3 deletions

View File

@ -43,10 +43,14 @@ virtualenv venv --python=python3
# Setup users
butterbackup runs on the backserver as root. root connects to the public server as user keeper
butterbackup runs on the backserver as root. root connects to the public server as user keeper.
We create a user on the public server and copy root@backup_server public key to keeper@public_server authorized_keys
On the public_server
## Create dummy user on public server
```
adduser --disabled-password keeper
mkdir /home/keeper/.ssh
@ -67,8 +71,8 @@ Test to see if you can open a session on the public_server
## Permissions
Perhaps keeper@public_server does not have permission to read everything you want to backup.
Let's say you want to backup /var/www on the public server.
You can add the keeper to the www-data group
Let's say you want to backup /var/www on the public server. You can add the keeper to the www-data group
# Create a config file
```