Aquarionics

/home/a/aquarion/sites/www.aquarionics.com/epistula/contrib/increment.sh

All my code (That is, anything not in the "Others" list on the right) is BSD licenced.

You can also view this page as text/plain or colour-coded source


#!/bin/bash

DATE=$(date +%Y-%m-%d)
WHERE=$HOME/backups

for DATABASE in "epistula" "klind"
do
    mysqldump -u aquarion $DATABASE > /tmp/today.txt
    bunzip2 -c $WHERE/$DATABASE/backup.bz2 > /tmp/backup.txt
    diff /tmp/backup.txt /tmp/today.txt | bzip2 -c > $WHERE/$DATABASE/diff.bz2
    rm /tmp/backup.txt /tmp/today.txt
done;


Using a heavily customised version of Tom's PHPCode2ValidXHTML Thing

Nicholas 'Aquarion' Avenell is a web developer in London, you can find out more about him or how to get in touch.

There are more Articles, Projects, Journal Entries, Photographs and things that defy description here, too.

If you're looking for something specific, there are Calendar & Category -based lists of everything.

And if you want to follow stuff that appears here, try a Syndication Feed, or the generic Feed of everything.


Aquarion's last Twitter was: [updating]
Twitter last updated


© 2000 to 2008 inclusive Nicholas Avenell
All comments are the property of their creators, published with permission
(Unless otherwise indicated, the opinions and sentiments expressed on this site are those of the author and not of any organisation of which he is an affiliate, including his employer. Caveat Lector, E&OE. sigh)
0.458 seconds, 1 queries, 2.57Mb on Wed, 08 Oct 2008 06:38:46 +0000, Not cached
Generated by Epistula Version 2.0.3