Slackware HowTo

Configure rsync daemon on Slackware

Export rsync modules for network backups and sync jobs with basic ACLs.

1. Goal

Export rsync modules for network backups and sync jobs with basic ACLs.

2. Files and components involved

/etc/rsyncd.conf
/etc/rsyncd.secrets
/srv/rsync
rsync

3. Operational flow

mkdir -p /srv/rsync
vi /etc/rsyncd.conf
vi /etc/rsyncd.secrets
chmod 600 /etc/rsyncd.secrets
rsync --daemon

4. Operational verification

rsync rsync://127.0.0.1/
ss -lntup
grep 873
tail -n 20 /var/log/messages

5. Practical notes

After every restart, check listening sockets, logs, permissions, and the users accessing the service.

Before exposing the service in production, test access from a validation host and check any ACLs or firewall rules.

Quick checklist

[ ] Backup or copy of the existing configuration completed
[ ] Files and commands updated as expected
[ ] Local test completed successfully
[ ] Logs or final output verified
[ ] Rollback procedure documented

Back to the Linux HowTo section