<?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: Can I maintain multiple TAR BACKUP of the same data onto the same tape without overwriting ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124018#M315212</link>
    <description>hi mawuena ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tar rvf /dev/rmt/omn yourfile_dir&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hasan</description>
    <pubDate>Thu, 03 Jan 2008 17:50:49 GMT</pubDate>
    <dc:creator>Hasan  Atasoy</dc:creator>
    <dc:date>2008-01-03T17:50:49Z</dc:date>
    <item>
      <title>Can I maintain multiple TAR BACKUP of the same data onto the same tape without overwriting ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124017#M315211</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have an existing TAR BACKUP on a tape. If I should perform again the same TAR BACKUP of the same data onto the same tape, will the old data be overwritten ?&lt;BR /&gt;Can I TAR backup the same data two times onto the same tape without overwriting the older one ?&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mawuena</description>
      <pubDate>Thu, 03 Jan 2008 17:43:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124017#M315211</guid>
      <dc:creator>Yaboto</dc:creator>
      <dc:date>2008-01-03T17:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I maintain multiple TAR BACKUP of the same data onto the same tape without overwriting ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124018#M315212</link>
      <description>hi mawuena ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tar rvf /dev/rmt/omn yourfile_dir&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hasan</description>
      <pubDate>Thu, 03 Jan 2008 17:50:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124018#M315212</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2008-01-03T17:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can I maintain multiple TAR BACKUP of the same data onto the same tape without overwriting ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124019#M315213</link>
      <description>- no points for this thread to me pleae.&lt;BR /&gt;previous answer is wrong since tar rvf does not support for tape .&lt;BR /&gt;&lt;BR /&gt;Hasan</description>
      <pubDate>Thu, 03 Jan 2008 17:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124019#M315213</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2008-01-03T17:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can I maintain multiple TAR BACKUP of the same data onto the same tape without overwriting ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124020#M315214</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;tar backup version1&lt;BR /&gt;mt &lt;DEVICE&gt; fsr&lt;BR /&gt;tar backup version2&lt;BR /&gt;mt &lt;DEVICE&gt; fsr&lt;BR /&gt;....&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;do not use rewind type of tape device&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Murat&lt;/DEVICE&gt;&lt;/DEVICE&gt;</description>
      <pubDate>Thu, 03 Jan 2008 17:53:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124020#M315214</guid>
      <dc:creator>Murat SULUHAN</dc:creator>
      <dc:date>2008-01-03T17:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can I maintain multiple TAR BACKUP of the same data onto the same tape without overwriting ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124021#M315215</link>
      <description>Bonsoir Mawuena,&lt;BR /&gt;&lt;BR /&gt;Yes you can do that by using drivers like /dev/rmt/0mn instead of /dev/rmt/0m and command mt.&lt;BR /&gt;&lt;BR /&gt;- driver /dev/rmt/0mn does not rewind the tape after closing.&lt;BR /&gt;&lt;BR /&gt;- mt gives you the possibility to forward/backward from tape files to tape files on the tape.&lt;BR /&gt;&lt;BR /&gt;- you must think in terms of "tape file" for each tar backup. That is : one tar = one tape file. &lt;BR /&gt;&lt;BR /&gt;Now, suppose you make your first backup like this :&lt;BR /&gt;&lt;BR /&gt;# mt -f /dev/rmt/0mn rew --&amp;gt; rewind the tape&lt;BR /&gt;# tar cvf /dev/rmt/0mn &lt;LISTETOSAVE&gt; --&amp;gt; do the first backup&lt;BR /&gt;&lt;BR /&gt;Now, you want to do a second backup, without overwriting the first one :&lt;BR /&gt;&lt;BR /&gt;# mt -f /dev/rmt/0mn rew --&amp;gt; rewind the tape&lt;BR /&gt;# mt -f /dev/rmt/0mn fsf 1 --&amp;gt; Skip first "tape file", in other words, skip first tar.&lt;BR /&gt;# tar cvf /dev/rmt/0mn &lt;LISTETOSAVE&gt; --&amp;gt; do the second backup &lt;BR /&gt;&lt;BR /&gt;Now you want to do a third backup :&lt;BR /&gt;&lt;BR /&gt;# mt -f /dev/rmt/0mn rew --&amp;gt; rewind the tape&lt;BR /&gt;# mt -f /dev/rmt/0mn fsf 2 --&amp;gt; Skip two  "tape file", in other words, skip tar number 1 and number 2&lt;BR /&gt;# tar cvf /dev/rmt/0mn &lt;LISTETOSAVE&gt; --&amp;gt; do the third backup &lt;BR /&gt;&lt;BR /&gt;Restore the second tar :&lt;BR /&gt;&lt;BR /&gt;# mt -f /dev/rmt/0mn rew --&amp;gt; rewind the tape&lt;BR /&gt;# mt -f /dev/rmt/0mn fsf 1 --&amp;gt; Skip first backup&lt;BR /&gt;# tar xvf /dev/rmt/0mn [&lt;LISTETORESTORE&gt;] --&amp;gt; restore the second backup.&lt;BR /&gt;&lt;BR /&gt;And so on ...&lt;BR /&gt;&lt;BR /&gt;The problem is that you must know exactly what is on your tape ...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;&lt;/LISTETORESTORE&gt;&lt;/LISTETOSAVE&gt;&lt;/LISTETOSAVE&gt;&lt;/LISTETOSAVE&gt;</description>
      <pubDate>Thu, 03 Jan 2008 18:00:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124021#M315215</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2008-01-03T18:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can I maintain multiple TAR BACKUP of the same data onto the same tape without overwriting ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124022#M315216</link>
      <description>Actually, the *only* dependable device files for tape positioning are the Berkeley device files. (see man mt) These device files will have a trailing "b" in the name and lssf /dev/rmt/* will report Berkeley rather than AT&amp;amp;T. The AT&amp;amp;T device files are not suited for precise tape manipulation.&lt;BR /&gt; &lt;BR /&gt;However, while you can append a tar backup to the end of a previous backup, it is a terrible idea. One mistake and you wipe out all of your backup data with no way to recover. And without very accurate records, there is no way to tell what is on the tape without a lot of work. And you can't really tell when you are going to run out of tape. TAR simply aborts leaving an incomplete record at the end of the tape.&lt;BR /&gt; &lt;BR /&gt;For a test box or playing around at home, you can experiment but for production, it is a very unstable way to backup data.</description>
      <pubDate>Fri, 04 Jan 2008 02:28:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124022#M315216</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-01-04T02:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can I maintain multiple TAR BACKUP of the same data onto the same tape without overwriting ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124023#M315217</link>
      <description>you can do tar -rv &lt;FILENAMES&gt;&lt;/FILENAMES&gt;</description>
      <pubDate>Fri, 04 Jan 2008 16:40:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124023#M315217</guid>
      <dc:creator>Lexxx</dc:creator>
      <dc:date>2008-01-04T16:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can I maintain multiple TAR BACKUP of the same data onto the same tape without overwriting ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124024#M315218</link>
      <description>"you can do tar -rv &lt;FILENAMES&gt;"&lt;BR /&gt;&lt;BR /&gt;nope...not to *tape*.  from "man tar"&lt;BR /&gt;&lt;BR /&gt;r&lt;BR /&gt;&lt;BR /&gt;Add the named file to the end of the    archive.  The same blocking factor used to create the archive must be used to append &lt;BR /&gt;to it. This option cannot be used if the archive is a tape.&lt;BR /&gt;&lt;BR /&gt;As noted previously, it can be done, but you need to keep track of the file positions yourself.  The only time I've ever done anything like this was when I was archiving several different directories of CAD files.  One directory per archive and they were written sequentially to a non-rewind device.&lt;BR /&gt;&lt;BR /&gt;I've never tried to append a new archive to an existing tape, as tapes are cheap and the consequences of an "off-by-one" error when appending are, potentially, disasterous.&lt;/FILENAMES&gt;</description>
      <pubDate>Fri, 04 Jan 2008 16:58:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124024#M315218</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-01-04T16:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can I maintain multiple TAR BACKUP of the same data onto the same tape without overwriting ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124025#M315219</link>
      <description>&amp;gt; The problem is that you must know exactly&lt;BR /&gt;&amp;gt; what is on your tape ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; the consequences of an "off-by-one" error&lt;BR /&gt;&amp;gt; when appending are, potentially,&lt;BR /&gt;&amp;gt; disasterous.&lt;BR /&gt;&lt;BR /&gt;It's been a long time since I used "tar" for&lt;BR /&gt;any serious backup work, but, as I recall, it&lt;BR /&gt;was pretty easy to use either "tar t" or&lt;BR /&gt;"mt fsf" to space ahead repeatedly until an&lt;BR /&gt;error status was returned.  At that point, a&lt;BR /&gt;potential disaster seems pretty unlikely&lt;BR /&gt;(assuming that you aren't using a rewinding&lt;BR /&gt;tape device).  Count 'em if you have doubts.&lt;BR /&gt;&lt;BR /&gt;What I _do_ use regularly is VMS BACKUP&lt;BR /&gt;(which includes a /[NO]REWIND qualifier and&lt;BR /&gt;named save sets), and it's hard not to feel&lt;BR /&gt;smug about it.  I routinely put about a&lt;BR /&gt;month's worth of daily incremental backups&lt;BR /&gt;onto one DLT cartridge.  I'd be really&lt;BR /&gt;annoyed if I had to change that tape every&lt;BR /&gt;day.  (Or if I had to guess which save set on&lt;BR /&gt;it went with any particular date.)</description>
      <pubDate>Fri, 04 Jan 2008 19:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-maintain-multiple-tar-backup-of-the-same-data-onto-the/m-p/4124025#M315219</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-01-04T19:48:28Z</dc:date>
    </item>
  </channel>
</rss>

