<?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: Multiple savesets on a dlt tape in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058050#M85060</link>
    <description>Hoff,&lt;BR /&gt;Thanks for that. &lt;BR /&gt;&lt;BR /&gt;I apologise, I left off an important fact. I wish to extract from the tape only the 3rd saveset, for example, therefore skipping the arduous procedure of waiting for the tape to restore GiBs of data.&lt;BR /&gt;&lt;BR /&gt;I can restore using /select=blah_blah, but I was wondering what the procedure is to get a particular saveset in isolation?</description>
    <pubDate>Fri, 13 Jul 2007 20:18:04 GMT</pubDate>
    <dc:creator>MarkOfAus</dc:creator>
    <dc:date>2007-07-13T20:18:04Z</dc:date>
    <item>
      <title>Multiple savesets on a dlt tape</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058048#M85058</link>
      <description>&lt;!--!*#--&gt;Hi all,&lt;BR /&gt;It may be because I have not done this for ages, but anyway:&lt;BR /&gt;&lt;BR /&gt;Backups for a system are done to one single tape, such as (apologies if the formatting is bad):&lt;BR /&gt;$       backup  /media=compact /block=32256 /record /fast -&lt;BR /&gt;                /ignore=(inter,label) 'exclude_list' -&lt;BR /&gt;                /log -&lt;BR /&gt;                'device'[*...] tape:'label'/save&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;There can be up to 4 savesets on a single tape, or they may indeed span onto another tape. In this case, there are 3 savesets on the tape.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, if I mount the tape, eg mount mkd400 may01, for example, I can see the savesets and even copy them from the tape to a disk, but I can't use backup to extract them straight off the tape.&lt;BR /&gt;&lt;BR /&gt;So when I do the mount/for/nounlo mkd400, then a backup/log mkd400:dka100.bck [.rest...], it returns: %BACKUP-F-OPENIN, error opening MKD400:[000000]DKA100.BCK; as input&lt;BR /&gt;-SYSTEM-W-NOSUCHFILE, no such file&lt;BR /&gt;&lt;BR /&gt;What am I missing here?&lt;BR /&gt;Thanks,&lt;BR /&gt;Mark.&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jul 2007 18:46:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058048#M85058</guid>
      <dc:creator>MarkOfAus</dc:creator>
      <dc:date>2007-07-13T18:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple savesets on a dlt tape</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058049#M85059</link>
      <description>You can restore with BACKUP, or you can use Saveset Manager product to load these back in.&lt;BR /&gt;&lt;BR /&gt;If you're using BACKUP and not COPY, you can just keep executing the following:&lt;BR /&gt;&lt;BR /&gt;$ MOUNT/FOREIGN DKD400:&lt;BR /&gt;$ BACKUP MKD400:/SAVE DKE900:[SAVESET1...]&lt;BR /&gt;$ BACKUP MKD400:/SAVE DKE900:[SAVESET2...]&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;This will read off each saveset found on the tape, as the saveset is encountered, and drop the contents into the specified directories on DKE900:.  This regardless of the saveset name on the tape.&lt;BR /&gt;&lt;BR /&gt;If you want to see what filenames were used, MOUNT/OVER=ID MKD400:&lt;BR /&gt;DIRECTORY MKD400:[000000]&lt;BR /&gt;&lt;BR /&gt;If FWIW you are using COPY here to transfer files off tape, use it with caution.  COPY doesn't do tape continuation volumes, and doesn't deal with tape-level processing.&lt;BR /&gt;&lt;BR /&gt;The use of /IGNORE=INTERLOCK does mean that files within the saveset contents might be corrupt; that's a best-effort transfer, and conflicts and errors aren't necessarily logged.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jul 2007 19:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058049#M85059</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-07-13T19:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple savesets on a dlt tape</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058050#M85060</link>
      <description>Hoff,&lt;BR /&gt;Thanks for that. &lt;BR /&gt;&lt;BR /&gt;I apologise, I left off an important fact. I wish to extract from the tape only the 3rd saveset, for example, therefore skipping the arduous procedure of waiting for the tape to restore GiBs of data.&lt;BR /&gt;&lt;BR /&gt;I can restore using /select=blah_blah, but I was wondering what the procedure is to get a particular saveset in isolation?</description>
      <pubDate>Fri, 13 Jul 2007 20:18:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058050#M85060</guid>
      <dc:creator>MarkOfAus</dc:creator>
      <dc:date>2007-07-13T20:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple savesets on a dlt tape</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058051#M85061</link>
      <description>MarkOfAus&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; -----------------------------------------------------------------------&lt;BR /&gt;I wish to extract from the tape only the 3rd saveset, for example, therefore skipping the arduous procedure of waiting for the tape to restore GiBs of data.&lt;BR /&gt;&lt;BR /&gt;I can restore using /select=blah_blah, but I was wondering what the procedure is to get a particular saveset in isolation? &lt;BR /&gt;-------------------------------------------------------------&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Are you sure the saveset name is dka100.bck ?  As Hoff said, you can do a directory of the tape to see the saveset names&lt;BR /&gt; &lt;BR /&gt;This works for me (AXP VMS 7.3-2 and also worked in VMS 7.2-2)  I think it should work with any recent version of VMS.&lt;BR /&gt;&lt;BR /&gt;With privs:&lt;BR /&gt;&lt;BR /&gt;$ set magtape/fast_skip=always MKD400:  (This only needs to be done once per boot)&lt;BR /&gt;&lt;BR /&gt;Using the fast skip really makes a lot of difference when you want to skip to the 40th saveset on a tape!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ mou/for/nounl mkd400:&lt;BR /&gt;$! if save_set_number &amp;gt; 2 &lt;BR /&gt;$ files_to_skip = save_set_number*3-4 ! number of file marks to skip (save_set_number starts with 1, not 0)&lt;BR /&gt;$ set magtape/skip=files:'files_to_skip' ! much quicker than reading to find the file name, if you know save set #&lt;BR /&gt;$! To position to 3rd saveset, "set mag/skip=files:5"  This positions the tape so the next saveset will be the 3rd&lt;BR /&gt;$ backup mkd400: disk:[directory...] ! etc.  Don't specify file name, and it will use whatever is there.&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Fri, 13 Jul 2007 21:21:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058051#M85061</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2007-07-13T21:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple savesets on a dlt tape</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058052#M85062</link>
      <description>&amp;gt; What am I missing here?&lt;BR /&gt;&lt;BR /&gt;At the least, a clear explanation of what's&lt;BR /&gt;on the tape(s), and what you would like to do&lt;BR /&gt;with those data.&lt;BR /&gt;&lt;BR /&gt;"BACKUP /LIST /REWIND tape_device" can show&lt;BR /&gt;you the first save set, and then, without the&lt;BR /&gt;"/REWIND", it can show you the others.  (It&lt;BR /&gt;will do an implicit MOUNT /FOREIGN if needed,&lt;BR /&gt;so you could skip that step.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] backup/log mkd400:dka100.bck [...]&lt;BR /&gt;&lt;BR /&gt;Is there a save set named "dka100.bck" on the&lt;BR /&gt;tape?  (What does BACKUP /LIST say?)  Can we&lt;BR /&gt;assume that there was a lot of futile tape&lt;BR /&gt;reading before that error message appeared?&lt;BR /&gt;&lt;BR /&gt;If you know that you want the third save set,&lt;BR /&gt;but you don't know its name, you can use&lt;BR /&gt;repeated BACKUP /LIST commands to skip past&lt;BR /&gt;preceding save sets, and then use a normal&lt;BR /&gt;BACKUP command to do whatever with the Nth&lt;BR /&gt;save set.</description>
      <pubDate>Fri, 13 Jul 2007 21:32:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058052#M85062</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-07-13T21:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple savesets on a dlt tape</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058053#M85063</link>
      <description>Jon,&lt;BR /&gt;Yes I am sure dka100.bck is on the tape as I have used COPY to grab it from the tape.&lt;BR /&gt;VMS is 7.2-H1 Alpha.&lt;BR /&gt;&lt;BR /&gt;I will take the fast_skip on board, thanks.&lt;BR /&gt;&lt;BR /&gt;I tried the skip files on set magtape, but unfortunately I started the offset at 0, not 1.&lt;BR /&gt;&lt;BR /&gt;You're a genius! :-)&lt;BR /&gt;Brilliant!!! I thought I was going mad (I may still be, but that's another issue).&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mark.</description>
      <pubDate>Fri, 13 Jul 2007 23:14:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058053#M85063</guid>
      <dc:creator>MarkOfAus</dc:creator>
      <dc:date>2007-07-13T23:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple savesets on a dlt tape</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058054#M85064</link>
      <description>Thanks to Jon for his answer. &lt;BR /&gt;$ set magtape/skip=files:5 &lt;BR /&gt;positions to the correct saveset.</description>
      <pubDate>Fri, 13 Jul 2007 23:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/multiple-savesets-on-a-dlt-tape/m-p/5058054#M85064</guid>
      <dc:creator>MarkOfAus</dc:creator>
      <dc:date>2007-07-13T23:16:58Z</dc:date>
    </item>
  </channel>
</rss>

