Added progress bar when dumping the database in create-resume-point