Changes between Version 155 and Version 156 of PuffinServer


Ignore:
Timestamp:
07/23/14 15:18:56 (2 years ago)
Author:
chris
Comment:

PuffinServer#Backups updated

Legend:

Unmodified
Added
Removed
Modified
  • PuffinServer

    v155 v156  
    364364}}} 
    365365 
    366 == Backupninja == 
     366== Backups == 
    367367 
    368368backupninja has been installed and two backup tasks have been configured in {{{/etc/backup.d/}}}, {{{10.sys}}} which does backups of system settings and {{{20.mysql}}} which dumps all the mysql databases into {{{/var/backups/mysql}}} and uses {{{/etc/mysql/debian.cnf}}} for authentication.  
    369369 
    370 In October 2013 we switched the servers filesystem to a ZFS server on the network, see ticket:593#comment:5 and now filesystem backups are done via ZFS snapshots so the rsync backup was disabled, see ticket:535#comment:22 
     370In October 2013 we switched the servers filesystem to a ZFS server on the network, see ticket:593#comment:5 and now filesystem backups are done via ZFS snapshots so the rsync backup was disabled, see ticket:535#comment:22 however these backups are not available to anyone apart from the Webarchitects sysadmin so on 23rd July 2014 on ticket:763 additional backups were set up, these are done via /usr/local/bin/agile-backup, see AgileBackup and people who have had their ssh public keys added can access these backups via SFTP: 
     371 
     372{{{ 
     373sftp tn-puffin@store1.webarch.net 
     374}}} 
     375 
     376The latest backups are in puffin.webarch.net and 60 days worth of snapshots are in ~/.zfs/, you can mount these backups locally, for example on Debian: 
     377 
     378{{{ 
     379aptitude install sshfs 
     380mkdir -p /media/tn-puffin 
     381chmod 700 /media/tn-puffin/ 
     382mkdir /media/tn-puffin/latest 
     383mkdir /media/tn-puffin/archive 
     384echo "sshfs#tn-puffin@store1.webarch.net:puffin.webarch.net /media/tn-puffin/latest fuse ro,nobootwait 0 0" >> /etc/fstab 
     385echo "sshfs#tn-puffin@store1.webarch.net::.zfs/snapshot /media/tn-puffin/archive fuse ro 0,nobootwait 0" >> /etc/fstab 
     386mount -a 
     387}}} 
    371388 
    372389== Postfix ==