Re: Odd backup corruption



Tom Wade wrote:

Greetings,

I've seen the following bizarre situation with BACKUP on an Alpha PS
433au.

OpenVMS7.3-2 with UPDATE 12 (which includes BACKUP 7).

$ copy temp-input.ps temp-copy.ps
$ diff temp-input.ps temp-copy.ps
Number of difference sections found: 0
Number of difference records found: 0

DIFFERENCES /IGNORE=()/MERGED=1-
DKA0:[TEMP]TEMP-INPUT.PS;1-
DKA0:[TEMP]TEMP-COPY.PS;2

SO far so good. Similar result for CONVERT. Now for BACKUP

$ backup temp-input.ps temp-backup.ps
$ diff temp-input.ps temp-backup.ps
File DKA0:[TEMP]TEMP-INPUT.PS;1
119 GetPageDeviceName @ type @/nametype ne ~/stringtype ne
and{!/none}if(.)5 120 -1 1{^ length add}for string 6 1 $ 5 ^ 5{~ 1
^ cvs length 1 ^ length 1 ^ ******
File DKA0:[TEMP]TEMP-BACKUP.PS;1
119 GetPageD @/nametype ne ~/stringtype ne and{!/none}if(.)5
120 -1 1{^ length add}for string 6 1 $ 5 ^ 5{~ 1 ^ cvs length 1 ^
length 1 ^ ************
************
File DKA0:[TEMP]TEMP-INPUT.PS;1
300 ex cy flipXY -1 eq {exch} if itransform pop
301 x2 sub /eShift exch def
******
File DKA0:[TEMP]TEMP-BACKUP.PS;1
300 eeviceName @ typeq {exch} if itransform pop
301 x2 sub /eShift exch def
************
%DIFF-F-READERR, error reading DKA0:[TEMP]TEMP-BACKUP.PS;1
-RMS-W-RTB, 26988 byte record too large for user's buffer

The file produced is the same size, and has the same RMS attributes

File Organization: sequential
Record Format: variable
Record Attributes: carriage-return
Maximum Record Size: 0
Longest Record: 153
Blocks Allocated: 600, Default Extend Size: 0
End-of-File VBN: 542, Offset: %X'008A'
File Monitoring: disabled
File Length Hint (Record Count): -1 (invalid)
File Length Hint (Data Byte Count): -1 (invalid)
Global Buffer Count: 0

However, the file is corrupted.

I also noticed the following:

1. The problem arises when trying to copy a file (as above), or
extracting a file from a Backup saveset. Writing a backup saveset is
OK, as I can move the newly created saveset to another machine, and
unpack the file successfully there.

2. The problem occurs irrespective of which disk (there are two) is
used.

3. I tried copying over the BACKUP.EXE and BACKUPSHR.EXE from
another 7.3-2 machine (with UPDATE 4) and the same thing happens.
The problem does not occur on this second machine (I remembered to
INSTALL REPLACE).

4. SHOW ERROR produces NOERRORS (no device errors found).

I am somewhat perplexed. Silent corruption from BACKUP is not
something I would have expected.

Has anyone seen anything like this ?


I'm not sure this isn't more of a problem with DIFF. If BACK /COMP
shows not problem then try DIFF /MOD=HEX. If there are differences this
will give you the record/ block numbers where it starts.

ISTR that there is/was a problem with overly long LF-stream records
still not being accepted by DIFF /MODE=HEX and led me to think of a
suggestion I might have had for Guy if he were still there, i.e. ignore
the record structure with :-

$ DIFF /BLOCK

with similar qualifiers to DUMP for display in BYTE, WORD, LONG etc.

would save the DUMP and subsequent DIFF On the DMP files.

Cheers - Dave.

--

.



Relevant Pages

  • Re: SQL 7.0 T-SQL Backup - Simple
    ... If you are already doing a diff and it suites your needs then just change ... the WITH NOINIT option on the diff backup to WITH INIT and it will overwrite ... >> that issues a DIFF backup with the INIT immediately after the FULL ...
    (microsoft.public.sqlserver.setup)
  • Re: SQL 7.0 T-SQL Backup - Simple
    ... to do a full backup every night so I need a diff or inc. Diff at this point ... seems to just keep adding the diffs to that one backup file. ... >> Sorry wasn't able to find the correct info for this question. ... >> Sorry for the basic question, I thought I would be able to find this ...
    (microsoft.public.sqlserver.setup)
  • Odd backup corruption
    ... I've seen the following bizarre situation with BACKUP on an Alpha PS 433au. ... $ diff temp-input.ps temp-backup.ps ... Writing a backup saveset is OK, as I can move the newly created saveset to another machine, and unpack the file successfully there. ... SHOW ERROR produces NOERRORS (no device errors found). ...
    (comp.os.vms)
  • Re: SQL 7.0 T-SQL Backup - Simple
    ... that issues a DIFF backup with the INIT immediately after the FULL backup. ... > BACKUP DATABASE TO DISK = ...
    (microsoft.public.sqlserver.setup)
  • Re: Odd backup corruption
    ... I've seen the following bizarre situation with BACKUP on an Alpha PS ... $ diff temp-input.ps temp-backup.ps ... My recollection is that the PWS, being a PC-class machine, has no memory ... PWS have one, if it does, have you tried it? ...
    (comp.os.vms)