Adding support for backing up the db