Changes between Version 32 and Version 33 of ParrotServer


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

Added documentation on the new ParrotServer#Backups

Legend:

Unmodified
Added
Removed
Modified
  • ParrotServer

    v32 v33  
    208208== Backups == 
    209209 
    210 The server is running backupninja, the config files for this are in {{{/etc/backup.d/}}}, {{{/etc/backup.d/20.mysql}}} which dumps all the !MySQL databases to {{{/var/backups/mysql}}} on 17th November 2013 we switched the servers filesystem to a ZFS server on the network and filesystem backups are not done via ZFS snapshots so the rsync backup was disabled, see ticket:535#comment:22. 
     210The server is running backupninja, the config files for this are in {{{/etc/backup.d/}}}, {{{/etc/backup.d/20.mysql}}} which dumps all the MySQL databases to {{{/var/backups/mysql}}}. 
     211 
     21217th November 2013 we switched the servers filesystem to a ZFS server on the network and filesystem backups are now 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: 
     213 
     214{{{ 
     215sftp tn-parrot@store1.webarch.net 
     216}}} 
     217 
     218The latest backups are in {{{parrot.webarch.net}}} and 60 days worth of snapshots are in {{{~/.zfs/}}}, you can mount these backups locally, for example on Debian: 
     219 
     220{{{ 
     221aptitude install sshfs 
     222mkdir -p /media/tn-puffin 
     223chmod 700 /media/tn-puffin/ 
     224mkdir /media/tn-puffin/latest 
     225mkdir /media/tn-puffin/archive 
     226echo "sshfs#tn-puffin@store1.webarch.net:puffin.webarch.net /media/tn-puffin/latest fuse ro,nobootwait 0 0" >> /etc/fstab 
     227echo "sshfs#tn-puffin@store1.webarch.net::.zfs/snapshot /media/tn-puffin/archive fuse ro 0,nobootwait 0" >> /etc/fstab 
     228mount -a 
     229}}} 
     230