david/sshbackup
david
/
sshbackup
Archived
1
0
Fork 0

Updated README (markdown)

This commit is contained in:
david 2013-06-29 22:41:05 +02:00
parent 7211bdba90
commit 7e5143bf51
1 changed files with 5 additions and 5 deletions

View File

@ -27,16 +27,16 @@ sudo chmod +x /usr/bin/sshbackup
### scheduling
using cronjobs is the way to go. example /etc/crontab:
for doing reoccuring backups utilize cron to do the job.
```text
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO="admin@example.com"
#m h dom mon dow user command
0 2 * * * root sshbackup /path/to/source /path/to/destination 5
0 3 * * * root sshbackup -s /path/to/sshkey -l /path/to/listfile
0 4 * * * root sshbackup bkpuser@server:/path/to/source /path/to/destination 30
#m h dom mon dow command
0 2 * * * sshbackup /path/to/source /path/to/destination 5
0 3 * * * sshbackup -s /path/to/sshkey -l /path/to/listfile
0 4 * * * sshbackup bkpuser@server:/path/to/source /path/to/destination 30
```