Database backup and restore

Classes and functions to create, delete and restore database dumps.