1753776 Members
7363 Online
108799 Solutions
New Discussion юеВ

Vax 4300

 
SOLVED
Go to solution
vmsserbo
Super Advisor

Vax 4300

I am doing a standalone of the system disk this weekend. I just want to verify that I have the proper commands.

$2$DIA0: Mounted VAXVMS62
$2$MUA4: (* Tape drive *)

$ init $2$mua4: 060611SYSTEM.FULL
$ MOUNT/FOR $2$mua4:
$ backup/image/ignore=(INTERLOCK,LABEL,noback)- dia0 $2$mua4:060611SYSTEM.FULL

Is this correct? I am doing it in standalone mode.

Now, to defrag the system disk I will do the following:

$ init $2$DIA0: VAXVMS62
$ MOUNT/FOR $2$dia0:
$ backup/image/ignore=(LABEL) $2$mua4:060611SYSTEM.FULL dia0

Is this correct?

Thanks!

12 REPLIES 12
Ian Miller.
Honored Contributor
Solution

Re: Vax 4300

In standalone mode you would

$ backup/image/verify $2$dia0: $2$mua4:060611SYSTEM.FULL/SAVE/INIT/BLOCK=32000

I removed
/IGNORE=internlock - not needed as you are standalone and a Bad Thing anyway
/IGNORE=NOBACK - why do you want to backup the random contents of the page and swapfile?

I added
/VERIFY - you do want to know the backu is good
/BLOCK=32000 - helps to speed up the backup

Use the /INIT qualifier to initalise the tape or initialise the tape before you shut the system down.

To restore
$ BACKUP/IMAGE $2$mua4:060611SYSTEM.FULL/SAVE $2$DUA0:/INIT

I would do two copies to tape before doing this.
____________________
Purely Personal Opinion
vmsserbo
Super Advisor

Re: Vax 4300

So , I don't need to mount anything before the commands? Also, Can't I do an init before the actual commands?

Thanks!
labadie_1
Honored Contributor

Re: Vax 4300

When you init a tape, the maximum label size is 6 characters, so
$ init $2$mua4: 060611
will be correct

If it is a standalone backup, the /ignore=interlock will be irrelevant
but the syntax is
backup disk tape:label.bck/sav

When defragging, you may want add to the INIT command some qualifiers, /nohigh, /headers=xxx, /maximum_files=yyy
and then
backup/noinit
Ian Miller.
Honored Contributor

Re: Vax 4300

with traditional VAX standalone backup there is no need to mount anything and you can't as only the BACKUP command is available.

____________________
Purely Personal Opinion
Ian Miller.
Honored Contributor

Re: Vax 4300

Miles,
while you are here why not assigned a few points to replies to your previous questions

http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1322439&listType=unassigned&forumId=1

0-10 points to each reply - entirely up to you. See
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
____________________
Purely Personal Opinion
vmsserbo
Super Advisor

Re: Vax 4300

Why do I need to put the "/save". I don't want to put just a saveset file on the system disk, I want to restore all the files, directories and sub directories.

if I use the /save after the restore is finished, won't I only see the /save file instead of all the files directories..etc?

Ian Miller.
Honored Contributor

Re: Vax 4300

The /SAVE qualifier indicates that the parameter that it is applied to is a saveset.
On the command to backup the disk it is on the 2nd (output parameter). On the command to restore it is on the 1st (input) parameter.
Backup tried to be helpful and defaults to /SAVE for tape devices but it is good practice to use it.
____________________
Purely Personal Opinion
vmsserbo
Super Advisor

Re: Vax 4300

Okay so here is what I will use?

$ init $2$mua4: 060611
$ backup/image/verify $2$dia0 $2$mua4:060611/save/block=32000

For the Restore:

$ init/nohigh/owner=system/header=12000 $2$dia0: vaxvms62
$backup/image/noinit $2$mua4:060611/save $2$dia0:


For the vaxvms62 Can I use this it is over 6
or should I use vms062 as the label?
Ian Miller.
Honored Contributor

Re: Vax 4300

the INIT command for the tape is to be done before you shutdown VMS to perform the backup.


is the figure of 12000 headers based on how many files you have now? The INIT on the restore is only needed if you are going to change something.

Otherwise
$backup/image $2$mua4:060611/save $2$dia0:/INIT

will init the drive with the same parameters that where recorded in the backup.

If this VAX has a 2nd drive have you installed a standalone backup it on it? Its a lot quicker than booting standalone backup from tape.
____________________
Purely Personal Opinion