provide a before destroy trigger that can run the back up script