<?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: bad command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219302#M170040</link>
    <description>Are you doing this often?  that is do you want to sync them all the time?&lt;BR /&gt;&lt;BR /&gt;Why not use rdist?&lt;BR /&gt;&lt;BR /&gt;I do that for dr reasons for files that are non-SRDF...&lt;BR /&gt;&lt;BR /&gt;I have a script that I run from cron daily:&lt;BR /&gt;&lt;BR /&gt;#! /bin/sh&lt;BR /&gt;&lt;BR /&gt;# Keep the DRP copy of the vgpadm up-to-date.&lt;BR /&gt;# Currently the files are in:&lt;BR /&gt;#&lt;BR /&gt;#       /home/vgpadm&lt;BR /&gt;#&lt;BR /&gt;# See the rdist(1M) distfile for a list of exclusions.&lt;BR /&gt;&lt;BR /&gt;DRPDIR=/app/admin/drp&lt;BR /&gt;DRPHOST=svr0032&lt;BR /&gt;&lt;BR /&gt;mount | grep /home &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;if [ $? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;        ( su - vgpadm -c "rdist -f $DRPDIR/distfile vgpadm"; ) 2&amp;gt;&amp;amp;1 |\&lt;BR /&gt;                tee $DRPDIR/drp.log 2&amp;gt;&amp;amp;1 |\&lt;BR /&gt;                mailx -s "VGPADM DRP rdist output" me@mydomain.com&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;The distfile contains:&lt;BR /&gt;&lt;BR /&gt;VGPDR  = ( pc0032 )&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# File systems to be copied over to the DR host.&lt;BR /&gt;# Don't use -R in install - so as not to remove files on destination host&lt;BR /&gt;VGPADM   = /home/vgpadm&lt;BR /&gt;&lt;BR /&gt;vgpadm: ( ${VGPADM} ) -&amp;gt; ( ${VGPDR} )&lt;BR /&gt;        install -w ;&lt;BR /&gt;        except ${VGPADM}/logfiles;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 16 Mar 2004 09:45:47 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2004-03-16T09:45:47Z</dc:date>
    <item>
      <title>bad command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219296#M170034</link>
      <description>I have two HPUX servers and I am trying to PULL a directory from one server to another.  I need the permissions and user:group to stay the same(the files in the dir our owned by diff users).  Both systems have user:groups in sync.&lt;BR /&gt;&lt;BR /&gt;I am using this command:&lt;BR /&gt;remsh ngbva 'cd /oradata;tar cf - /oradata' | tar xf -&lt;BR /&gt;&lt;BR /&gt;It works great, but I am getting this error becouse the file is to darn big!&lt;BR /&gt;tar: Size of /oradata/VA/comp_1.dbf &amp;gt; 2GB.  Not dumped.&lt;BR /&gt;&lt;BR /&gt;Is there a better command to use? or how do I fix this?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2004 15:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219296#M170034</guid>
      <dc:creator>matthew mills</dc:creator>
      <dc:date>2004-03-15T15:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: bad command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219297#M170035</link>
      <description>Hi,&lt;BR /&gt; &lt;BR /&gt;you can use gtar (freeware) or you can search ITRC for the required patches so tar will handle files &amp;gt; 2GB.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Mon, 15 Mar 2004 15:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219297#M170035</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-03-15T15:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: bad command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219298#M170036</link>
      <description>There is a patch for tar that will allow files up to 8GB; you can also download and install the Gnu version of tar that will handle files up tp 8GB. 2GB is the native limit for tar. Anything beyond that breaks compatibility of tar across platforms. Gnu ois a good choice because it is available for a wide spectrum of platforms.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Plan B (and probably aq little faster and will handle files &amp;gt; 8GB): rather than a tar|tar pipeline, use an fbackup|frecover pipeline.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2004 15:48:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219298#M170036</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-03-15T15:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: bad command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219299#M170037</link>
      <description>I think I like PLAN B.  CAn you give me an example?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2004 17:03:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219299#M170037</guid>
      <dc:creator>matthew mills</dc:creator>
      <dc:date>2004-03-15T17:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: bad command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219300#M170038</link>
      <description>I do belive rcp works with &amp;gt;2gb files... but you will have to create the directories...</description>
      <pubDate>Mon, 15 Mar 2004 17:17:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219300#M170038</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-03-15T17:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: bad command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219301#M170039</link>
      <description>Hi,&lt;BR /&gt;You can use rcp -rp /dir hostname:/dirname&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Cheers</description>
      <pubDate>Tue, 16 Mar 2004 09:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219301#M170039</guid>
      <dc:creator>MRSG</dc:creator>
      <dc:date>2004-03-16T09:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: bad command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219302#M170040</link>
      <description>Are you doing this often?  that is do you want to sync them all the time?&lt;BR /&gt;&lt;BR /&gt;Why not use rdist?&lt;BR /&gt;&lt;BR /&gt;I do that for dr reasons for files that are non-SRDF...&lt;BR /&gt;&lt;BR /&gt;I have a script that I run from cron daily:&lt;BR /&gt;&lt;BR /&gt;#! /bin/sh&lt;BR /&gt;&lt;BR /&gt;# Keep the DRP copy of the vgpadm up-to-date.&lt;BR /&gt;# Currently the files are in:&lt;BR /&gt;#&lt;BR /&gt;#       /home/vgpadm&lt;BR /&gt;#&lt;BR /&gt;# See the rdist(1M) distfile for a list of exclusions.&lt;BR /&gt;&lt;BR /&gt;DRPDIR=/app/admin/drp&lt;BR /&gt;DRPHOST=svr0032&lt;BR /&gt;&lt;BR /&gt;mount | grep /home &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;if [ $? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;        ( su - vgpadm -c "rdist -f $DRPDIR/distfile vgpadm"; ) 2&amp;gt;&amp;amp;1 |\&lt;BR /&gt;                tee $DRPDIR/drp.log 2&amp;gt;&amp;amp;1 |\&lt;BR /&gt;                mailx -s "VGPADM DRP rdist output" me@mydomain.com&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;The distfile contains:&lt;BR /&gt;&lt;BR /&gt;VGPDR  = ( pc0032 )&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# File systems to be copied over to the DR host.&lt;BR /&gt;# Don't use -R in install - so as not to remove files on destination host&lt;BR /&gt;VGPADM   = /home/vgpadm&lt;BR /&gt;&lt;BR /&gt;vgpadm: ( ${VGPADM} ) -&amp;gt; ( ${VGPDR} )&lt;BR /&gt;        install -w ;&lt;BR /&gt;        except ${VGPADM}/logfiles;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Mar 2004 09:45:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219302#M170040</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-03-16T09:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: bad command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219303#M170041</link>
      <description>Another utility that you can use is rsync.  You will need to NFS mount the directory onto your server and run rsync.  rsync will sync the two filesystems completely, including deleting files that have been deleted on the source filesystem.  The great part is that after the origin sync, only the data that has changed will be transferred.</description>
      <pubDate>Tue, 16 Mar 2004 10:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-command/m-p/3219303#M170041</guid>
      <dc:creator>Ken Stallings</dc:creator>
      <dc:date>2004-03-16T10:00:35Z</dc:date>
    </item>
  </channel>
</rss>

