|
/Admin/backups/backuppc:
rysncd on the client to be backed up
Note that unlike rsync over ssh, transfers using rsyncd are not encrypted, so rsyncd use is recommended only within a secure local network.
On the machine to be backed up, install rysnc and open the rsync port (873) in your firewall.
Create a /etc/rsyncd.secrets file with the following content:
yourUserid:yourPasswordEdit /etc/default/rsync to contain the following:
RSYNC_ENABLE=true
RSYNC_NICE='10'
(A higher value of RSYNC_NICE reduces the priority of rsync activities if this machine is being used for other things, which is highly probable.)
Create an /etc/rsyncd.conf file with the following content:
pid file=/var/run/rsyncd.pid
transfer logging = no
timeout = 600
refuse options = checksum dry-run
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
use chroot = yes
lock file = /var/lock/rsyncd
read only = yes
list = yes
[etc]
comment = /etc directory
path = /etc
uid = root
gid = root
auth users = yourUserid
secrets file = /etc/rsyncd.secrets
strict modes = yes
ignore errors = no
ignore nonreadable = yes
[home]
comment = /home directory
path = /home
uid = root
gid = root
auth users = yourUserid
secrets file = /etc/rsyncd.secrets
strict modes = yes
ignore errors = no
ignore nonreadable = yes
posted at: 09:53 | path: /Admin/backups/backuppc | permanent link to this entry