I have a server that I'm about to upgrade from Sol8 to Sol10.
One of the application on the server was installed using pkgadd - so pkginfo still displays the info. The files for that package is no longer available.
What files or contents do I need to backup, then restore later if I want to be able to display that application using pkginfo?
The package information is in /var/sadm/pkg IIRC. There will also be package related lines in /var/sadm/install/contents, use "grep <pkgname> /var/sadm/install/contents" to pull out the files directories and symbolic links realtiing to your package.
Reconstructing the package as mentioned by reborg above would be the best policy.