Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
F: +44 (0)8456 446 899 / +44 (0)1223 359459
E: enquiries@precedence.co.uk
LinuxUnix

Jump To: Support > KB > Backup > LinuxUnix

Linux/Unix to NetManager Backup server

  1. Install rsync. On Debian/Ubuntu, this can be done with: apt install rsync
  2. 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
  3. You will also need to create the /etc/rsyncd.secrets file with the configured username and password. Make sure the file is chmod 600:
    backupuser:mypassword
  4. Enable and start rsync as a daemon:
    systemctl enable rsync
    systemctl start rsync
    
  5. Open firewall for TCP port 873 if necessary
  6. Add the server to list of servers to be backed up as described here
  7. Test with runrsync -l on the backup server and check the shares are listed
© Copyright Precedence Technologies 1999-2019
Page last modified on September 12, 2019, at 12:28 PM by sborrill