Operating System - HP-UX
1833777 Members
2216 Online
110063 Solutions
New Discussion

Restoring software packages to a base system

 
SOLVED
Go to solution
R o b
Occasional Advisor

Restoring software packages to a base system

I have a server built with a basic install and would like to restore all the software packages from a hp ignite tape backup of a system.

Is it possible to do something like this? Basically I want is a system restore, but over the base system instead of from scratch.
4 REPLIES 4
TTr
Honored Contributor

Re: Restoring software packages to a base system

> all the software packages

If you are talking about packages that were installed via the software distributor (swinstall), in general no you can not restore them in their installed state. You can easily restore files from the ignite tape but but they would not be registered in the new OS installed product database (swinstall/swlist). For example a particular software that was installed in the old system via swinstall, it may have files in /opt, /var/opt, /etc/opt and /usr/bin. You can easily restore all the files for this particular software but it would not show up in the new system an in "swlist" listing.
(Theoretically you could edit the IPD but let's not go there).

Any other software that was NOT installed via the swinstall method, you can very easily restore.
R o b
Occasional Advisor

Re: Restoring software packages to a base system

Can I easily list all the files in a package/depot?
SoorajCleris
Honored Contributor
Solution

Re: Restoring software packages to a base system

Hi,

#Can I list all files easly..

Ans: yes

list all files that are part of the X11 product
swlist -l file X11

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Dennis Handly
Acclaimed Contributor

Re: Restoring software packages to a base system

If you use ignite to restore your system, the IPD will be restored. If you don't restore the applications installed with swinstall, the system will be left in an inconsistent state.

>Can I easily list all the files in a package/depot?

swlist -l file -s /path-to-depot/depot