<?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: Help in cpio needed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-in-cpio-needed/m-p/2420656#M70</link>
    <description>1) To backup the directory /home/users/xyz to /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;# cd /home/users/xyz&lt;BR /&gt;# find . -xdev -depth | cpio -ocx &amp;gt; /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;2) To list the files of that backup&lt;BR /&gt;# cpio -ictv &amp;lt; /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;3) cpio (1) doesn't support the append.  The backup utility that does support &lt;BR /&gt;append mode is tar (1).&lt;BR /&gt;&lt;BR /&gt;4) How to restore the tape on another system:&lt;BR /&gt;# cpio -iudmcx &amp;lt; /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;5) How to restore the file /etc/test.txt from tape to the directory &lt;BR /&gt;/home/users/xyz/test.txt&lt;BR /&gt;# cd /home/users/xyz&lt;BR /&gt;# cpio -icvdxumB &amp;lt; /dev/rmt/0m test.txt&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Atif</description>
    <pubDate>Thu, 30 Mar 2000 08:02:27 GMT</pubDate>
    <dc:creator>Atif Malik_2</dc:creator>
    <dc:date>2000-03-30T08:02:27Z</dc:date>
    <item>
      <title>Help in cpio needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-in-cpio-needed/m-p/2420655#M69</link>
      <description>Hi all,&lt;BR /&gt;I need the command options to backup several directories with cpio:&lt;BR /&gt;&lt;BR /&gt;1. How to backup the dir /home/users/xyz to /dev/rmt/0m&lt;BR /&gt;2. How to list the files of that Backup&lt;BR /&gt;3. How to add the dir /etc to that archive&lt;BR /&gt;4. How to restore the Tape on other system (e.g. IBM, or SUN)&lt;BR /&gt;5. How to restore the file /etc/test.txt from the stored Tape to the dir &lt;BR /&gt;/home/users/xyz/test.txt.&lt;BR /&gt;&lt;BR /&gt;Any help is nedded.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Daniel</description>
      <pubDate>Thu, 30 Mar 2000 00:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-in-cpio-needed/m-p/2420655#M69</guid>
      <dc:creator>Daniel Schneider_4</dc:creator>
      <dc:date>2000-03-30T00:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help in cpio needed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-in-cpio-needed/m-p/2420656#M70</link>
      <description>1) To backup the directory /home/users/xyz to /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;# cd /home/users/xyz&lt;BR /&gt;# find . -xdev -depth | cpio -ocx &amp;gt; /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;2) To list the files of that backup&lt;BR /&gt;# cpio -ictv &amp;lt; /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;3) cpio (1) doesn't support the append.  The backup utility that does support &lt;BR /&gt;append mode is tar (1).&lt;BR /&gt;&lt;BR /&gt;4) How to restore the tape on another system:&lt;BR /&gt;# cpio -iudmcx &amp;lt; /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;5) How to restore the file /etc/test.txt from tape to the directory &lt;BR /&gt;/home/users/xyz/test.txt&lt;BR /&gt;# cd /home/users/xyz&lt;BR /&gt;# cpio -icvdxumB &amp;lt; /dev/rmt/0m test.txt&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Atif</description>
      <pubDate>Thu, 30 Mar 2000 08:02:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-in-cpio-needed/m-p/2420656#M70</guid>
      <dc:creator>Atif Malik_2</dc:creator>
      <dc:date>2000-03-30T08:02:27Z</dc:date>
    </item>
  </channel>
</rss>

