Operating System - OpenVMS
1748169 Members
4266 Online
108758 Solutions
New Discussion юеВ

Re: backup of system image to tape

 
SOLVED
Go to solution
comarow
Trusted Contributor

Re: backup of system image to tape

Sorry, a file can span tapes in both copies and backups.
Volvocars
Advisor

Re: backup of system image to tape

Hello,

I am trying to reproduce the exact fault by taking the backup of the image saveset with the copy command. I hope I can give you some extra input within the next hour.

Mario
Volvocars
Advisor

Re: backup of system image to tape

Hello Gunther,

After the copy command I recall that I have indeed done a Mount/foreign to mount the tape again. How should the mount have to be performed in this case ?

Mario
Volvocars
Advisor

Re: backup of system image to tape

Hello guys,

In attachment, you have the logging which I have carried out.

NVX$ DISMOUNT/nounload $4$MKC300:
NVX$ MOUNT/FOREIGN/MEDIA_FORMAT=COMPACTION $4$MKC300: 13NOV
%MOUNT-I-MOUNTED, 13NOV mounted on _$4$MKC300: (NVX)

NVX$ backup/rew/list $4$MKC300:
Listing of save set(s)
%BACKUP-F-LABELERR, error in tape label processing on $4$MKC300:[000000].;
-BACKUP-F-NOTANSI, tape is not valid ANSI format

How can I make a descent listing of what image is currently on the tape in tapedevice $4$mkc300? Full log see attachment. Thanks in advance

Best regards,

Mario
Volker Halle
Honored Contributor
Solution

Re: backup of system image to tape

Mario,

please use the commands as suggested by Karl:

$ INITIALIZE/MEDIA_FORMAT=COMPACTION $4$MKC300: 13NOV
$ MOUNT/FOREIGN/MEDIA_FORMAT=COMPACTION $4$MKC300: 13NOV/BLOCK=nn/RECORD=nn
$ COPY DSA1800:[TEMP]13NOV.BCK $4$MKC300:

'nn' is the recordsize of the saveset (DIR/FU 13NOV.BCK).

Backup expects ANSI tape labels. This will only work, if you mount the tape as an ANSI labeled tape - WITHOUT using /FOREIGN.

Volker.
Volker Halle
Honored Contributor

Re: backup of system image to tape

Mario,

I've just tested the instructions given. They do work:

$ backu *.com test.bck/save
dir/full test.bck

Directory USERDISK1:[HALLE]

TEST.BCK;1
...
Record format: Fixed length 32256 byte records

$ init $3$MUA1: test
$ mount/block=32256/record=32256 $3$mua1: test
%MOUNT-I-MOUNTED, TEST mounted on _$3$MUA1: (CHARON)
$ copy test.bck $3$mua1:/log
%COPY-S-COPIED, USERDISK1:[HALLE]TEST.BCK;1 copied to $3$MUA1:[]TEST.BCK;1 (19 records)
$ dism/nounl $3$mua1:
$ back/lis $3$mua1:/save/rew
Listing of save set(s)

Save set: TEST.BCK
Written by: HALLE
Date: 28-NOV-2006 19:56:53.87
Command: BACKU/LOG *.COM TEST.BCK/SAVE
Operating system: OpenVMS Alpha version V8.2
...
Block size: 32256
Group size: 10
Buffer count: 44

[HALLE]ANALYZE_CRASH.COM;1 25 15-AUG-1997 16:16
...

Volker.
GuentherF
Trusted Contributor

Re: backup of system image to tape

Though shall not mount the tape /FOREIGN before copying the save set file to tape. ;-)

/Guenther
Volvocars
Advisor

Re: backup of system image to tape

Hello Karl, Gunther,

I managed this afternoon to try the backup again and it worked. Thank you very much with your solution.