<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how do I ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697202#M57041</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt; Another quick way to copy is:&lt;BR /&gt;&lt;BR /&gt;find /opt | cpio -ov | compress - | ssh &lt;REMOTESYSTEM&gt; '(cd /; uncompress - | cpio -ivumd)'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj&lt;/REMOTESYSTEM&gt;</description>
    <pubDate>Thu, 04 Apr 2002 16:10:33 GMT</pubDate>
    <dc:creator>Roger Baptiste</dc:creator>
    <dc:date>2002-04-04T16:10:33Z</dc:date>
    <item>
      <title>how do I ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697197#M57036</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;How would I tar everything in the /opt directory, scp to another system and untar it in the same directory. Any help is greatly appreciated.</description>
      <pubDate>Thu, 04 Apr 2002 15:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697197#M57036</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2002-04-04T15:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: how do I ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697198#M57037</link>
      <description>cd /&lt;BR /&gt;tar cvf opt.tar opt/&lt;BR /&gt;rcp opt.tar SERVEUR:/&lt;BR /&gt;&lt;BR /&gt;on SERVEUR&lt;BR /&gt;cd /&lt;BR /&gt;tar xvf opt.tar</description>
      <pubDate>Thu, 04 Apr 2002 15:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697198#M57037</guid>
      <dc:creator>MARTINACHE</dc:creator>
      <dc:date>2002-04-04T15:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: how do I ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697199#M57038</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;# tar -cvf /tmp/opt.tar /opt&lt;BR /&gt;# rcp user_name@hostname:/tmp/opt.tar user_name@hostname:/tmp&lt;BR /&gt;# tar -xvf /tmp/opt.tar&lt;BR /&gt;&lt;BR /&gt;Check 'man rcp' for details. Also remember that overwriting all files in /opt can cause troubles, unless you have the same OS and applications. Check the file system spaces before doing these.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Thu, 04 Apr 2002 15:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697199#M57038</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-04T15:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: how do I ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697200#M57039</link>
      <description>Hi Sanman&lt;BR /&gt;&lt;BR /&gt;This is how it is to be done&lt;BR /&gt;1. cd /opt&lt;BR /&gt;2. tar cvf /dev/rmt/0m test *&lt;BR /&gt;3. rcp test abc:/ ( abc is the other server)&lt;BR /&gt;4. go to abc and do a tar xvf test.&lt;BR /&gt;&lt;BR /&gt;Please ensure you have plenty of space under /opt or in case you a another mount point just go ther and repeat the steps excpet give the full path when you do the tar .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Thu, 04 Apr 2002 15:47:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697200#M57039</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-04-04T15:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: how do I ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697201#M57040</link>
      <description>Sanman,&lt;BR /&gt;&lt;BR /&gt;It is not advisable to copy /opt filesystem as most of the softwares in /opt are installed via swinstall and you may get into problems later while you try to upgrade them.&lt;BR /&gt;&lt;BR /&gt;However, if you wish to continue, then it should be easy. I assume you have ssh access too.&lt;BR /&gt;&lt;BR /&gt;#cd /opt&lt;BR /&gt;#tar cf - . |ssh other_host \(cd /opt\; tar xf -\)&lt;BR /&gt;&lt;BR /&gt;If you want to use scp, you need to have a filesystem bigger than /opt where you need to temporarily dump the bundle.&lt;BR /&gt;&lt;BR /&gt;#tar cvf /somewhere/opt.tar /opt&lt;BR /&gt;#scp /somewhere/opt.tar other_host:/somewhere&lt;BR /&gt;&lt;BR /&gt;Login to the other host&lt;BR /&gt;#tar xvf /somewhere/opt.tar&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 04 Apr 2002 15:48:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697201#M57040</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-04T15:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: how do I ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697202#M57041</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; Another quick way to copy is:&lt;BR /&gt;&lt;BR /&gt;find /opt | cpio -ov | compress - | ssh &lt;REMOTESYSTEM&gt; '(cd /; uncompress - | cpio -ivumd)'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj&lt;/REMOTESYSTEM&gt;</description>
      <pubDate>Thu, 04 Apr 2002 16:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697202#M57041</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2002-04-04T16:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: how do I ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697203#M57042</link>
      <description>Sanman,&lt;BR /&gt;&lt;BR /&gt;What about just &lt;BR /&gt;&lt;BR /&gt;scp -rp /opt remotehost:/&lt;BR /&gt;&lt;BR /&gt;???&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 04 Apr 2002 17:30:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-i/m-p/2697203#M57042</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-04-04T17:30:25Z</dc:date>
    </item>
  </channel>
</rss>

