<?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: Major issue with script backup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167788#M320857</link>
    <description>Each fbackup command wrote on top of all the previous backups. This is by design so that the complete contents of the tape can be seen in the index. This would be the correct command:&lt;BR /&gt; &lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /oradata -i /volume/tcae/pi_vol -i /volume/tcae/tds_vol2 /volume/tcae/msail_vol -i /volume/tcae/pe_vol2 -i /volume/tcae/remote_vol -i /volume/tcae/eng_vol2 -i /volume1 -i /volume2  -i /exp -i /appl -i /exec -i /fort 2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt; &lt;BR /&gt;Unlike archaic Unix tools such as cpio and tar, the tape is ALWAYS rewound by fbackup at the beginning. There is no append in fbackup. Every file on the tape created by fbackup is first put into the index at the front of the tape. This means that you can always identify exactly what is on the tape. This index is instantly available with frecover -I and provides very high speed restores by telling frecover how far to position the tape to restore a particular file or directory.</description>
    <pubDate>Wed, 26 Mar 2008 15:22:11 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2008-03-26T15:22:11Z</dc:date>
    <item>
      <title>Major issue with script backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167784#M320853</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am facing a very critical condition. Actually i am taking backup of my HP-UX 11.23 server through which is mentioned below.&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/rmt/2mn rew&lt;BR /&gt;echo "Dump Started at  \c"&lt;BR /&gt;echo "`date +%D` \c"&lt;BR /&gt;echo "`date +%T` "&lt;BR /&gt;#remove_arch.sh&lt;BR /&gt;#remove_arch.sh&lt;BR /&gt;logfile=bkpfbk_`date +"%b_%d"`&lt;BR /&gt;logfile1=bkp1_`date +"%b_%d"`&lt;BR /&gt;###########################################################&lt;BR /&gt;#file system for full backup&lt;BR /&gt;##################################################################&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /oradata 2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /volume/tcae/pi_vol 2&amp;gt;&amp;amp;1 |tee  -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /volume/tcae/tds_vol2 2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /volume/tcae/dba_vol2  2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /volume/tcae/msail_vol  2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /volume/tcae/pe_vol2  2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /volume/tcae/remote_vol  2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /volume/tcae/eng_vol2  2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /volume1  2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /volume2  2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /exp 2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /appl 2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /exec 2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /fort 2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;&lt;BR /&gt;sh /home/dump/bin/mktar.sh&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /volume/cico/cico.tar  2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;echo "Sucessfully Completed \c"&lt;BR /&gt;echo "`date +%D` \c"&lt;BR /&gt;echo "`date +%T` "&lt;BR /&gt;cp $ORACLE_BASE/backup/nohup.out $ORACLE_BASE/backup/backup.log&lt;BR /&gt;$ORACLE_BASE/jobs/sysmonitor/timestamp.sh &amp;gt;&amp;gt; $ORACLE_BASE/backup/backup.log&lt;BR /&gt;cat $logfile &amp;gt;&amp;gt; $HOME/backup/backup.log&lt;BR /&gt;&lt;BR /&gt;after completion of this script it shows backup completed successfully.But when i am generating catalogs through&lt;BR /&gt;&lt;BR /&gt;frecover -I /tmp/catalog.txt -v -f /dev/rmt/2mn command it shows only &lt;BR /&gt;/volume/cico/cico.tar&lt;BR /&gt;&lt;BR /&gt;I don't what is happening what is wrong with the script and I think that it is rewinding the tape after completion of on file system backup.&lt;BR /&gt;&lt;BR /&gt;Please suggest me what to do.&lt;BR /&gt;ASAP&lt;BR /&gt;&lt;BR /&gt;regards,</description>
      <pubDate>Wed, 26 Mar 2008 04:02:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167784#M320853</guid>
      <dc:creator>tayal_sumit</dc:creator>
      <dc:date>2008-03-26T04:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Major issue with script backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167785#M320854</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Please refer to the following URL:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90672/ch09s05.html" target="_blank"&gt;http://docs.hp.com/en/B2355-90672/ch09s05.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Pay special attention to the following statement:&lt;BR /&gt;&lt;BR /&gt;Multiple, independent backups on a single tape:&lt;BR /&gt;Not possible (fbackup rewinds the tape).&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Wed, 26 Mar 2008 05:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167785#M320854</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-03-26T05:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Major issue with script backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167786#M320855</link>
      <description>&amp;gt;I am taking backup of my HP-UX 11.23 server through which is mentioned below.&lt;BR /&gt;&lt;BR /&gt;I'm not sure you can put multiple backups on your norewind tape?  I'm not sure if frecover can figure out what you did.  Or you would have to use mt(1) to space to each part before you do frecover(1)?&lt;BR /&gt;&lt;BR /&gt;As documented, why not pass in multiple -i paths so you don't need to repeat fbackup over and over?&lt;BR /&gt;&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /oradata \&lt;BR /&gt;-i /volume/tcae/pi_vol \&lt;BR /&gt;-i /volume/tcae/tds_vol2 \&lt;BR /&gt;-i /volume/tcae/dba_vol2 \&lt;BR /&gt;-i /volume/tcae/msail_vol \&lt;BR /&gt;-i /volume/tcae/pe_vol2 \&lt;BR /&gt;-i /volume/tcae/remote_vol \&lt;BR /&gt;-i /volume/tcae/eng_vol2 \&lt;BR /&gt;-i /volume1 \&lt;BR /&gt;-i /volume2 \&lt;BR /&gt;-i /exp \&lt;BR /&gt;-i /appl \&lt;BR /&gt;-i /exec \&lt;BR /&gt;-i /fort 2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt;&lt;BR /&gt;(Note: I would suggest you not use tee.  Just send the output to $logfile and cat it to stdout if you want to see another copy.)</description>
      <pubDate>Wed, 26 Mar 2008 05:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167786#M320855</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-03-26T05:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Major issue with script backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167787#M320856</link>
      <description>Hi Taval:&lt;BR /&gt;&lt;BR /&gt;You can get some information on tape devices under 'man mt'.  Regarding rewinding, I'd change this,&lt;BR /&gt;&lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn&lt;BR /&gt;&lt;BR /&gt;...to...&lt;BR /&gt;&lt;BR /&gt;/dev/rmt/2m&lt;BR /&gt;&lt;BR /&gt;2mn = no rewind&lt;BR /&gt;2m = rewind</description>
      <pubDate>Wed, 26 Mar 2008 11:16:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167787#M320856</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2008-03-26T11:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Major issue with script backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167788#M320857</link>
      <description>Each fbackup command wrote on top of all the previous backups. This is by design so that the complete contents of the tape can be seen in the index. This would be the correct command:&lt;BR /&gt; &lt;BR /&gt;fbackup -0uvf /dev/rmt/2mn -i /oradata -i /volume/tcae/pi_vol -i /volume/tcae/tds_vol2 /volume/tcae/msail_vol -i /volume/tcae/pe_vol2 -i /volume/tcae/remote_vol -i /volume/tcae/eng_vol2 -i /volume1 -i /volume2  -i /exp -i /appl -i /exec -i /fort 2&amp;gt;&amp;amp;1 |tee -a $logfile&lt;BR /&gt; &lt;BR /&gt;Unlike archaic Unix tools such as cpio and tar, the tape is ALWAYS rewound by fbackup at the beginning. There is no append in fbackup. Every file on the tape created by fbackup is first put into the index at the front of the tape. This means that you can always identify exactly what is on the tape. This index is instantly available with frecover -I and provides very high speed restores by telling frecover how far to position the tape to restore a particular file or directory.</description>
      <pubDate>Wed, 26 Mar 2008 15:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/major-issue-with-script-backup/m-p/4167788#M320857</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-03-26T15:22:11Z</dc:date>
    </item>
  </channel>
</rss>

