From the course: Learning Rsync
Unlock the full course today
Join today to access over 25,200 courses taught by industry experts.
Setting up rsync daemon mode - rsync Tutorial
From the course: Learning Rsync
Setting up rsync daemon mode
- [Instructor] Daemon mode allows Rsync to keep running in the background and to listen for connections from Rsync clients. When it receives a transfer request, the Rsync daemon handles the remote end of the transfer. In this role, the daemon can act either as a source or as a target so we can request data from it or send data to it. To use daemon mode, we need to start Rsync with the --daemon option and make sure that TCP port 873 is open on the system where we're running the Rsync daemon. We'll also need to provide some configuration information for the daemon. Let's start with the configuration which is kept in the file /etc/rsyncd.conf. That file won't already exist if we haven't used Rsync in daemon mode before. I'll open a new terminal window and it'll connect to my server. And I'll clear the screen. Then I'll create my configuration file. The configuration can include two types of entries. We can define…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.