Michael -
Not a script really. If you look at the device template you'll see the following line:
<Command Name="DownloadConfigIndirect" Value="write net ${StorageAddress}:/${StorageFilename}"/>
When I set the connection profile "Transfer Config Using" value to TFTP it ends up logging into the ASA via ssh and executing a "write net [tftp server IP address]:/[temporary file name]" command. That command TFTP's a copy of the config to a temporary file on the TFTP server and then sucking it into the NPM/NCM database, before deleting that temporary file.
I guess the caveat is that you have to have a TFTP server running on the Solarwinds server. We happen to have that running because we use it as a location for software image uploads, etc.
We have actually switched to TFTP config backup on probably 20% of our NPM/NCM nodes to either correct an issue (e.g. Dell switches) or to allow for some screwball task we were trying to accomplish (template file generation and download).
I hope that helps.
Ben