updated README
This commit is contained in:
parent
cb0e130a2c
commit
7d1a6c2465
19
README.md
19
README.md
|
@ -1,13 +1,5 @@
|
|||
# sshbackup
|
||||
|
||||
for automated backups configure a sshkey for the user running sshbackup.
|
||||
|
||||
you must add following to /etc/sudoers on your remote servers as well to
|
||||
make automated backups work
|
||||
```
|
||||
backupuser ALL=(root)NOPASSWD: /usr/bin/rsync
|
||||
```
|
||||
|
||||
sshbackup is a shell script for doing incremental backups.
|
||||
|
||||
### scheduling
|
||||
using cron will help you with that. example /etc/crontab:
|
||||
|
@ -38,6 +30,15 @@ sudo su
|
|||
ssh-keygen
|
||||
ssh-copy-id <remote machine>
|
||||
```
|
||||
you must add the backupuser to /etc/sudoers on your remote servers as well
|
||||
to make automated backups work. type:
|
||||
```
|
||||
sudo visudo #this will open /etc/sudoers in a texteditor
|
||||
```
|
||||
and add following at the end of that file:
|
||||
```
|
||||
backupuser ALL=(root)NOPASSWD: /usr/bin/rsync
|
||||
```
|
||||
|
||||
you can use a file which should have a source/destination combination each line.
|
||||
example listfile:
|
||||
|
|
Reference in New Issue