backup db before trying to delete images