<?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: CPIO selective restore in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945651#M412602</link>
    <description>cpio -icBvdum &amp;lt; /dev/rmt/0m '/opt/oracle/*' '/oradb/prod_0102'&lt;BR /&gt;</description>
    <pubDate>Thu, 08 Dec 2005 09:27:47 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2005-12-08T09:27:47Z</dc:date>
    <item>
      <title>CPIO selective restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945650#M412601</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;A customer of me, made a backup tape with the following command : "find / -print | cpio -ocB &amp;gt; /dev/rmt/0m". Now i want to restore only 2 mountpoints (Dirs) : /opt/oracle/* and /oradb/prod_0102/* &lt;BR /&gt;Is this possible with cpio, if yes can someone give te exact command ?.&lt;BR /&gt;&lt;BR /&gt;Thanks, Peter Hogenes&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Dec 2005 09:24:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945650#M412601</guid>
      <dc:creator>Peter Hogenes</dc:creator>
      <dc:date>2005-12-08T09:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO selective restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945651#M412602</link>
      <description>cpio -icBvdum &amp;lt; /dev/rmt/0m '/opt/oracle/*' '/oradb/prod_0102'&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Dec 2005 09:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945651#M412602</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-12-08T09:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO selective restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945652#M412603</link>
      <description>Hi A,&lt;BR /&gt;&lt;BR /&gt;I've started the command, no results yet. I guess it takes a long time to search the files on a DAT72 tape. Let you know monday....</description>
      <pubDate>Thu, 08 Dec 2005 10:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945652#M412603</guid>
      <dc:creator>Peter Hogenes</dc:creator>
      <dc:date>2005-12-08T10:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO selective restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945653#M412604</link>
      <description>Just like tar, pax and dump, the *entire* tape must be read to find the requested files. So the restore time will about be the same time as it took for the backup. Be careful not to kill the restore process when you see the file list staring during the restore--there may be more at another part of the tape or the current file listed is very large. It is impossible to know when a selective file restore has been completed with cpio (or tar, etc).&lt;BR /&gt; &lt;BR /&gt;This is one the most iomportant differences between fbackup (and commercial backup programs) and primitive Unix tools. fbackup knows where the files are located on the tape and uses a high speed search to position the tape.</description>
      <pubDate>Thu, 08 Dec 2005 10:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945653#M412604</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-12-08T10:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO selective restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945654#M412605</link>
      <description>Ooops, although it was obvious I left of the '*' of your second pattern.&lt;BR /&gt;&lt;BR /&gt;cpio -icBvdum &amp;lt; /dev/rmt/0m '/opt/oracle/*' '/oradb/prod_0102'&lt;BR /&gt;&lt;BR /&gt;should be:&lt;BR /&gt;&lt;BR /&gt;cpio -icBvdum &amp;lt; /dev/rmt/0m '/opt/oracle/*' '/oradb/prod_0102/*'&lt;BR /&gt;&lt;BR /&gt;By the way, it's always a good idea to do a&lt;BR /&gt;cpio -icBvt &amp;lt; /dev/rmt/0m first to list the files before actually trying to extract them so that you can see exactly what patterns are there (e.g ./opt as opposed to /opt).&lt;BR /&gt;&lt;BR /&gt;You should also modify your backup procedures to not use absolute pathnames because it is difficult to restore those to alternate locations.&lt;BR /&gt;&lt;BR /&gt;It's much better to&lt;BR /&gt;cd /&lt;BR /&gt;find . | cpio ...</description>
      <pubDate>Thu, 08 Dec 2005 10:59:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945654#M412605</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-12-08T10:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO selective restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945655#M412606</link>
      <description>Thanks guys,&lt;BR /&gt;&lt;BR /&gt;It works now. I found out that CPIO is not my favorite backup tool ;-)&lt;BR /&gt;But the customer is the boss.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Dec 2005 02:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945655#M412606</guid>
      <dc:creator>Peter Hogenes</dc:creator>
      <dc:date>2005-12-12T02:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: CPIO selective restore</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945656#M412607</link>
      <description>Problem solved. See thread</description>
      <pubDate>Mon, 12 Dec 2005 02:50:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpio-selective-restore/m-p/4945656#M412607</guid>
      <dc:creator>Peter Hogenes</dc:creator>
      <dc:date>2005-12-12T02:50:49Z</dc:date>
    </item>
  </channel>
</rss>

