<?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: Best way to copy files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037217#M906255</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You'll need to include a little more information...  What types of files are you copying, are you copying between disks on one server, or between servers?&lt;BR /&gt;&lt;BR /&gt;Personally, I tend to use the following for copying stuff between dirs on a box:&lt;BR /&gt;&lt;BR /&gt;find /sourcedir | cpio -pdmuxlv destdir&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
    <pubDate>Wed, 30 Jul 2003 13:59:34 GMT</pubDate>
    <dc:creator>Darren Prior</dc:creator>
    <dc:date>2003-07-30T13:59:34Z</dc:date>
    <item>
      <title>Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037215#M906253</link>
      <description>Which is the best (accurate and includes everything) and fastest way to copy files?</description>
      <pubDate>Wed, 30 Jul 2003 13:55:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037215#M906253</guid>
      <dc:creator>Theodore Alexopulos</dc:creator>
      <dc:date>2003-07-30T13:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037216#M906254</link>
      <description>If the database is down the cp command will work just fine.&lt;BR /&gt;&lt;BR /&gt;No matter what you do, you will have to know the layout of your database.  For oracle the files are rarely just sitting in the same directory.&lt;BR /&gt;&lt;BR /&gt;For copying between systems, avoid rcp it sometimes didn't work for me.&lt;BR /&gt;&lt;BR /&gt;scp, part of Secure Shell works fine.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 30 Jul 2003 13:59:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037216#M906254</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-30T13:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037217#M906255</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You'll need to include a little more information...  What types of files are you copying, are you copying between disks on one server, or between servers?&lt;BR /&gt;&lt;BR /&gt;Personally, I tend to use the following for copying stuff between dirs on a box:&lt;BR /&gt;&lt;BR /&gt;find /sourcedir | cpio -pdmuxlv destdir&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Wed, 30 Jul 2003 13:59:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037217#M906255</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2003-07-30T13:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037218#M906256</link>
      <description>I believe it was Bill Hassell who says the fastest way to copy is:&lt;BR /&gt;&lt;BR /&gt;$ cd /source_dir &lt;BR /&gt;$ find . | cpio -pudlmv /destination_dir &lt;BR /&gt;&lt;BR /&gt;omit v (verbose) option from cpio for more speed</description>
      <pubDate>Wed, 30 Jul 2003 14:00:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037218#M906256</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2003-07-30T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037219#M906257</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you mean copy for backup purposes, I prefer 'fbackup'.  There is automatic retry of files that cannot be backed up because they are changing at the moment of copy (although one hopes not!).  There is an index of files built and written to the front of the tape which makes later examination and/or recovery ('frecover') very easy.  You can do full and/r incremental backups and you can include and exclude files and/or directories with simple "graph" files.  See the man pages for 'fbackup' and 'frestore' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 30 Jul 2003 14:01:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037219#M906257</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-07-30T14:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037220#M906258</link>
      <description>database files. Database will be offline. About 1 TB on same server, different storage systems. &lt;BR /&gt;I am worrying for &lt;BR /&gt;a)the integrity of data&lt;BR /&gt;b) all required data will be copied</description>
      <pubDate>Wed, 30 Jul 2003 14:02:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037220#M906258</guid>
      <dc:creator>Theodore Alexopulos</dc:creator>
      <dc:date>2003-07-30T14:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037221#M906259</link>
      <description>To store a particular directory: &lt;BR /&gt;&lt;BR /&gt;# fbackup -f /dev/rmt/0m -i /tmp &lt;BR /&gt;&lt;BR /&gt;# find /tmp -print | cpio -oBv &amp;gt; /dev/rmt/0m &lt;BR /&gt;# find /etc | cpio -ov &amp;gt; /dev/rmt/0m &lt;BR /&gt;  &lt;BR /&gt;# tar cv /tmp ( for default device ) &lt;BR /&gt;# tar cvf /dev/rmt/1m /tmp (specify device)</description>
      <pubDate>Wed, 30 Jul 2003 14:03:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037221#M906259</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-30T14:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037222#M906260</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# cpio -pcmudv&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Wed, 30 Jul 2003 14:03:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037222#M906260</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-07-30T14:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037223#M906261</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;since it is on the same server, i would also consider doing the copy operations in parallel...&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Wed, 30 Jul 2003 17:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037223#M906261</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-07-30T17:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037224#M906262</link>
      <description>copy over network....&lt;BR /&gt;&lt;BR /&gt;on target machine&lt;BR /&gt;remsh &lt;SRC&gt; "cd &lt;SRC_DIR&gt;; tar cf - &lt;DIR&gt; | gzip - " | cd &lt;TGT_DIR&gt;; gunzip - | tar xf -&lt;BR /&gt;&lt;BR /&gt;This will effectively create a gzipped tar image of the source &amp;amp; simultanously transfer it acros the network &amp;amp; untar it.....  nice efficient &amp;amp; simple only in concept.....(probaly be in the offing for the Obfucated perl/tar competition)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim&lt;/TGT_DIR&gt;&lt;/DIR&gt;&lt;/SRC_DIR&gt;&lt;/SRC&gt;</description>
      <pubDate>Wed, 30 Jul 2003 19:35:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037224#M906262</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-07-30T19:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037225#M906263</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;Using tar is fast:&lt;BR /&gt;tar cf - &lt;SRCDIR&gt; | (cd &lt;DISDIR&gt;; tar xf -)&lt;BR /&gt;&lt;BR /&gt;But if you will give more information about&lt;BR /&gt;the copy that you intresting it maybe change&lt;BR /&gt;the answer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Caesar&lt;/DISDIR&gt;&lt;/SRCDIR&gt;</description>
      <pubDate>Wed, 30 Jul 2003 19:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037225#M906263</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-07-30T19:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037226#M906264</link>
      <description>fast?? this what we do here.I assume you trying to archive minimum down time for the database.For database cold backup,we copy the datafile to the disk.As the disk is big we used a gzip.&lt;BR /&gt;&lt;BR /&gt;So the step are :&lt;BR /&gt;&lt;BR /&gt;1) shutdown database.&lt;BR /&gt;2) copy to the disk.&lt;BR /&gt;3) startup database.&lt;BR /&gt;4) copy the disk to tape.&lt;BR /&gt;&lt;BR /&gt;For a critical machine,we do :&lt;BR /&gt;&lt;BR /&gt;1) shutdown database.&lt;BR /&gt;2) split the mirror.&lt;BR /&gt;3) start the database.&lt;BR /&gt;4) mount the split mirror.&lt;BR /&gt;5) backup the mirror to tape.&lt;BR /&gt;6) join back the mirror.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;mB&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jul 2003 02:32:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037226#M906264</guid>
      <dc:creator>malay boy</dc:creator>
      <dc:date>2003-07-31T02:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to copy files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037227#M906265</link>
      <description>I will exclude -v options in cpio for better speed.</description>
      <pubDate>Thu, 31 Jul 2003 03:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/best-way-to-copy-files/m-p/3037227#M906265</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-07-31T03:11:07Z</dc:date>
    </item>
  </channel>
</rss>

