<?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: BACKUP /PROGRESS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5312681#M102215</link>
    <description />
    <pubDate>Thu, 25 Aug 2011 20:13:12 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2011-08-25T20:13:12Z</dc:date>
    <item>
      <title>BACKUP /PROGRESS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5312351#M102214</link>
      <description>&lt;P&gt;First time I've used the /PROGRESS qualifier, OpenVMS Alpha 8.3, unknown patch level.&lt;/P&gt;&lt;P&gt;And first post in the new community...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm performing a copy operation on a single large file, about 20MBlocks.&amp;nbsp; I was hoping that /PROGRESS would say how much IO had been moved, and a rough guess about the % completed, but I'm not getting anything useful though the copy is completed.&amp;nbsp;The documentation gives the example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"%BACKUP-I-PROGRESS, progress report generated at 18-JAN-2006 18:07:55.08&lt;BR /&gt;Restoring file: DKA100:[KITS.CDSA]HP-I64VMS-CDSA-T0202-134-1.PCSI$COMPRESSED;1&lt;BR /&gt;Saveset volume:1, saveset block:1705 (32256 byte blocks)&lt;BR /&gt;52.44MB restored out of 1.23GB, 4% completed&lt;BR /&gt;Restore rate: 895KB/sec, estimated completion time: 18:30:59.10 "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With /PROGRESS=30,&amp;nbsp;I do get some output:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"%BACKUP-I-PROGRESS, progress report generated at 24-AUG-2011 16:02:36.55&amp;nbsp; Last file scanned: DISK:[DATA]PRICES.DAT;1&lt;/P&gt;&lt;P&gt;Saveset volume:0, saveset block:0 (33040 byte blocks)&amp;nbsp; 0KB saved, save rate: 0KB/sec&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;%BACKUP-I-PROGRESS, progress report generated at 24-AUG-2011 16:06:46.57&amp;nbsp; Last file scanned: DISK:[DATA]PRICES.DAT;1&lt;/P&gt;&lt;P&gt;Saveset volume:0, saveset block:0 (33040 byte blocks)&amp;nbsp; 0KB saved, save rate: 0KB/sec"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the expectation a backup or restore, so copy doesn't do anything, or is it that there is only one file involved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2011 14:23:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5312351#M102214</guid>
      <dc:creator>Sean OBanion</dc:creator>
      <dc:date>2011-08-25T14:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP /PROGRESS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5312681#M102215</link>
      <description />
      <pubDate>Thu, 25 Aug 2011 20:13:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5312681#M102215</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-08-25T20:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP /PROGRESS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5312789#M102216</link>
      <description>&lt;P&gt;Sean,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I'm not sure why you're not seeing numbers. I get stuff like this, even for a single file (OpenVMS/Alpha V8.4), as pasted below. I haven't tried a restore, but since the example in the Utilities Reference Manual is a restore, I'd expect it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ backup/progress=5 SYS$SYSROOT:[SYSEXE]SYSDUMP.DMP/IGNORE=NOBACKUP nl:x.sav/save
%BACKUP-I-PROGRESS, progress report generated at 26-AUG-2011 10:01:36.34
 Last file scanned: $1$DGA7130:[SYS0.][SYSEXE]SYSDUMP.DMP;1
 Saveset volume:1, saveset block:6047 (32256 byte blocks)
 186.01MB saved, save rate: 37.17MB/sec
%BACKUP-I-PROGRESS, progress report generated at 26-AUG-2011 10:01:41.34
 Last file scanned: $1$DGA7130:[SYS0.][SYSEXE]SYSDUMP.DMP;1
 Saveset volume:1, saveset block:12085 (32256 byte blocks)
 371.75MB saved, save rate: 37.13MB/sec
...
%BACKUP-I-PROGRESS, progress report generated at 26-AUG-2011 10:03:06.90
 Input file scan inactive.
 Output: Saveset volume: 1, saveset block 37209 (32256 byte blocks)
 1.11GB saved, save rate: 31.07MB/sec&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;gt; rough guess about the % completed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems reasonable, BUT, for a save operation,&amp;nbsp;in order to work that out BACKUP has to first figure out the total space to be copied. That is potentially an expensive thing to do. At best it would require a pause at the beginning of the operation to scan all the files and add up the blocks. I know I don't like Windows spending lots of&amp;nbsp;time "preparing to copy" if I drag and drop a large number of files (basically wasting time collecting the sizes so it can give me an inaccurate estimate of how long it will take, when I'd rather it just got on and did the copy).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, you could use DIRECTORY/GRAND/SIZE=(ALL,UNITS=BYTE) on the same filespec&amp;nbsp;as the BACKUP command to determine it yourself, then compare with the "saved" number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For a RESTORE, the total size is known in advance, so the percentage and estimated completion times can be calculated. According to the example in the manual, they are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ BACKUP SAVESET.BCK/SAVESET DKA100:/IMAGE/PROGRESS_REPORT=60
  
%BACKUP-I-PROGRESS, progress report generated at 18-JAN-2006 18:07:55.08 
Restoring file: DKA100:[KITS.CDSA]HP-I64VMS-CDSA-T0202-134-1.PCSI$COMPRESSED;1 
Saveset volume:1, saveset block:1705 (32256 byte blocks) 
52.44MB restored out of 1.23GB, 4% completed 
Restore rate: 895KB/sec, estimated completion time: 18:30:59.10 
 
%BACKUP-I-PROGRESS, progress report generated at 18-JAN-2006 18:08:55.08 
Restoring file: DKA100:[KITS.DWMOTIF]HP-I64VMS-DWMOTIF-L0106--1.PCSI$COMPRESSED;1 
Saveset volume:1, saveset block:3547 (32256 byte blocks) 
109.11MB restored out of 1.23GB, 8% completed 
Restore rate: 967KB/sec, estimated completion time: 18:29:16.05 


 

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the command is not behaving as documented, please document what you're doing, what you're seeing and what you expect then log a case with your local Customer Support Centre.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2011 00:21:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5312789#M102216</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2011-08-26T00:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP /PROGRESS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5334653#M102217</link>
      <description>&lt;P&gt;Looks like with just a sigle file copy operation, PROGRESS doesn't do much but give time stamps...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 20:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5334653#M102217</guid>
      <dc:creator>Sean OBanion</dc:creator>
      <dc:date>2011-09-16T20:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: BACKUP /PROGRESS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5334797#M102218</link>
      <description>&lt;P&gt;I doubt that the PROGRESS code in BACKUP was implemented to cover file copies as well. But...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A BACKUP file copy is a save operation from the input file to an in memory save set buffer and the the standard restore is called to write the file to the target. Nice design!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in this case neither side is a save set and I assume that is what the progress code doesn't handle as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Guenther&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2011 02:31:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-progress/m-p/5334797#M102218</guid>
      <dc:creator>GuentherF</dc:creator>
      <dc:date>2011-09-17T02:31:13Z</dc:date>
    </item>
  </channel>
</rss>

