VAX/VMS Standalone Backup

Before using VMS Standalone Backup you need to install the Standalone Backup files on a suitable boot device.

I prefer to put a copy on a separate drive as well as the system disk as it so much easier to restore the system that way. You can even use a tape instead of a disk but I would not recommend doing that unless you have to – I used to use the TK50 on my MicroVAX II and though it worked (sometimes) it was painfully slow.

If you are logged in as a privileged user the first thing you need to do is to change your default directory to sys$update and execute stabackit.com which will copy all the required files to your chosen boot device.

When using a separate device you will be given the opportunity to initialize it first, normally you only need to do this if you are using a tape.

$ set def sys$update
$ @stabackit
%STABACKIT-I-SYMDEL, all global symbols deleted
 
Enter the name of the device on which to build the kit: dka500
 
Do you want to initialize _OSPREY$DKA500:? Note that this will erase all
files currently on the volume.
 
It is not necessary to initialize the disk, and you would not want to
initialize if you want to add a kit to an existing Files-11 disk. The
disk must be a valid Files-11 disk if you wish to skip initializing,
however.
 
Do you want to initialize [Yes/No, default No]: no
 
Sysgen parameters for standalone VMS have been placed in file
                SYS$SYSROOT:VAXVMSSYS.PAR-TEMP-00000114;1
%CREATE-I-CREATED, _OSPREY$DKA500: created
%CREATE-I-CREATED, _OSPREY$DKA500: created
%COPY-S-COPIED, SYS$COMMON:VMB.EXE;1 copied to _OSPREY$DKA500:VMB.EXE;1 (85 blocks)
%COPY-S-COPIED, SYS$COMMON:SYSBOOT.EXE;1 copied to _OSPREY$DKA500:SYSBOOT.EXE;1 (128 blocks)
%COPY-S-COPIED, SYS$COMMON:SYS.EXE;1 copied to _OSPREY$DKA500:SYS.EXE;1 (89 blocks)
  :
  :
  :
%COPY-S-COPIED, SYS$COMMON:ISL_SVAX_U2H4055.SYS;1 copied to _OSPREY$DKA500:ISL_SVAX_U2H4055.SYS;1 (130 blocks)
%COPY-S-COPIED, SYS$COMMON:STABACKUP.EXE;1 copied to _OSPREY$DUA500:STANDALON.EXE;1 (473 blocks)
%DELETE-I-FILDEL, SYS$SYSROOT:VAXVMSSYS.PAR-TEMP-00000114;1 deleted (18 blocks)
 
Ending time 12-JUL-2017 22:35:39.03
Starting time 12-JUL-2017 22:34:33.60
 
The kit is complete.
 
$

If you choose to put the Standalone Backup kit on your system disk fewer files are required and you will not be prompted to format the disk. To prevent the existing system files being overwritten the Standalone Backup files will be copied to a different local root (usually [000000.syse]) so you will need to specify this when booting from the system disk.

$ set def sys$update
$ @stabackit
%STABACKIT-I-SYMDEL, all global symbols deleted
 
Enter the name of the device on which to build the kit: dka0
Sysgen parameters for standalone VMS have been placed in file
                SYS$SYSROOT:VAXVMSSYS.PAR-TEMP-00000114;1
%CREATE-I-CREATED, _OSPREY$DKA0: created
%CREATE-I-CREATED, _OSPREY$DKA0: created
%COPY-S-COPIED, SYS$COMMON:SYSBOOT.EXE;1 copied to _OSPREY$DKA0:SYSBOOT.EXE;1 (128 blocks)
%COPY-S-COPIED, SYS$SPECIFIC:VAXVMSSYS.PAR;1 copied to _OSPREY$DKA0:VAXVMSSYS.PAR;1 (15 blocks)
%COPY-S-COPIED, SYS$SPECIFIC:SYSINIT.EXE;1 copied to _OSPREY$DKA0:SYSINIT.EXE;1 (118 blocks)
%SET-I-ENTERED, OSPREY$DKA0:SYSCOMMON.DIR;1 entered as _OSPREY$DKA0:SYSCOMMON.DIR;1
%COPY-S-COPIED, SYS$COMMON:DUDRIVER.EXE;1 copied to _OSPREY$DKA0:DSDRIVER.EXE;1 (46 blocks)
%COPY-S-COPIED, SYS$COMMON:STABACKUP.EXE;1 copied to _OSPREY$DKA0:STANDALON.EXE;1 (473 blocks)
%DELETE-I-FILDEL, SYS$SYSROOT:VAXVMSSYS.PAR-TEMP-00000114;1 deleted (18 blocks)
 
Ending time 12-JUL-2017 22:48:37.38
Starting time 12-JUL-2017 22:48:30.62
 
The kit is complete.
 
$

Then you need to shut down and halt the system to get to the console prompt.

$ $ @sys$system:shutdown 0 shutdown yes no later no none sav,reb
 
        SHUTDOWN — Perform an Orderly System Shutdown
                    on node OSPREY
 
%SHUTDOWN-I-OPERATOR, This terminal is now an operator’s console.
%%%%%%%%%%% OPCOM 12-JUL-2017 22:53:20.32 %%%%%%%%%%%
Operator status for operator _OSPREY$OPA0:
CENTRAL, PRINTER, TAPES, DISKS, DEVICES, CARDS, NETWORK, CLUSTER, SECURITY,
LICENSE, OPER1, OPER2, OPER3, OPER4, OPER5, OPER6, OPER7, OPER8, OPER9, OPER10,
OPER11, OPER12
  :
  :
  :
 
>>>

If not using the system disk then you just need to boot the device to load Standalone Backup.

>>>b dka500:
(BOOT/R5:0 DKA500:)

To load Standalone Backup from the system disk you need to tell the system to boot from the correct loal root (usually [000000.syse]). On most MicroVAX systems this is done by loading a value that specifies the root into R5.

>>>b dka0: /r5:e0000000
(BOOT/R5:E0000000 DKA500:)
 
2..
-DKA500
1..0..
 
VAX/VMS Version V5.5-2H4 Major version id = 1 Minor version id = 0
 
Please enter date and time (DD-MMM-YYYY HH:MM): 12-JUL-2017 22:55
 
Configuring devices . . .
 
Available device DKA100: device type Generic_DK
Available device DKA300: device type Generic_DK
Available device DKA500: device type Generic_DK
%BACKUP-I-IDENT, Stand-alone BACKUP V5.5-2; the date is 12-JUL-2017 22:55:53.69
$

We can now use the backup utility to take a complete backup of the System Disk (in this case I am going to back up the system disk to a saveset on my backup disk).

$ backup/image/verify dka0: dka500:[000000]20170712-system.sav/sav
%BACKUP-I-NOBACKUP, DKA0:[SYS0.SYSEXE]PAGEFILE.SYS;1 data not copied, file marked NOBACKUP
%BACKUP-I-NOBACKUP, DKA0:[SYS0.SYSEXE]SWAPFILE.SYS;1 data not copied, file marked NOBACKUP
%BACKUP-I-STARTVERIFY, starting verification pass
%BACKUP-I-PROCDONE, Operation completed. Processing finished at 12-JUL-2017 23:14:25.53
If you do not want to perform another Standalone Backup operation, use the console to halt
the system.
If you do want to perform another Standalone Backup operation, ensure the standalone
application volume is online and ready.
Enter “YES” to continue: ^P
>>>

Advertisements
This entry was posted in VMS and tagged , . Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s