Categories
Twitter

Automated twitter compilation up to 01 March 2015

Arbitrary tweets made by TheGingerDog up to 01 March 2015

Categories
postgresql python

PostgreSQL Backup script (python)

Perhaps the following will be of use to others. In a nutshell, it’s a python script which backs up a provided list of PostgreSQL databases. I’ve written it for Windows, but it should work on Linux too (just change the paths in the BACKUP_DIR and dumper variables. No doubt it could be changed to query […]

Categories
python

Automated snapshot backup of an Amazon EBS volume

I found the following Python script online, but it didn’t really work too well : http://aws-musings.com/manage-ebs-snapshots-with-a-python-script/ EBS – Elastic Block Storage … I had to easy_install boto, to get it to work. I’m not sure the Debian python-boto package in Lenny is up to date. Anyway, $server now has : from boto.ec2.connection import EC2Connection from […]