- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to copy a save set on magnetic tape to a d...
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
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
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
тАО05-12-2010 08:57 AM
тАО05-12-2010 08:57 AM
Re: How to copy a save set on magnetic tape to a disk?
There is a layered product, SAVE SET MANAGER which will copy backup save sets and allow adjusting the block factor. Save Set Manager requires additional licensing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 02:28 PM
тАО05-12-2010 02:28 PM
Re: How to copy a save set on magnetic tape to a disk?
I recall that (for reasons opaque to mere mortals) copying savesets directly from magnetic tape using COPY is NOT supported.
I've never heard of it actually failing, but apparently the possibility exists, even apart from the block limits. YMMV, but don't complain if it doesn't work.
The supported mechanisms are BACKUP and SAVE SET MANAGER.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 03:52 PM
тАО05-12-2010 03:52 PM
Re: How to copy a save set on magnetic tape to a disk?
Also ... "By default, BACKUP treats an input or output specifier referring to a Files├в 11 disk as a file specification. Therefore, to identify a save set on a Files├в 11 volume, you must include the /SAVE_SET qualifier with the specifier (see /SAVE_SET). BACKUP treats input and output specifiers referring to magnetic tape as save sets."
In case you are tempted to try $ BACKUP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 06:17 PM
тАО05-12-2010 06:17 PM
Re: How to copy a save set on magnetic tape to a disk?
My dim (possibly defective) recollection is
that this had something to do with BACKUP's
sophisticated error handling, which might
cause it to rewrite some blocks to a tape in
ways which would confuse COPY.
> I've never heard of it actually failing,
> [...]
Nor I, but I haven't done it in recent years.
Can't recall having seen a tape write error
in a long time, either.
The biggest problem I ever had was doing any
tape copying as user SYSTEM, whose default
directory involves a search-list logical
name, causing everything to get done twice.
(Pain in the butt with a TK50. (As I said,
it's been a while.))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 07:38 PM
тАО05-12-2010 07:38 PM
Re: How to copy a save set on magnetic tape to a disk?
You are right. The OpenVMS System manager's Utilities manual does say that
the saveset present on tape should be copied to disk using the BACKUP
command and not the COPY command.
Its a long time since I have played around with the savesets on tape.
I did not have to copy savesets from tape to disk many times but on occassions
when I had to, I remember getting in trouble when I did a MOUNT/OVER=ID of
the tape followed by a DIR and COPY command. I used to think that the
problem might be with the tape. But then when i do a MOUNT/FOR and use the
BACKUP command it used to work. The BACKUP command would
successfully copy the saveset from tape to disk.
>> $ BACKUP
May be this command needs a slight change.
Since we only have to copy the saveset from the tape to disk, i dont think the
/SAVE qualifier is required at the destination. In general, for the BACKUP,
if it should perform a copy operation then the "/SAVE" is not required in the
source or destination.
So the command for FOX2 would be -
$ MOUNT/FOR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 08:48 PM
тАО05-12-2010 08:48 PM
Re: How to copy a save set on magnetic tape to a disk?
I did a small test and below are the results.
I created a saveset on tape and copied it to disk through BACKUP. When I tried to list the saveset on disk, it gave me the error %BACKUP-F-NOTSAVESET. I tried to repair the saveset but of no use. Then I used DCL copy command to copy the saveset from tape to disk and its working. Please refer the attached log for more details.
Regards,
Ketan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 10:31 PM
тАО05-12-2010 10:31 PM
Re: How to copy a save set on magnetic tape to a disk?
Your test wasn't doing what you thought it did; it didn't copy the saveset to disk.
From your test:
-------------------------
$ backup/log PHYSICAL.LIS;2 $2$MGA5:test.bck/save/ignore=label
%BACKUP-S-COPIED, copied SYS$SYSDEVICE:[BACKUP]PHYSICAL.LIS;2
$
$ backup/log/rewind/ignore=label $2$MGA5:test.bck []test.bck
%BACKUP-S-CREATED, created SYS$SYSDEVICE:[BACKUP]TEST.BCK;2
$ dir test.bck
Directory SYS$SYSDEVICE:[BACKUP]
TEST.BCK;2
Total of 1 file.
$ backup/list SYS$SYSDEVICE:[BACKUP]TEST.BCK;2/save
Listing of save set(s)
%BACKUP-F-NOTSAVESET, SYS$SYSDEVICE:[BACKUP]TEST.BCK;2 is not a BACKUP save set
-------------------------
The command: $ backup/log/rewind/ignore=label $2$MGA5:test.bck []test.bck
is restoring PHYICAL.LIS;2 from the test.bck saveset to a specified file name []TEST.BCK
The version ;2 is coming from rms parsing from PHYICAL.LIS;2
$ set def sys$sysdevice:[backup]
$ write sys$output f$parse("TEST.BCK","[]PHYSICAL.LIS;2")
SYS$SYSDEVICE:[BACKUP]TEST.BCK;2
$
If you would have issued the command:
$ differences physical.lis;2 test.bck;2
you would have gotten
Number of difference sections found: 0
Number of difference records found: 0
DIFFERENCES /IGNORE=()/MERGED=1-
SYS$SYSDEVICE:[BACKUP]PHYSICAL.LIS;2-
SYS$SYSDEVICE:[BACKUP]TEST.BCK;2
$
If the save set would have had more than a single file in it, what was happening would have been more obvious.
Backup is powerful, but it isn't always obvious what a command is doing.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 11:05 PM
тАО05-12-2010 11:05 PM
Re: How to copy a save set on magnetic tape to a disk?
Yes Jon, you are correct.
Regards,
Ketan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 11:09 PM
тАО05-12-2010 11:09 PM
Re: How to copy a save set on magnetic tape to a disk?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2010 11:32 PM
тАО05-12-2010 11:32 PM
Re: How to copy a save set on magnetic tape to a disk?
As Ketan demonstrated, the commands that were given by Murali,
------------------
$ MOUNT/FOR