- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: BACKUP /PROGRESS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2011 07:23 AM
08-25-2011 07:23 AM
First time I've used the /PROGRESS qualifier, OpenVMS Alpha 8.3, unknown patch level.
And first post in the new community...
I'm performing a copy operation on a single large file, about 20MBlocks. 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. The documentation gives the example:
"%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 "
With /PROGRESS=30, I do get some output:
"%BACKUP-I-PROGRESS, progress report generated at 24-AUG-2011 16:02:36.55 Last file scanned: DISK:[DATA]PRICES.DAT;1
Saveset volume:0, saveset block:0 (33040 byte blocks) 0KB saved, save rate: 0KB/sec
.
.
.
%BACKUP-I-PROGRESS, progress report generated at 24-AUG-2011 16:06:46.57 Last file scanned: DISK:[DATA]PRICES.DAT;1
Saveset volume:0, saveset block:0 (33040 byte blocks) 0KB saved, save rate: 0KB/sec"
Is the expectation a backup or restore, so copy doesn't do anything, or is it that there is only one file involved?
Sean
Well, technically, yes and no.
Solved! Go to Solution.
- Tags:
- backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2011 01:13 PM
08-25-2011 01:13 PM
Re: BACKUP /PROGRESS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2011 05:03 PM - edited 08-25-2011 05:21 PM
08-25-2011 05:03 PM - edited 08-25-2011 05:21 PM
Re: BACKUP /PROGRESS
Sean,
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.
$ 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
> rough guess about the % completed
Seems reasonable, BUT, for a save operation, 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 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).
Of course, you could use DIRECTORY/GRAND/SIZE=(ALL,UNITS=BYTE) on the same filespec as the BACKUP command to determine it yourself, then compare with the "saved" number.
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:
$ 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
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2011 01:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2011 07:31 PM
09-16-2011 07:31 PM
Re: BACKUP /PROGRESS
I doubt that the PROGRESS code in BACKUP was implemented to cover file copies as well. But...
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!
But in this case neither side is a save set and I assume that is what the progress code doesn't handle as expected.
/Guenther