1753872 Members
7434 Online
108809 Solutions
New Discussion юеВ

Re: Restoring Images

 
Andrij Cade_1
Advisor

Restoring Images

I am trying to mount a tape drive to restore an image file. I am trying to use the command

MOUNT mkd500:FOREIGN

But it keeps asking me for label and log? I have no idea. What is the correct syntax?

Once mounted I am going to use:

BACKUP/IMAGE/REW/LOG mkd500:dep100.img/SAVE dka0

Is this correct?
4 REPLIES 4
Robert Gezelter
Honored Contributor

Re: Restoring Images

Andrij,

Welcome to the OpenVMS Forum!

The command is: MOUNT/FOREIGN

So in your case, it would be something like:
MOUNT/FOREIGN MKD500: TAPE

The mounted tape drive can then be referred to using the logical name TAPE. This is handy when one uses a command procedure to allocate a tape drive from a pool of possible drives, request that the tape be mounted, and then perform some operation.

The HELP text also has some examples.

I hope that the above is helpful!

- Bob Gezelter, http://www.rlgsc.com
Andrij Cade_1
Advisor

Re: Restoring Images

I mounted it fine, thank you for the syntax.

Now I am trying:

BACKUP/IMAGE/REW/LOG mkd500:dep100.img/SAVE dka0

where:
mkd500 is the tape where the image is
dep100 is the image name
dka0 is the destination hard drive for the image restore

When I run the above command it returns:

%backup-f-imgfilspe, /image specification must only have device name

What is the problem? I tried taking out the image name and it still didn't work.
The Brit
Honored Contributor

Re: Restoring Images

I think you need to put a colon, ":", on the "dka0", so try

BACKUP/IMAGE/REW/LOG mkd500:dep100.img/SAVE dka0:

Dave
Hoff
Honored Contributor

Re: Restoring Images

FWIW, there are some very useful command examples in the back of the BACKUP chapter in the documentation set -- details of the command(s) used for a whole list of typical BACKUP operations.

This command example list is in the System Manager's Utilities manual, and the current direct link is here:

http://h71000.www7.hp.com/doc/83final/6048/6048pro_026.html#heading_7.6

BACKUP can be quite complex and obscure and even cryptic, and this list can really help.

The other available option for those folks here that are less inclined to tangle with BACKUP directly is the BACKUP$MANAGER tool that is provided within OpenVMS. This tool can guide you through various of the typical BACKUP operations. To invoke this tool:

$ RUN SYS$SYSTEM:BACKUP$MANAGER