<?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 tar -r in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358485#M871180</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1st tar backup&lt;BR /&gt;tar cvf /dev/rmt/0m /tmp/a.txt&lt;BR /&gt;&lt;BR /&gt;2nd tar backup&lt;BR /&gt;tar -r cvf /dev/rmt/0m /tmp/b.txt&lt;BR /&gt;&lt;BR /&gt;Questions:&lt;BR /&gt;1) Is the above command and method correct if I want to append the file for the tar backup?&lt;BR /&gt;&lt;BR /&gt;2) I try to man tar and found out this:&lt;BR /&gt;&lt;BR /&gt;r    Add the named file to the end of the archive. The same blocking factor used to create the archive must be used to append to it. This option cannot be used if the archive is a tape.&lt;BR /&gt;&lt;BR /&gt;May I know what is this statement means?&lt;BR /&gt;&lt;BR /&gt;regards</description>
    <pubDate>Mon, 16 Aug 2004 23:00:57 GMT</pubDate>
    <dc:creator>Ngoh Chean Siung</dc:creator>
    <dc:date>2004-08-16T23:00:57Z</dc:date>
    <item>
      <title>tar -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358485#M871180</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1st tar backup&lt;BR /&gt;tar cvf /dev/rmt/0m /tmp/a.txt&lt;BR /&gt;&lt;BR /&gt;2nd tar backup&lt;BR /&gt;tar -r cvf /dev/rmt/0m /tmp/b.txt&lt;BR /&gt;&lt;BR /&gt;Questions:&lt;BR /&gt;1) Is the above command and method correct if I want to append the file for the tar backup?&lt;BR /&gt;&lt;BR /&gt;2) I try to man tar and found out this:&lt;BR /&gt;&lt;BR /&gt;r    Add the named file to the end of the archive. The same blocking factor used to create the archive must be used to append to it. This option cannot be used if the archive is a tape.&lt;BR /&gt;&lt;BR /&gt;May I know what is this statement means?&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Mon, 16 Aug 2004 23:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358485#M871180</guid>
      <dc:creator>Ngoh Chean Siung</dc:creator>
      <dc:date>2004-08-16T23:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: tar -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358486#M871181</link>
      <description>What the statement actually means is:&lt;BR /&gt;If your using a tape, you cannot add a second backup to the tape immediately following the first. You can only use something like an archive that is on disk.&lt;BR /&gt;&lt;BR /&gt;If you wish to append onto tapes cpio can be used.</description>
      <pubDate>Mon, 16 Aug 2004 23:04:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358486#M871181</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2004-08-16T23:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: tar -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358487#M871182</link>
      <description>First command will archieve the /tmp/a.txt file to tape disk. &lt;BR /&gt;&lt;BR /&gt;Second command can not work as stated in the man page " you have referred it as"&lt;BR /&gt;r Add the named file to the end of the archive. The same blocking factor used to create the archive must be used to append to it. This option cannot be used if the archive is a tape.&lt;BR /&gt;&lt;BR /&gt;We can use this option on disks not tape drives. As stated by tully you can use cpio too for this. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Aug 2004 23:49:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358487#M871182</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-08-16T23:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: tar -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358488#M871183</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;oic. Just wonder when we will use tar to put data into the hard disk?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Tue, 17 Aug 2004 00:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358488#M871183</guid>
      <dc:creator>Ngoh Chean Siung</dc:creator>
      <dc:date>2004-08-17T00:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: tar -r</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358489#M871184</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have used &lt;BR /&gt;tar -rvf &lt;DEVICE file=""&gt; &lt;FILE name=""&gt;&lt;BR /&gt;&lt;BR /&gt;This successfully appended the file to the tape and the existing data on the tape remains as well.&lt;BR /&gt;&lt;BR /&gt;I was not aware that this is not supported. But when you want to append, you should not use the block size.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;With regards,&lt;BR /&gt;Mohan.&lt;/FILE&gt;&lt;/DEVICE&gt;</description>
      <pubDate>Tue, 17 Aug 2004 01:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-r/m-p/3358489#M871184</guid>
      <dc:creator>Mohanasundaram_1</dc:creator>
      <dc:date>2004-08-17T01:27:08Z</dc:date>
    </item>
  </channel>
</rss>

