HowTo/Backup

Version 4 (modified by arneke, 6 years ago)

--

Backup on Arachnia

Important files:

  • /etc/backup_includes - List of paths that are backed up
  • /etc/backup_excludes - List of paths that are excluded, typically subdirectories or files of paths listed in the include file
  • /backup - Temporary directory where backup artifacts are collected
  • /etc/cron.daily/backup - Script that runs the backup, also takes care of Confluence and selected MySQL databases

How to add a path:

  1. Be sure to separate original content from stuff you have downloaded. Avoid backing up subversion checkouts and other reproducible items
  2. Run du --max-depth=1 -h in the directory, make sure the size does not exceed 50 mbyte
  3. Add the path to /etc/backup_includes
  4. If necessary, exclude subdirectories that do not need to be backed up
  5. Send an email to whoever is wearing the sysadmin hat, detailing what you have added and how much space it uses
  6. Ask for a restore every now and then

How to add a database:

  1. Look into /etc/cron.daily/backup
  2. Be sure /etc/cron.daily/backup is only readable by root
  3. Send an email to whoever is wearing the sysadmin hat, detailing what you have added

Backup on Artois

  • /var/lib/catalina_webapps/geoserver
  • /var/geoserver_data
  • Postgresql: ny_notes

Backup on Atlas

  • /home/* is backed up daily

Backup on Demo

No backup requests received

Backup on Publicus

No backup requests received