Backup Node Build HowTo

From SOWNWiki
Jump to: navigation, search

A SOWN backup node receives the following:

  • Backups for the last 7 days
  • Backups for the last 3 weeks (sundays)
  • Monthly backups (not rotated) on the 1st of each month.

Build Procedure

1) Install Linux on your chosen box.

2) Install rsync

3) Add a user account (with home directory) where the backups can be stored.

  • A backup nodes requires at least 13Gb+ of writable space

The following steps require the assistance of a sown administrator.

4) Add auth.sown.org.uk's root key to ~/.ssh/authorized_keys

5) Add any firewall holes needed to SSH this box from auth.sown.org.uk or sown-auth.ecs.soton.ac.uk

6) Add the box location, username and protocol (if ipv6) to the /root/destinations file on auth.sown.org.uk

7) Install monitoring software (See ServerBuildWalkThrough#Monitoring for tips)

  • Install nagios-nrpe-server, add config file for host (customize from existing server setup).
  • Copy over sown custom check scripts (see /opt/sown/ on backup2).
  • Set up symlinks int /usr/local/{bin,sbin} for the above scripts

8) Copy over the backup protection script from /etc/cron.weekly/protect_backups

DONE