1827573 Members
2600 Online
109965 Solutions
New Discussion

swcopy depot to tape

 
SOLVED
Go to solution
Jerry_109
Super Advisor

swcopy depot to tape

HP-UX B.11.11 9000/800/A500-7X

Hello HP,
I have this existing depot on one of my servers as follows:

# swlist -l depot | grep Mas
/swdepot/PATS/11.11/MasterDepot_May05

I need to load this same depot onto another server, but I have to put it on tape first,
because there's no media ( lan ) connection
to the target ( new ) server.

I tried the following command, but it did not
work as follows :

# swcopy /swdepot/PATS/11.11/MasterDepot_May05 \* @ /dev/rmt/0m

Is there another command syntax I need to use?

Thanks for all your support.
Jerry Sims

2 REPLIES 2
Leif Halvarsson_2
Honored Contributor
Solution

Re: swcopy depot to tape

Hi,
Tape is not direct supported by swinstall/swcopy. You have to create a temporary depoth file and use tar or cpio for moving to tape.
Ermin Borovac
Honored Contributor

Re: swcopy depot to tape

swinstall/swcopy can only install/copy software from a tape depot.

To copy software to a tape depot one can use swpackage. The following example comes from swpackage man page.

Re-package the entire contents of the depot /var/spool/sw onto the tape at /dev/rmt/0m:

# swpackage -s /var/spool/sw -x media_type=tape @ /dev/rmt/0m