<?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: Data restore in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519033#M67984</link>
    <description>We're talking about a backup solution,&lt;BR /&gt;so RTO = Recovery Time Objective.&lt;BR /&gt;It means that the customer specifies the time in which the data must be available again and the backup solution is planned accordingly (or the RTO must be relaxed for reasons like not enough money or other constraints ;-)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Antonio,&lt;BR /&gt;haven't you followed recent discussions here?&lt;BR /&gt;&lt;BR /&gt;*** Modern tape drives are not slow ! ***&lt;BR /&gt;&lt;BR /&gt;A tape media is just moving forward (a LTO-3 at up to 80 MegaBytes/second, uncompressed). A disk drive must move its arm to the correct cylinder and then wait until the right sector passes the head.&lt;BR /&gt;&lt;BR /&gt;Re-read Hein's excellent descriptions about why a restore is limited to lots of small, synchronous I/Os, which will make the restore slow.</description>
    <pubDate>Tue, 12 Apr 2005 02:23:37 GMT</pubDate>
    <dc:creator>Uwe Zessin</dc:creator>
    <dc:date>2005-04-12T02:23:37Z</dc:date>
    <item>
      <title>Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519016#M67967</link>
      <description>Hello there,&lt;BR /&gt;&lt;BR /&gt;We have a 20G data disk. We use following command to backup to tape, it took 70 minutes&lt;BR /&gt;&lt;BR /&gt;Backup/image dkd105: mke500:dkd105050305.sav/sav/block=65024&lt;BR /&gt;&lt;BR /&gt;When restoring the data from tape to disk&lt;BR /&gt;using following command, it took more than three hours.&lt;BR /&gt;&lt;BR /&gt;BACKUP/IMAGE MKE500:DKD105050305.SAV/SAV DKD105:&lt;BR /&gt;&lt;BR /&gt;Is that normal?, Anyway to speed up restore?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Lionel&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 08:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519016#M67967</guid>
      <dc:creator>Lionel Liu</dc:creator>
      <dc:date>2005-04-06T08:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519017#M67968</link>
      <description>I have not actually measured this, but my gut feel says it is normal.&lt;BR /&gt;&lt;BR /&gt;On the backup, the system can use a lot of caching, and does not need to care about some data (like bitmap.sys), and can issue concurrent read IOs as one read will not influence the other (other then speed)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On restore files have to be created, space allocated, one at a time. Yes the user data writes can (and are?) done in parallel, but the file and directory stuff around it goes one at a time pretty much, with lots of write IOs to bitmap and indexf.sys and so on.&lt;BR /&gt;I'm speculating a little here. Maybe Guenther can correct me. Still, it feels right for it to be slow. &lt;BR /&gt;Also, when a slow a little the tape may stop streaming, in which case you slow a lot more.&lt;BR /&gt;&lt;BR /&gt;Finally... are you sure that was the right restore command? When I just verified that (on a ram disk), it created a flat restore structure. Don't you need DKD105:[*...]&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 09:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519017#M67968</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-04-06T09:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519018#M67969</link>
      <description>Hein,&lt;BR /&gt;you might have forgotten the /IMAGE qualifier on the restore...</description>
      <pubDate>Wed, 06 Apr 2005 09:15:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519018#M67969</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-04-06T09:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519019#M67970</link>
      <description>Lionel,&lt;BR /&gt;&lt;BR /&gt;What you are seeing is fairly typical (at least it&lt;BR /&gt;is in our situation). What can really impact the&lt;BR /&gt;restore is a large number of small files. You would&lt;BR /&gt;want to check how many files are in the backup and&lt;BR /&gt;some idea of number of large files compared to number&lt;BR /&gt;of small files.&lt;BR /&gt;If you have lots of small files you will not likely&lt;BR /&gt;be able to improve the restore time.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 09:24:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519019#M67970</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2005-04-06T09:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519020#M67971</link>
      <description>&lt;BR /&gt;Uwe&amp;gt; Hein,&lt;BR /&gt;you might have forgotten the /IMAGE qualifier on the restore... &lt;BR /&gt;&lt;BR /&gt;Right right. I spaced.&lt;BR /&gt;I tried that first, but it did not do anything. Looking back that was because I had the output mounted normally.&lt;BR /&gt;I got the files back dropping the /ima, but should have remounted the output /foreign. With that in place the XQP is no longer involved and Backup can use its own Files-11 structure create commands.&lt;BR /&gt;&lt;BR /&gt;Still the main problem remains. When creating a file, many data elements need to be updated: indexf, bitmap, directory and finally data. So for restore many more (write) IOs will be needed which become more signifincat as you have more and smaller files.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 09:51:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519020#M67971</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-04-06T09:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519021#M67972</link>
      <description>Right, lots of small files are really a problem. If you can dismount the source disk during the backup you can try a BACKUP/PHYSICAL.&lt;BR /&gt;&lt;BR /&gt;This will save ALL disk blocks, which might not make a big difference if the disk is quite full.&lt;BR /&gt;&lt;BR /&gt;The downside is that you cannot restore a single file from the physical backup. At least in older versions of OpenVMS you had to restore to a disk with the same size (and in the early days even with the same geometry).</description>
      <pubDate>Wed, 06 Apr 2005 10:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519021#M67972</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-04-06T10:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519022#M67973</link>
      <description>Restores always take longer - the more files then the longer it takes.&lt;BR /&gt;&lt;BR /&gt;As BACKUP creates each file individually using XQP QIOs (I think) then changing the RMS parameters won't help either.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 10:15:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519022#M67973</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-04-06T10:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519023#M67974</link>
      <description>Then again,&lt;BR /&gt;&lt;BR /&gt;how often do you have to do a BACKUP save?&lt;BR /&gt;Quite often, I hope!&lt;BR /&gt;&lt;BR /&gt;How often do you do a restore?&lt;BR /&gt;Very rarely, I hope!!&lt;BR /&gt;&lt;BR /&gt;So, improving SAVE speed has a much bigger impact than improving RESTORE speed.&lt;BR /&gt;&lt;BR /&gt;... but if you need that restore, it may be a nuisance.&lt;BR /&gt;&lt;BR /&gt;Then again, IF you need that restore, my guess is that the (guaranteed!!) quality &amp;amp; integrity of that restore is MUCH more important than the speed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;just my EUR 0.02&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Fri, 08 Apr 2005 06:14:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519023#M67974</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-04-08T06:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519024#M67975</link>
      <description>A backup design usually includes the RTO ;-)</description>
      <pubDate>Fri, 08 Apr 2005 06:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519024#M67975</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-04-08T06:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519025#M67976</link>
      <description>Hi,&lt;BR /&gt;AFAIK backup/image without /noini qualifier always initialize output device so it can't run any concurrent process writing on disk. It's true restore command has to write to index, bitmap and directory, but comparing backup time (70 min.) with restore time (210 min.) the rate is 3:1. I'm not sure that's the mere reasion.&lt;BR /&gt;I believe the tuning is not at the best.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Apr 2005 08:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519025#M67976</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-04-08T08:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519026#M67977</link>
      <description>/INITIALIZE allows BACKUP to change some volume characteristics. The rest of the restore process is the same.&lt;BR /&gt;&lt;BR /&gt;The problem is that a lot of meta data needs to be written on a restore and that is a synchronous operation - I doubt that BACKUP does any optimizations. Also, you cannot optimize any head movements.&lt;BR /&gt;&lt;BR /&gt;Show us how to tune a restore!!</description>
      <pubDate>Fri, 08 Apr 2005 08:46:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519026#M67977</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-04-08T08:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519027#M67978</link>
      <description>Initialize your tape with the highest density possible for your drive.&lt;BR /&gt;Use /group=0 to reduce the overhead by 10%.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Fri, 08 Apr 2005 09:03:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519027#M67978</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-04-08T09:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519028#M67979</link>
      <description>Hi Lionel,&lt;BR /&gt;assuming you make restore with default /INIT option; because of this you have to work in single user mode.&lt;BR /&gt;Assuming no other users/processes are running while you make the restore.&lt;BR /&gt;Assuming in your saveset there are many sequential files.&lt;BR /&gt; &lt;BR /&gt;You can temporary trick your system to avoid multiple i/o on disk.&lt;BR /&gt;You can turn on deferred write with&lt;BR /&gt;$ SET VOL DKD105: /NOWRITE&lt;BR /&gt;Also you can increase multiblock count (it works fine only on sequential files)&lt;BR /&gt;$ SHOW RMS !--read current value&lt;BR /&gt;$ SET RMS /BUFF=128 !-- set new value&lt;BR /&gt;Also you can increase two system parameters ACP_DINDXCACHE and ACP_DIRCACHE. They are both dynamic.&lt;BR /&gt;It is very importart you restore all modified parameters after you terminate saveset restore.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Sat, 09 Apr 2005 12:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519028#M67979</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-04-09T12:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519029#M67980</link>
      <description>as BACKUP creates files using XQP calls rather than RMS I don't think changing RMS parameters will help.</description>
      <pubDate>Sat, 09 Apr 2005 14:36:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519029#M67980</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-04-09T14:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519030#M67981</link>
      <description>Ian&amp;gt; as BACKUP creates files using XQP calls rather than RMS I don't think changing RMS parameters will help. &lt;BR /&gt;&lt;BR /&gt;And that would be for non-image restores.&lt;BR /&gt;&lt;BR /&gt;For /IMAGE restores, as discussed here, the target device is mounted /FOREIGN and it is all Backup's doing. No RMS, no XQP. Backup knows and executed the ODS layout with logical IOs, not virtual IOs.&lt;BR /&gt;&lt;BR /&gt;I discussed this some with Mark H. We believe image restore does do the bitmap in a single IO, but the indexf.sys in a single block IO per file. Furthermore it is all synchroneous, in line = slow. This in contrast to the backup phase which will do concurrent IO. This could obviously be improved upon, but over the past decades there has been no business justification for that.&lt;BR /&gt;&lt;BR /&gt;Hein.</description>
      <pubDate>Sat, 09 Apr 2005 15:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519030#M67981</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-04-09T15:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519031#M67982</link>
      <description>Uwe,&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;A backup design usually includes the RTO ;-) &lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, of course. And Management should have a written, advance, realistic estimate.&lt;BR /&gt;&lt;BR /&gt;But, in my experience (scarse on VMS, but witnessed from the side-line on *UX and Billyware all too frequently) the DECISION to restore always took longer than the actual resore itself. &lt;BR /&gt;&lt;BR /&gt;And yes, the discussion always starts with ANY time being too long. But in the balancing between restore duration, restore reliability and backup duration usually restore duration looses priority.&lt;BR /&gt;Much more can be gained by a real rigid (and rehearsed) procedure for the restore-decision process.&lt;BR /&gt;&lt;BR /&gt;YMMV !!&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;Jan</description>
      <pubDate>Mon, 11 Apr 2005 02:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519031#M67982</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-04-11T02:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519032#M67983</link>
      <description>I understand RTO means Run-Time Optimization and in my mind is stupefyingly backup takes 70 min., writing to slow device (tape), while restore takes 210 min., writing to quick device (hard disk).&lt;BR /&gt;I know restore takes more time than backup in vms, but the rate 3:1 seems to me too high.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Apr 2005 02:06:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519032#M67983</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-04-12T02:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519033#M67984</link>
      <description>We're talking about a backup solution,&lt;BR /&gt;so RTO = Recovery Time Objective.&lt;BR /&gt;It means that the customer specifies the time in which the data must be available again and the backup solution is planned accordingly (or the RTO must be relaxed for reasons like not enough money or other constraints ;-)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Antonio,&lt;BR /&gt;haven't you followed recent discussions here?&lt;BR /&gt;&lt;BR /&gt;*** Modern tape drives are not slow ! ***&lt;BR /&gt;&lt;BR /&gt;A tape media is just moving forward (a LTO-3 at up to 80 MegaBytes/second, uncompressed). A disk drive must move its arm to the correct cylinder and then wait until the right sector passes the head.&lt;BR /&gt;&lt;BR /&gt;Re-read Hein's excellent descriptions about why a restore is limited to lots of small, synchronous I/Os, which will make the restore slow.</description>
      <pubDate>Tue, 12 Apr 2005 02:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519033#M67984</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-04-12T02:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519034#M67985</link>
      <description>Uwe,&lt;BR /&gt;thank you for RTO meaning.&lt;BR /&gt;I'm with you about new quick tape devices but, in this case, tape throughtput is less than 0,285 Mbs per minute (20Gb/70min) so I believe it is a DAT tape, no some device like DLT.&lt;BR /&gt;I'm still convinced the rate 3:1 is unreasonable, in this case.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Apr 2005 02:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519034#M67985</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-04-12T02:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data restore</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519035#M67986</link>
      <description>What is "0,285 Mbs" supposed to mean? As far as I can tell, a small "b" usually indicates "Bit".&lt;BR /&gt;&lt;BR /&gt;I guess we need to compare out maths:&lt;BR /&gt;20,000,000,000 / (70*60) = 4,761,904&lt;BR /&gt;&lt;BR /&gt;Thats 4.7 MegaBytes/second to me.</description>
      <pubDate>Tue, 12 Apr 2005 02:47:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/data-restore/m-p/3519035#M67986</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-04-12T02:47:48Z</dc:date>
    </item>
  </channel>
</rss>

