SUNScholar/Disaster Recovery/Backups/Client Setup
Jump to navigation
Jump to search
Create an rsync config file.
nano /etc/rsyncd.conf
Copy and paste the following.
[backup] path = /var/backup [home] path = /home
Enable the rsync server.
nano /etc/default/rsync
Change false to true.
RSYNC_ENABLE=true
Now you start the rsync server as follows:
/etc/init.d/rsync restart
Check the rysnc server.
rsync localhost::backup
rsync localhost::home
Now we add a firewall rule to allow the backup server to get to the backup files, type as follows:
ufw allow from %hostname% to any 873
Replace %hostname% with the hostname of your backup server.