<?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: How to take and restore from dd in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145672#M453532</link>
    <description>5120 block size by default is very low.&lt;BR /&gt;you should try the option -b 32768&lt;BR /&gt;or even if you want to try more:&lt;BR /&gt; # pax -w -f /dev/rtape/tape4QIC150 /u01 -x pax -b 32768&lt;BR /&gt;&lt;BR /&gt;# pax -r -f /dev/rtape/tape4QIC150 -p e -b 32768&lt;BR /&gt;&lt;BR /&gt;if you want to test with a larger block size:&lt;BR /&gt;for instance 64k&lt;BR /&gt;# pax -w /u01 -x pax | dd ibs=8k obs=64k of=/dev/rtape/tape4QIC150&lt;BR /&gt;&lt;BR /&gt;and to read then&lt;BR /&gt; dd bs=64k if=/dev/rtape/tape4QIC150 |pax -r -p e &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 24 Dec 2008 12:18:33 GMT</pubDate>
    <dc:creator>Laurent Menase</dc:creator>
    <dc:date>2008-12-24T12:18:33Z</dc:date>
    <item>
      <title>How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145661#M453521</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;Since fbackup(1M) from 11.31 cannot be restored to fbackup to 11.23, I am forced to dd since files are more than 8 Gb&lt;BR /&gt;&lt;BR /&gt;Please let me know the command syntax via dd to take the backup of mutiple folders to tape drive and the procedure to restore the same&lt;BR /&gt;&lt;BR /&gt;I am little confused with dd(1)&lt;BR /&gt;&lt;BR /&gt;Points will be assigned appropriately !!</description>
      <pubDate>Wed, 10 Dec 2008 12:59:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145661#M453521</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2008-12-10T12:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145662#M453522</link>
      <description>Consider to use tar..&lt;BR /&gt;It should be a better option than dd for file system backup</description>
      <pubDate>Wed, 10 Dec 2008 13:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145662#M453522</guid>
      <dc:creator>john123</dc:creator>
      <dc:date>2008-12-10T13:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145663#M453523</link>
      <description>&lt;!--!*#--&gt;Hi Avinash,&lt;BR /&gt;&lt;BR /&gt;plz check the syntax&lt;BR /&gt;&lt;BR /&gt;dd if =device name of=device name bs=blocksize in kb&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rdsk/c1t2d0 of=/dev/dsk/c2t2d0 bs=1024k&lt;BR /&gt;&lt;BR /&gt;Thnaks,&lt;BR /&gt; Analyst.</description>
      <pubDate>Wed, 10 Dec 2008 13:13:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145663#M453523</guid>
      <dc:creator>Analyst</dc:creator>
      <dc:date>2008-12-10T13:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145664#M453524</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Since you can't use 'frecover' to restore an 11.31 'fbackup' archive to 11.23 or earlier, I would use 'pax' to perform your backup.  By using the '-x pax' archive format you can exceed the former 8GB limit when you create the archive.&lt;BR /&gt;&lt;BR /&gt;Then, on 11.23, install the 'PAX-Enh' product to enable reading the large files:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PAX-ENH" target="_blank"&gt;http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PAX-ENH&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 10 Dec 2008 13:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145664#M453524</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-10T13:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145665#M453525</link>
      <description>&amp;gt; [...] I am forced to dd since files are&lt;BR /&gt;&amp;gt; more than 8 Gb&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Consider to use tar..&lt;BR /&gt;&lt;BR /&gt;_GNU_ "tar" should be able to do it.  "dd"&lt;BR /&gt;seems (to me) to be an inappropriate tool for&lt;BR /&gt;a job like this.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] I would use 'pax' [...]&lt;BR /&gt;&lt;BR /&gt;Should also be good, if your "pax" programs&lt;BR /&gt;are new enough.</description>
      <pubDate>Wed, 10 Dec 2008 13:32:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145665#M453525</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-12-10T13:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145666#M453526</link>
      <description>John: Will tar work for more than 8GB&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-4616/ch03s04.html#bajcadeg" target="_blank"&gt;http://docs.hp.com/en/5992-4616/ch03s04.html#bajcadeg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Analyst: Its good, but the command is good for device backup&lt;BR /&gt;Do we have command to take backup for directory&lt;BR /&gt;&lt;BR /&gt;James:&lt;BR /&gt;This is what I was expecting.&lt;BR /&gt;&lt;BR /&gt;Steven: Thanks for your advice on dd&lt;BR /&gt;GNU tar: Its open-source !!</description>
      <pubDate>Wed, 10 Dec 2008 18:18:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145666#M453526</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2008-12-10T18:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145667#M453527</link>
      <description>I have some queries on pax, just let me test on my server and come back after some time</description>
      <pubDate>Wed, 10 Dec 2008 18:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145667#M453527</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2008-12-10T18:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145668#M453528</link>
      <description>How do I take backup/restore via pax for following command&lt;BR /&gt;&lt;BR /&gt;fbackup -v -f /dev/rmt/1m -i /u01&lt;BR /&gt;&lt;BR /&gt;To take the fbackup via pax&lt;BR /&gt;&lt;BR /&gt;# pax -w -f /dev/rtape/tape4QIC150 /u01 -x pax&lt;BR /&gt;&lt;BR /&gt;How do I restore it.</description>
      <pubDate>Thu, 11 Dec 2008 05:31:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145668#M453528</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2008-12-11T05:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145669#M453529</link>
      <description># pax -w -f /dev/rtape/tape4QIC150 /u01 -x pax&lt;BR /&gt;&amp;gt;How do I restore it?&lt;BR /&gt;&lt;BR /&gt;Pretty much the same as tar except the options are rationalized:&lt;BR /&gt;# pax -r -f /dev/rtape/tape4QIC150 -p e</description>
      <pubDate>Thu, 11 Dec 2008 07:07:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145669#M453529</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-11T07:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145670#M453530</link>
      <description>I am continuing the thread so that we could be aware of the impact of the speed at which the backup runs&lt;BR /&gt;&lt;BR /&gt;It took 3.5 Hrs for 260GB database using pax and same is taking only 2.5 Hrs for the same size using fbackup.&lt;BR /&gt;&lt;BR /&gt;Do we have any docs which refer to the speed at which the backup tools takes time&lt;BR /&gt;&lt;BR /&gt;Are there any options in pax command which gives total time at end, like fbackup does ??</description>
      <pubDate>Wed, 24 Dec 2008 10:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145670#M453530</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2008-12-24T10:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145671#M453531</link>
      <description>&amp;gt;It took 3.5 Hrs for 260 GB database using pax and same is taking only 2.5 Hrs for the same size using fbackup.&lt;BR /&gt;&lt;BR /&gt;pax is NOT an industrial strength backup tool.  There is only one reader so it can't keep the backup tape up to speed.  Also, what is the default block size you are writing to tape?  For -x pax it is 5120.  This is probably too small.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Are there any options in pax command which gives total time at end&lt;BR /&gt;&lt;BR /&gt;In spirit of UNIX, you can simply use time:&lt;BR /&gt;time pax ...</description>
      <pubDate>Wed, 24 Dec 2008 11:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145671#M453531</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-24T11:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145672#M453532</link>
      <description>5120 block size by default is very low.&lt;BR /&gt;you should try the option -b 32768&lt;BR /&gt;or even if you want to try more:&lt;BR /&gt; # pax -w -f /dev/rtape/tape4QIC150 /u01 -x pax -b 32768&lt;BR /&gt;&lt;BR /&gt;# pax -r -f /dev/rtape/tape4QIC150 -p e -b 32768&lt;BR /&gt;&lt;BR /&gt;if you want to test with a larger block size:&lt;BR /&gt;for instance 64k&lt;BR /&gt;# pax -w /u01 -x pax | dd ibs=8k obs=64k of=/dev/rtape/tape4QIC150&lt;BR /&gt;&lt;BR /&gt;and to read then&lt;BR /&gt; dd bs=64k if=/dev/rtape/tape4QIC150 |pax -r -p e &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Dec 2008 12:18:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145672#M453532</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2008-12-24T12:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145673#M453533</link>
      <description>&amp;gt; Since fbackup(1M) from 11.31 cannot be restored to fbackup to 11.23, I am forced to dd since files are more than 8 Gb&lt;BR /&gt; &lt;BR /&gt;It is truly sad that a high quality backup program is being removed from future HP-UX releases. fbackup will handle terabyte files and has since large files were introduced many years ago. The 8GB limit applies to certain versions of tar and pax.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; It took 3.5 Hrs for 260GB database using pax and same is taking only 2.5 Hrs for the same size using fbackup.&lt;BR /&gt; &lt;BR /&gt;Actually, that seems slow for fbackup. If you did not use an fbackup config file, you are missing out on a much faster backup speed. Unlike primitive file backup programs like tar and pax, fbackup uses a shared memory pool and multiple disk readers to keep the tape busy. Modern tape drives are too fast for tar and pax and will be unable to run at full speed. Perhaps you can provide details on why fbackup is failing.&lt;BR /&gt; &lt;BR /&gt;As far as dd, this is the worst backup method there is since there is no table of contents, no label and it will be impossible to recover from a tape read error. dd does not have a retry or a skip bad block feature. dd is useful for disk to disk (hence the name dd) but tapes are not always reliable and you could lose everything with a bad spot.&lt;BR /&gt; &lt;BR /&gt;Other than fbackup, the only recommendation is Data Protector which is an enterprise quality backup program. It has no filesize limitations (whatever HP-UX can handle), and performs the same type of data pooling for high performance. It has retries and skip bad spots as well as an index even for raw backups. Don't buy it if your data isn't worth anything. But if your data is valuable, there is no price too high to be able to reliably restore from your backups.</description>
      <pubDate>Thu, 25 Dec 2008 03:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145673#M453533</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-12-25T03:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145674#M453534</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;I couldn't agree more with Bill's sentiments that it is truly sad the HP would cease support of 'fbackup' and 'frecover' in future releases.&lt;BR /&gt;&lt;BR /&gt;I would hope that Dennis or Laurent might shed some light on the rationale (if it could be called that) for this path.  As a HP-centric tool for quick backups and data migrations this is a loss.  I understand that the open-standard 'pax' is the stated way forward, but the loss of the aforementioned tools lessens to some degree the additional value HP brings to Unix.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 25 Dec 2008 14:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145674#M453534</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-25T14:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145675#M453535</link>
      <description>Solution stated above&lt;BR /&gt;&lt;BR /&gt;Also labs are working on enhancement in pax (graph etc. like fbakcup does) in Mar 2009 :)</description>
      <pubDate>Mon, 12 Jan 2009 19:14:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145675#M453535</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-01-12T19:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to take and restore from dd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145676#M453536</link>
      <description>"enhancement in pax (graph etc. like fbakcup does..."&lt;BR /&gt;&lt;BR /&gt;I wonder where that came from, as there are (or at least, were) standards for pax, and that implies interoperability.</description>
      <pubDate>Thu, 15 Jan 2009 20:43:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-take-and-restore-from-dd/m-p/5145676#M453536</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-01-15T20:43:26Z</dc:date>
    </item>
  </channel>
</rss>

