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. |
| 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}}}. |
| 211 | |
| 212 | 17th 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 | {{{ |
| 215 | sftp tn-parrot@store1.webarch.net |
| 216 | }}} |
| 217 | |
| 218 | The 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 | {{{ |
| 221 | aptitude install sshfs |
| 222 | mkdir -p /media/tn-puffin |
| 223 | chmod 700 /media/tn-puffin/ |
| 224 | mkdir /media/tn-puffin/latest |
| 225 | mkdir /media/tn-puffin/archive |
| 226 | echo "sshfs#tn-puffin@store1.webarch.net:puffin.webarch.net /media/tn-puffin/latest fuse ro,nobootwait 0 0" >> /etc/fstab |
| 227 | echo "sshfs#tn-puffin@store1.webarch.net::.zfs/snapshot /media/tn-puffin/archive fuse ro 0,nobootwait 0" >> /etc/fstab |
| 228 | mount -a |
| 229 | }}} |
| 230 | |