Tuesday, April 28, 2009

Network backup with Rsync

My environment: RH FC8 x86_64
Rsync Version: rsync-2.6.9-3.2.fc8

 

1. Enable rsync server in xinetd:

vi /etc/xinetd.d/rsync

disable = no

2. Start xinetd on server side

3. Generate password-less inter-host key for SSH connection between rsync server and client.  Follow the tutorial here.

4. Run this on rsync server:

rsync -ave ssh --numeric-ids rsync-client-hostname:/files-to-be-backup /backup-location-on-server

No comments: