SAC:Backups

= Backups =

backup.osgeo.org
This the OSUOSL VM used for backups starting in 2010/04. It is used for rsync backups of various things (download.osgeo.org, osgeo1, ...), and backula backups of OSU OSL VMs.
 * Admins: Frank Warmerdam (rsync), Martin Spott (backula)
 * access is via SAC shell group.
 * download.osgeo.org rsync mirroring runs nightly and is externally available at download2.osgeo.org.
 * /osgeo/backup/backula is for backula backups
 * /osgeo/backup/rsync is for rsync backups
 * /osgeo/longterm is for long term backups of static material (ie conference web sites)

Bacula
Configuration as of June, 2011

A Full copy is made every Sat. with incremental backups nightly.

This consists of the following directories: File = /boot File = /etc File = /var/www File = /osgeo File = /var/lib/mysql File = /var/lib/postgresql File = /var/lib/dpkg File = /var/lib/aptitude/pkgstates From each of the following machines:
 * wiki,secure,web,trac,webextra,backup,qgis,projects,adhoc

current cron jobs for backups
/etc/cron.d/backup.cron

# 05 2 * * * root /root/scripts/daily.sh 45 */3 * * * root /root/scripts/backup_svn_incremental.sh 39 * * * * root /root/scripts/drupal_cron.sh
 * 1) Backup cron jobs
 * 2) min hour day month dayofweek user command
 * 1) 2am: Daily rsync to /home/back
 * 1) Every 3 hours
 * 2) /etc/mysql-zrm
 * 3) 33 */3 * * * root /usr/bin/rsync -a --delete /etc/mysql-zrm/ /home/back/etc/mysql-zrm/
 * 4) /var/lib/mysql-zrm
 * 5) 34 */3 * * * root /usr/bin/rsync -a --delete /var/lib/mysql-zrm/ /home/back/mysql-zrm/
 * 6) call backup_trac_svn.sh to backup
 * 7) subversion /var/www/svn/repos
 * 8) trac /var/www/trac
 * 1) 45 */3 * * * root /root/scripts/trac_backup.pl
 * 2) 45 */3 * * * root /root/scripts/backup_trac_svn.sh
 * 3) Thisdoes some hourly drupal/mysql optimization

backup script are in /root/scripts

osgeo3 & osgeo4
See: Infrastructure Transition Plan 2010

download.osgeo.org
As noted in Download Server the contents of download.osgeo.org are rsync'ed to osgeo2.

ProjectsVM
Bacula - we need details.

??? How does it work?

svn.osgeo.org
As noted in Subversion the subversion repository is mirrored using svn mirroring and does not need to be backed up otherwise.