<?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 checking fbackup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-fbackup/m-p/2981850#M122265</link>
    <description>Hi all&lt;BR /&gt;How can I check a fbackup and a make_recovery tape? How I know, that the backup was successfully?&lt;BR /&gt;I know, that a make_recovery tape can be checked with 'sea ipl' by booting. If there more possibilities and what is the best solution for fbackup?&lt;BR /&gt;&lt;BR /&gt;Thanks  Konrad</description>
    <pubDate>Mon, 26 May 2003 14:07:18 GMT</pubDate>
    <dc:creator>Konrad Hegner</dc:creator>
    <dc:date>2003-05-26T14:07:18Z</dc:date>
    <item>
      <title>checking fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-fbackup/m-p/2981850#M122265</link>
      <description>Hi all&lt;BR /&gt;How can I check a fbackup and a make_recovery tape? How I know, that the backup was successfully?&lt;BR /&gt;I know, that a make_recovery tape can be checked with 'sea ipl' by booting. If there more possibilities and what is the best solution for fbackup?&lt;BR /&gt;&lt;BR /&gt;Thanks  Konrad</description>
      <pubDate>Mon, 26 May 2003 14:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-fbackup/m-p/2981850#M122265</guid>
      <dc:creator>Konrad Hegner</dc:creator>
      <dc:date>2003-05-26T14:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: checking fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-fbackup/m-p/2981851#M122266</link>
      <description>HI,&lt;BR /&gt;the best solution is to do a&lt;BR /&gt;/usr/sbin/frecover -f $TAPE -I $I/DDS.indice &lt;BR /&gt;&lt;BR /&gt;where $TAPE is your tape device and&lt;BR /&gt;$I is a directory.&lt;BR /&gt;&lt;BR /&gt;this will create an index of what you have backup  up.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 May 2003 14:19:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-fbackup/m-p/2981851#M122266</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-05-26T14:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: checking fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-fbackup/m-p/2981852#M122267</link>
      <description>Hi Konrad:&lt;BR /&gt;&lt;BR /&gt;'fbackup' will exist with one of four return values when run:&lt;BR /&gt;&lt;BR /&gt;0 = normal end-of-task&lt;BR /&gt;1 = interrupted run; restart possible&lt;BR /&gt;2 = errors occured&lt;BR /&gt;4 = warnings noted&lt;BR /&gt;&lt;BR /&gt;Thus, you can consider the run successful for return values zero or four.  Personally, I like to do 'fbackup' with the '-V path' option to produce volume header information written to 'path' if the backup is successful.  The file so specified is written by fbackup *ONLY* upon sucessful completion, and thus serves as a useful marker to distinguish between a "normal" completion without an actual backup (e.g. an operator aborted the session for a missing tape), and a truly, successful backup.  See the 'fbackup' man pages for more information.&lt;BR /&gt;&lt;BR /&gt;In addition to the above, you can leverage 'frecover' to further verify a 'fbackup'.  Simply run 'frecover' with the '-N' option.  This prevents an actual recovery of any files to disk, but reads the backup tape as if it was, in fact, recovering the data, producing the same output that it would during a normal recovery.  This option is useful for verifying backup media contents in terms of validity (block checksum errors are reported), and contents (a listing of files can be produced by using the '-N' and '-v' options together).&lt;BR /&gt;See the 'frecover' man pages for more detail, too.&lt;BR /&gt;&lt;BR /&gt;For Ignite 'make_tapeA_recovery' tapes, you can read the tape and produce a directory listing fo "verify" tape integrity:&lt;BR /&gt;&lt;BR /&gt;# mt -t /dev/rmt/0mn fsf 1&lt;BR /&gt;# tar -xvf /dev/rmt/0m filename&lt;BR /&gt;&lt;BR /&gt;Of course, when Ignite 'make_tape_recovery' runs, it reports its success or failure with a standard return code.  It also records its events in '/var/opt/ignite/recovery/latest/recovery.log' which can easily be examined and/or parsed.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 26 May 2003 14:37:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-fbackup/m-p/2981852#M122267</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-05-26T14:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: checking fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-fbackup/m-p/2981853#M122268</link>
      <description>Hi Konrad,&lt;BR /&gt;&lt;BR /&gt;You can recover the 'index' of the files backed up by using the "-I" option of frecover command. However, it is not a true verification of the backup as fbackup writes the index first and then the contents.&lt;BR /&gt;&lt;BR /&gt;So, I would suggest to use "-N" (no recovery)option. See the man page details.&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/frecover -f /dev/rmt/0m -Nrov &lt;BR /&gt;&lt;BR /&gt;For make_tape_recovery, there are two things to verify. &lt;BR /&gt;&lt;BR /&gt;1. Boot Area&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rmt/0mn of=/somewhere/bootarea bs=2k&lt;BR /&gt;&lt;BR /&gt;Use the regular "lifls" and "lifcp" commands on bootarea file to verify the contents.&lt;BR /&gt;&lt;BR /&gt;2. File data details&lt;BR /&gt;&lt;BR /&gt;mt -t /dev/rmt/0mn rew&lt;BR /&gt;mt -t /dev/rmt/0mn fsf 1&lt;BR /&gt;tar tvf /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 May 2003 14:39:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-fbackup/m-p/2981853#M122268</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-05-26T14:39:52Z</dc:date>
    </item>
  </channel>
</rss>

