backup script i wrote for work, nothing of any use to people who have DBs from after 2001 ;p