- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Bringing data from tape
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
тАО07-24-2006 07:09 AM
тАО07-24-2006 07:09 AM
I have data backed up on tape with following save set name
$ dir tp0:[000000]*.*;*
Directory TP0:[]
00002058_IMA.SAV;1
After which I listed the contents of the save set
$ backup /list tp0:00002058_IMA.SAV;1
Listing of save set(s)
Save set: 00002058_IMA.SAV
Written by: MICROCT
UIC: [000200,000030]
Date: 24-OCT-2002 10:45:03.52
Command: BACKUP/NOASSIST DK0:[MICROCT.DATA.00001589.00002058]*.*;*/EXCL=*.RSQ;*
TP0:00002058_IMA.SAV/LOG/EXACT/LABEL=(KIMA01,XXXXXX)/BLOCKSIZE=65534/MEDIA_FORMAT=NOCOMPAC
TION
Operating system: OpenVMS Alpha version V7.2
BACKUP version: AXP721R0018
CPU ID register: 80000000
Node name: _SC4008::
Written on: _SC4008$MKB500:
Block size: 65024
Group size: 10
Buffer count: 68
[MICROCT.DATA.00001589.00002058]C0002105.AIM;1 16135 17-SEP-2002 09:14
[MICROCT.DATA.00001589.00002058]C0002105.GOBJ;4 31 8-OCT-2002 15:17
[MICROCT.DATA.00001589.00002058]C0002105.GOBJ;3 93 17-SEP-2002 08:48
[MICROCT.DATA.00001589.00002058]C0002105.GOBJ;2 67 17-SEP-2002 08:47
[MICROCT.DATA.00001589.00002058]C0002105.GOBJ;1 53 17-SEP-2002 08:46
[MICROCT.DATA.00001589.00002058]C0002105.ISQ;1 1118209 8-SEP-2002 10:10
So my question is for backup operation to bring the files shown above on my hard drive what would be the command with qualifiers
One way I thought of is
$backup tp0:[000000]00002058_IMA.SAV;1 [.testdir...]*.*;* /log
This should automatically bring all the contents of the saveset in the "testdir" folder
Is that correct ?
Is there a way I can simply copy all the savesets into the directory
e.g
$backup tp0:[000000]*.SAV;1 [.testdir...]*.*;* /log
I am using OpenVMS V7.3-2.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 07:23 AM
тАО07-24-2006 07:23 AM
Solution$ mount /override=identification tp0:
$ copy tp0:[]*.SAV [.testdir...] /log
While a tape does not have any subdirectories, it is a good idea to use [] or even [000000], because there can be a side-effect if your default context sits on a logical name search list (e.g. SYS$SYSROOT:[SYSMGR]). This can result in multiple file copies, because RMS grabs each entry from the search list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 07:26 AM
тАО07-24-2006 07:26 AM
Re: Bringing data from tape
A note of caution. BACKUP does its own management of the tape in the event of errors. Using COPY to copy the entire tape may produce problems.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 07:32 AM
тАО07-24-2006 07:32 AM
Re: Bringing data from tape
- assuming you have not turned of error messages with "$ SET MESSAGE", of course ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2006 08:33 AM
тАО07-24-2006 08:33 AM
Re: Bringing data from tape
In your case, you need to MOUNT/FOREIGN TP0: first, then you can issue your command but leave out the [000000] ie:
$ mount/foreign tp0:
$backup tp0:00002058_IMA.SAV;1/save_set [.testdir...]*.*;* /log
With [.testdir] being a subdirectory of wherever you are at the time of issuing the command, it will then create the (sub)directory structure from that point ie.
[currentdir.testdir.MICROCT.DATA.00001589.00002058]
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 02:04 AM
тАО07-25-2006 02:04 AM
Re: Bringing data from tape
And if you got the syntax wrong, you can still rename directories.
Wim