Updated README (markdown)
This commit is contained in:
parent
7211bdba90
commit
7e5143bf51
10
README.md
10
README.md
|
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
|
Reference in New Issue