how do i externally record and retain the "discovery profile" configuration before upgrading NPM and NTA on the orion server