Fixed backup system and db creation script