Operating System - HP-UX
1753970 Members
7521 Online
108811 Solutions
New Discussion юеВ

copy a software depot on a tape

 
SOLVED
Go to solution
Reinhard Burger
Frequent Advisor

copy a software depot on a tape

Hi out there

We have on one box a software depot that we have to copy to a tape for deliver it to the other side of the world. If we try to copy it over network ( approx 5 GByte) we will get famous inour company. Therefor we have to put it onto a tape. But unfortunally everything we tried failed.
swcopy does only allow to copy to another filesystem and if we do that over network we will block the line for more then 8 hours.
Is there anyway that we get the depot onto the tape in away that we are able to swinstall directly from tape ?

I already troed to search the knowledge base but somehow .... ( maybe i'm to silly)
keep it simple
6 REPLIES 6
Stefan Farrelly
Honored Contributor
Solution

Re: copy a software depot on a tape

The command to copy an sd depot to tape is swpackage;

swpackage -x target_type=tape -s @ /dev/rmt/0m
Im from Palmerston North, New Zealand, but somehow ended up in London...
Pete Randall
Outstanding Contributor

Re: copy a software depot on a tape

Maybe this is an old reference but I have a slightly different syntax:

swpackage -s /tmp/patch_depot -x target_type=tape -d /dev/rmt/0m


Pete


Pete
Pete Randall
Outstanding Contributor

Re: copy a software depot on a tape

Yes, that's outdated. Stefan's got the right syntax (of course!).


Pete


Pete
Elena Leontieva
Esteemed Contributor

Re: copy a software depot on a tape

Use swpackage command, something like:

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

Do man swpackage

Elena.
melvyn burnard
Honored Contributor

Re: copy a software depot on a tape

well I have also used dd in hte past, as long as the depot is complete:
dd if= of=/dev/rmt/0m bs=10k

Then test it by trying to do a swinstall from hte tape locally
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Reinhard Burger
Frequent Advisor

Re: copy a software depot on a tape

Thank you for your fast response

This helps a lot.
keep it simple