<?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 on fbackup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069118#M307243</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Be sure to specify your own configuration file for 'fbackup'. The default values that you will otherwise obtain are out-dated and will generally give very poor performance during backup and recovery. Build a configuration file that looks something like:&lt;BR /&gt;&lt;BR /&gt;blocksperrecord 4096&lt;BR /&gt;records 64&lt;BR /&gt;checkpointfreq 4096&lt;BR /&gt;readerprocesses 6&lt;BR /&gt;maxretries 5&lt;BR /&gt;retrylimit 5000000&lt;BR /&gt;maxvoluses 200&lt;BR /&gt;filesperfsm 2000&lt;BR /&gt;&lt;BR /&gt;The manpages for 'fbackup(1M)' document the default settings which is what you will get in the *absence* of an explicily defined set.&lt;BR /&gt;&lt;BR /&gt;These parameters are recorded onto the actual backup tape and are thus used for a 'frecover' session too. &lt;BR /&gt;&lt;BR /&gt;Checkpoint records allow the salvage of a backup when a bad tape spot is detected, since the records contain information about the file being backed up. The 'filesperfsm' parameter controls the frequency with which Fast Search Marks (FSM) are written. Both checkpoint and FSM records affect performance. FSMs take a tape drive out of streaming mode thereby adding to backup time. Conversely, however, FSMs improve the time it take to recover a file from tape. &lt;BR /&gt;&lt;BR /&gt;In general, if your backup consists of a high proportion of small files, increase the value for 'filesperfsm'. If your backup consists of a high proportion of large files, then decrease the 'filesperfsm' value. &lt;BR /&gt;&lt;BR /&gt;Compression is done by the tape drive device and is highly data dependent.&lt;BR /&gt;&lt;BR /&gt;As for the '-g' (graph) option, specify a graph file that looks like:&lt;BR /&gt;&lt;BR /&gt;i /&lt;BR /&gt;e /cdrom&lt;BR /&gt;e /dvdrom&lt;BR /&gt;&lt;BR /&gt;This would include *everything* in the root directory and below except CD and DVDROM mountpoints.  You can freely include and exclude directories and files.  You can include a directory at its base level and exclude subdirectories of it.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 11 Sep 2007 19:55:46 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2007-09-11T19:55:46Z</dc:date>
    <item>
      <title>Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069117#M307242</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like a script to do fbackup and having gone thru the "man" pages and examples, I'm left with more questions and I hope someone would enlighten me. For example :&lt;BR /&gt;&lt;BR /&gt;1) I would like to backup in LTO3. What parameters should I include in the config (-c switch)? What's the default if I do not include this? Do I need to worry about compression?&lt;BR /&gt;&lt;BR /&gt;2) If I do not include the -g option to include the graph, does it mean that nothing will be backed up? Likewise, if I were to include it, does it mean I have to specify all the path (i option) that's to be backed up?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Sep 2007 19:38:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069117#M307242</guid>
      <dc:creator>so.nimda</dc:creator>
      <dc:date>2007-09-11T19:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069118#M307243</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Be sure to specify your own configuration file for 'fbackup'. The default values that you will otherwise obtain are out-dated and will generally give very poor performance during backup and recovery. Build a configuration file that looks something like:&lt;BR /&gt;&lt;BR /&gt;blocksperrecord 4096&lt;BR /&gt;records 64&lt;BR /&gt;checkpointfreq 4096&lt;BR /&gt;readerprocesses 6&lt;BR /&gt;maxretries 5&lt;BR /&gt;retrylimit 5000000&lt;BR /&gt;maxvoluses 200&lt;BR /&gt;filesperfsm 2000&lt;BR /&gt;&lt;BR /&gt;The manpages for 'fbackup(1M)' document the default settings which is what you will get in the *absence* of an explicily defined set.&lt;BR /&gt;&lt;BR /&gt;These parameters are recorded onto the actual backup tape and are thus used for a 'frecover' session too. &lt;BR /&gt;&lt;BR /&gt;Checkpoint records allow the salvage of a backup when a bad tape spot is detected, since the records contain information about the file being backed up. The 'filesperfsm' parameter controls the frequency with which Fast Search Marks (FSM) are written. Both checkpoint and FSM records affect performance. FSMs take a tape drive out of streaming mode thereby adding to backup time. Conversely, however, FSMs improve the time it take to recover a file from tape. &lt;BR /&gt;&lt;BR /&gt;In general, if your backup consists of a high proportion of small files, increase the value for 'filesperfsm'. If your backup consists of a high proportion of large files, then decrease the 'filesperfsm' value. &lt;BR /&gt;&lt;BR /&gt;Compression is done by the tape drive device and is highly data dependent.&lt;BR /&gt;&lt;BR /&gt;As for the '-g' (graph) option, specify a graph file that looks like:&lt;BR /&gt;&lt;BR /&gt;i /&lt;BR /&gt;e /cdrom&lt;BR /&gt;e /dvdrom&lt;BR /&gt;&lt;BR /&gt;This would include *everything* in the root directory and below except CD and DVDROM mountpoints.  You can freely include and exclude directories and files.  You can include a directory at its base level and exclude subdirectories of it.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 11 Sep 2007 19:55:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069118#M307243</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-09-11T19:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069119#M307244</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;Thanks for taking the time to provide the very detailed reply.  :)&lt;BR /&gt;&lt;BR /&gt;I will try out your suggestions.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 11 Sep 2007 20:34:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069119#M307244</guid>
      <dc:creator>so.nimda</dc:creator>
      <dc:date>2007-09-11T20:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069120#M307245</link>
      <description>Oh.. one more thing...&lt;BR /&gt;&lt;BR /&gt;Does anyone know where else I can find documentation on fbackup and it's switches/options besides manpages?&lt;BR /&gt;&lt;BR /&gt;I've downloaded the the HPUX Sys Admin Guide from hp.docs website but there's not much info there.&lt;BR /&gt;&lt;BR /&gt;Appreciate any input.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Sep 2007 20:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069120#M307245</guid>
      <dc:creator>so.nimda</dc:creator>
      <dc:date>2007-09-11T20:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069121#M307246</link>
      <description>&amp;gt;Does anyone know where else I can find documentation on fbackup and it's switches/options besides manpages?&lt;BR /&gt;&lt;BR /&gt;google finds HP-UX System Administration Tasks: HP 9000:&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B2355-90672/ch09.html" target="_blank"&gt;http://www.docs.hp.com/en/B2355-90672/ch09.html&lt;/A&gt;&lt;BR /&gt;Backing Up Your Data Using HP-UX Commands&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B2355-90672/ch09s08.html" target="_blank"&gt;http://www.docs.hp.com/en/B2355-90672/ch09s08.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Sep 2007 21:38:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069121#M307246</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-09-11T21:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069122#M307247</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I am using fbackup also and sent to a tape: here the entry that I put on my script and it is working as I have done a disaster recovery:&lt;BR /&gt;# Perform a full backup with FBACKUP HP-UX command&lt;BR /&gt;/usr/bin/mt -f /dev/rmt/0mn rew 1&amp;gt;&amp;gt;$LOG 2&amp;gt;&amp;gt;$LOG&lt;BR /&gt;/usr/sbin/fbackup -f /dev/rmt/0m -i / -e /var/spool/sockets/pwgr -I $logdir/index.fullbackup 1&amp;gt;$logdir/fbackup.msg 2&amp;gt;&amp;amp;1&lt;BR /&gt;success=$?&lt;BR /&gt;&lt;BR /&gt;case $success in&lt;BR /&gt;   0)&lt;BR /&gt;      echo "BACKUP SUCCESSFUL" &lt;BR /&gt;      /usr/bin/mt -f /dev/rmt/0mn offl 1&amp;gt;&amp;gt;$LOG 2&amp;gt;&amp;gt;$LOG&lt;BR /&gt;      ;;&lt;BR /&gt;   4)&lt;BR /&gt;      echo"BACKUP SUCCESSFUL ending with warnings. See logs $logdir/fbackup.msg "&lt;BR /&gt;      /usr/bin/mt -f /dev/rmt/0mn offl 1&amp;gt;&amp;gt;$LOG 2&amp;gt;&amp;gt;$LOG&lt;BR /&gt;      ;;&lt;BR /&gt;   *)&lt;BR /&gt;      echo "ERROR: Return Code is $success BACKUP MAY HAVE FAILED !!!!!!!!!!!"&lt;BR /&gt;     ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;Cheers &lt;BR /&gt;K.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Sep 2007 21:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069122#M307247</guid>
      <dc:creator>kate32</dc:creator>
      <dc:date>2007-09-11T21:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069123#M307248</link>
      <description>&amp;gt;kate32: here the entry that I put on my script&lt;BR /&gt;1&amp;gt;&amp;gt;$LOG 2&amp;gt;&amp;gt;$LOG&lt;BR /&gt;&lt;BR /&gt;Minor improvement: 1&amp;gt;&amp;gt;$LOG 2&amp;gt;&amp;amp;1&lt;BR /&gt;When you dup (2&amp;gt;&amp;amp;1) a file, it uses the mode (&amp;gt;&amp;gt; append) from the first open.</description>
      <pubDate>Tue, 11 Sep 2007 21:58:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069123#M307248</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-09-11T21:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069124#M307249</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for the links. &lt;BR /&gt;&lt;BR /&gt;I think this is the guide that I downloaded. :)  &lt;BR /&gt;&lt;BR /&gt;I'm specifically looking for info on parameters like 'blocksperrecord', 'records', etc and related config. As suggested by James in the earlier reply, the value of 4096 is used for LTO3. Is this value fixed for LTO3?  &lt;BR /&gt;&lt;BR /&gt;How do I know what value to use if I'm using say, DDS? &lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 11 Sep 2007 22:16:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069124#M307249</guid>
      <dc:creator>so.nimda</dc:creator>
      <dc:date>2007-09-11T22:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069125#M307250</link>
      <description>Hi kate32,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;That's one heck of a script you have there !!&lt;BR /&gt;&lt;BR /&gt;As a newbie to writing scipts, I think I need to "decipher" line by line what those commands do! :)&lt;BR /&gt;&lt;BR /&gt;I'm sure it works successfully. &lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 11 Sep 2007 22:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069125#M307250</guid>
      <dc:creator>so.nimda</dc:creator>
      <dc:date>2007-09-11T22:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069126#M307251</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Since 'fbackup' is a proprietary HP tool, there is little information available.  As far as I know, the Technical Knowledge Base is the best source of information beyond the public manpages.&lt;BR /&gt;&lt;BR /&gt;The following links will give you insight into the internals of 'fbackup':&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c01002358-4" target="_blank"&gt;https://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c01002358-4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c00908460-1" target="_blank"&gt;https://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c00908460-1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The document IDs are at the end of each URL.&lt;BR /&gt;&lt;BR /&gt;As a side note, sadly, in my opinion, 'fbackup' is deprecated with release 11.31 and eventually will be phased out, although 'frecover' will persist to enable one to recover archives originally created with 'fbackup'.  The standard Unix 'pax' command is considered a replacement.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 12 Sep 2007 08:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069126#M307251</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-09-12T08:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069127#M307252</link>
      <description>Hi James,&lt;BR /&gt;&lt;BR /&gt;Thanks again for the reply.&lt;BR /&gt;&lt;BR /&gt;It's sad news indeed... :( Just when I'm getting all interested in fbackup...&lt;BR /&gt;&lt;BR /&gt;Rgds</description>
      <pubDate>Wed, 12 Sep 2007 18:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069127#M307252</guid>
      <dc:creator>so.nimda</dc:creator>
      <dc:date>2007-09-12T18:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help on fbackup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069128#M307253</link>
      <description>Actually, there is no replacement for fbackup. pax, like tar and cpio, is a primitive tool to store files without any of the minimum requirements for a commercial backup program. For a workstation or a very small server, pax is OK. But for production with important data, pax just doesn't fulfill the requirements. Here are some of the features:&lt;BR /&gt; &lt;BR /&gt;- no limit on file sizes&lt;BR /&gt;- provisions for busy and locked files&lt;BR /&gt;- multi-tape support&lt;BR /&gt;- hooks for tape changer handling&lt;BR /&gt;- frecover from parity errors on tape&lt;BR /&gt;- very high performance (up to 6 parallel processes)&lt;BR /&gt;- frecover can get any file in just a few minutes&lt;BR /&gt;- every tape has a complete index and can be read in seconds&lt;BR /&gt;- tapes have a label at the front to prevent accidental overwrite&lt;BR /&gt; &lt;BR /&gt;Virtually all commercial backup programs like HP's Data Protector have these (and other) features. Note that an LTO3 places enormous performance requirements on your system (it's not just a long tape). Using fbackup with the above parameters will be the fastest solution.</description>
      <pubDate>Wed, 12 Sep 2007 21:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-fbackup/m-p/4069128#M307253</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-09-12T21:04:46Z</dc:date>
    </item>
  </channel>
</rss>

