22628c6e35 | ||
---|---|---|
.. | ||
README.md | ||
client.conf | ||
rsync | ||
rsyncclient.sh | ||
rsyncd.conf | ||
rsyncd.scrt |
README.md
rsync
INTRO
Rsync is a very common and useful backup tool, this subrepo aims to configure rsync server and client. SHELL-SCRIPT
FILE-SERVER
- rsync in server path /etc/default/rsync.
- rsyncd.conf in server path /etc/rsyncd.conf.
- rsyncd.scrt secret file in server /etc/rsyncd.scrt, chmod 600 rsyncd.scrt (other usrs cannot read, write and excute).
FILE-CLIENT
- rsyncd.scrt as rsyncd.scrt in FILE-SERVER.
- rsyncclient.sh client backup script.
- client.conf clinet configure files.
HOW-TO-INSTALL
- in server: configure /etc/default/rsync with ./rsync
- in server: configure /etc/rsyncd.conf and choose backup directory
- in server: running rsync as daemon process: sudo /etc/init.d/rsync start
- in client: configure ./client.conf
- in client: configure ./rsyncclient.sh
REFS
- link office website
CRONTAB-SETTING
- crontab setting: */30 * * * * /home/aborn/backup/rsyncclient.sh >> /home/aborn/backup/client.log 2>&1
AUTHOR
Aborn Jiang (aborn.jiang@gmail.com)
VERSION
2014-01-21 v0.1