script to dump aggregator config from portal db