Even if the script breaks in case of an error of - dump creation - dump compression - dump transportation - etc. the clean up should be possible to not leave broken dumps on the system.