LinuxUnix
Jump To: Support > KB > Backup > LinuxUnix
Linux/Unix to NetManager Backup server
- Install rsync. On Debian/Ubuntu, this can be done with:
apt install rsync
- You will need to manually configure rsyncd by creating a
/etc/rsyncd.conf
file such as:pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
uid = root
hosts allow = 10.0.0.20/32
[home]
path = /usr/export/home
Comment = Home areas
auth users = backup
secrets file = /etc/rsyncd.secrets
read only = true
[settings]
path = /etc
Comment = Settings
auth users = backup
secrets file = /etc/rsyncd.secrets
read only = true - You will also need to create the
/etc/rsyncd.secrets
file with the configured username and password. Make sure the file ischmod 600
:backupuser:mypassword - Enable and start rsync as a daemon:
systemctl enable rsync systemctl start rsync
- Open firewall for TCP port 873 if necessary
- Add the server to list of servers to be backed up as described here
- Test with
runrsync -l
on the backup server and check the shares are listed