Support multiple backends, record pair_port in DB