Back-up function for database created

Dumps the database tables into 5 separate CSVs, 1 for each table.