[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference cookie::archive_backup

Title:Archive/Backup
Moderator:COOKIE::MHUAIG
Created:Wed Sep 08 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:479
Total number of notes:2283

417.0. "Save request not using wild card file version on backup command seen in log" by CX3PST::WSC217::SWANK (David) Thu Apr 03 1997 14:40

A Customer adds a select save request with the include spec. of
"<disk>::[<dir>...]" and show save lists it as "<disk>::[<dir>...]*.*;*".
However the backup command is seen as "<disk>::[<dir>...]*.*;" missing
the wildcard "*" for the file verion.  I checked the template files,
however the backup command input specifier is a template field called
{DMWR.wildcard_include_spec} for a selective save.  The others are the
same in that they use a template for BACKUP's input specifier.

Is this intended behavior for selective saves.  What about full and
incremental saves, what are the BACKUP input specifier defaults for
them as well?

\thanks, David
T.RTitleUserPersonal
Name
DateLines
417.1actual save request?COOKIE::LEWISFri Apr 04 1997 14:434
Can you get us a copy of the actual save request (/full) ?

thanks
jim
417.2Full save request and logCX3PST::WSC217::SWANKDavidTue Apr 08 1997 11:43214
re .1

\Hi Jim,
\
>Can you get us a copy of the actual save request (/full) ?

The customer supplied the following full save request and its log showing the
missing * for the file version.
\
\Regards, David


Save Request
    Name            - INC_DRA0
    Version         - 10
    UID             - 8CA012F6-ACBE-11D0-93D6-454D4A565830
    Movement Type     - INCREMENTAL_ARCHIVE
    Data Object Set
        Sequence Option    - SEQUENTIAL
        Commit Option - KEEP_PARTIAL
        Node Name - EMJDV1
        Include Spec - DRA0:[USER.TRAIN.DEVELOP...]*.*;*
        Exclude Spec -
        Object Type Name - VMS_FILES
        Agent Qualifiers - /block=65534/list=abs$listings:inc_dra0_1/brief
        Data Safety Options - XOR_REDUNDANCY_GROUPS, CRC_VERIFICATION
        Compression Options - None
        Source File System Options - FILE_IGNORE_WRITERS
        Span Filesystem Options - NO FILESYSTEM SPAN
        Symbolic Links Option - LINKS_ONLY
        Object Date Options - None
        Selection Options - None
        Restore Options - RETAIN_EXISTING_VERSIONS
        Date Identifier - LAST_BACKUP
        Low Limit Date - 17-NOV-1858 00:00:00.00
        High Limit Date - 17-NOV-1858 00:00:00.00

        Node Name - EMJDV1
        Include Spec - DRA0:[CMS1996...]*.*;*
        Exclude Spec -
        Object Type Name - VMS_FILES
        Agent Qualifiers - /block=65534/list=abs$listings:inc_dra0_2/brief
        Data Safety Options - XOR_REDUNDANCY_GROUPS, CRC_VERIFICATION
        Compression Options - None
        Source File System Options - FILE_IGNORE_WRITERS
        Span Filesystem Options - NO FILESYSTEM SPAN
        Symbolic Links Option - LINKS_ONLY
        Object Date Options - None
        Selection Options - None
        Restore Options - RETAIN_EXISTING_VERSIONS
        Date Identifier - LAST_BACKUP
        Low Limit Date - 17-NOV-1858 00:00:00.00
        High Limit Date - 17-NOV-1858 00:00:00.00
    Owner     - EMJDV1::GNX_ED
    Access Right - EMJDV1::GNX_ED
        Access Granted - READ, WRITE, SET, SHOW, DELETE, CONTROL, EXECUTE
    Media Management Info
        Storage Class Name - DEV_SYSTEM_BACKUPS
        Media Type - None
        Device Name - None
        Start Time - 18:00
        Schedule Interval - DAILY
        Explicit Interval -
        Special Day On - None
        Special Day Off - None
        Execution Envir - DEV_SYSTEM_BACKUPS_ENV
        Retention Period -   14 00:00:00.00
        Original Object Action - NO_CHANGE
    Restart Interval - 17-NOV-1858 00:00:00.00
    Wait Flag - NO
    Prologue Command - None
    Epilogue Command - None


$   v = f$verify(0)
Executing ABS LOGIN.COM
Completed execution of ABS LOGIN.COM
$   EXIT
$! SCHEDULER$SHELL.COM  -- shell for executing Scheduler jobs
$! POLYCENTER Scheduler V2.1
$GOTO Start ! Avoid writing copyright all over the place
$Start:
$!
$ nsched_saved_verify = f$verify(0)
$       if f$mode() .eqs. "BATCH" then nsched_batch_job_number = p1
$       run nsched$:scheduler$doo_command
"@abs_system:coordinator.com 8CA012F6-ACBE-11D0-93D6-454D4A565830" Executing, o
------------------------------------------------------
---------------------------------------------------------------
Starting New Request at  7-APR-1997 18:00:30.31
   Name:   INC_DRA0
   UID:    8CA012F6-ACBE-11D0-93D6-454D4A565830

COORDINATOR:  Attempting to allocate volume set 11330...
COORDINATOR:  Mounting volume set member: 11330 RVN 1
COORDINATOR:     (Selected drive $1$RDEVF0:)
%MOUNT-I-MOUNTED, 11330 mounted on _$1$RDEVF0: (EMJDV1)
COORDINATOR:  Skipping $1$RDEVF0: to End of Tape...
THREAD #1:

Operation #1 starting at  7-APR-1997 18:24:29.51

   Data Movement Type:    INCREMENTAL_SAVE
   Incremental Level:     Level 9 Operation

   Object Set:
      Object Type:        VMS_FILES
      Include List:       DRA0:[USER.TRAIN.DEVELOP...]*.*;*
      Exclude List:

   Archive Information:
      Storage Class Name: DEV_SYSTEM_BACKUPS
      Saveset Location:   11330
      Saveset Name:       7APR199718003075.

   Execution Environment:
      Name:               DEV_SYSTEM_BACKUPS_ENV
      Number of retries:  3
      Retry Interval:     15 minute(s)

THREAD #1:  $
THREAD #1:  SET NOON
THREAD #1:  $ version = F$EXTRACT(0,4,f$getsyi("VERSION"))
THREAD #1:  $ IF (VERSION .eqs. "V6.1") THEN $DEFINE BACKUP ABS$SYSTEM:ALTERNAT
THREAD #1:  $ DEFINE SYS$COM
THREAD #1:  MAND SYS$INPUT:
THREAD #1:  $ BACKUP DRA0:[USER.TRAIN.DEVELOP...]*.*; -
THREAD #1:  _$  -
THREAD #1:  _$ /LIST=_MBA3665:/FULL -
THREAD #1:  _$  -
THREAD #1:  _$ /IGNORE=(INTERLOCK) -
THREAD #1:  _$ /NOCRC/NOVERIFY/CRC -
THREAD #1:  _$ /block=65534/list=abs$listings:inc_dra0_1/brief -
THREAD #1:  _$  -
THREAD #1:  _$  -
THREAD #1:  _$ /SINCE=B
THREAD #1:  ACKUP -
THREAD #1:  _$ $1$RDEVF0:7APR199718003075./SAVE -
THREAD #1:  _$ /STOR=V2SLS/NOASSIST -
THREAD #1:  _$ /EXACT_ORDER
THREAD #1:  HDR17APR199718003075.11330 00010011000100 97097 97097 000000DECVMSB
THREAD #1:  HDR17APR199718003075.11330 00010011000100 97097 97097 000000DECVMSB
THREAD #1:  HDR2F6502465024                     M             00               
THREAD #1:  HDR2F6502465024                     M             00               
THREAD #1:  EOF17APR199718003075.11330 00010011000100 97097 97097 000033DECVMSB
THREAD #1:  EOF17APR199718003075.11330 00010011000100 97097 97097 000033DECVMSB
THREAD #1:  EOF2F6502465024                     M             00               
THREAD #1:  EOF2F6502465024                     M             00               
THREAD #1:  $
THREAD #1:  Normal successful completion
COORDINATOR:  Skipping $1$RDEVF0: to End of Tape...
THREAD #2:

Operation #2 starting at  7-APR-1997 18:27:29.28

   Data Movement Type:    INCREMENTAL_SAVE
   Incremental Level:     Level 8 Operation

   Object Set:
      Object Type:        VMS_FILES
      Include List:       DRA0:[CMS1996...]*.*;*
      Exclude List:

   Archive Information:
      Storage Class Name: DEV_SYSTEM_BACKUPS
      Saveset Location:   11330
      Saveset Name:       7APR199718272508.

   Execution Environment:
      Name:               DEV_SYSTEM_BACKUPS_ENV
      Number of retries:  3
      Retry Interval:     15 minute(s)


THREAD #1:
THREAD #2:  $
THREAD #2:  SET NOON
THREAD #2:  $ version = F$EXTRACT(0,4,f$getsyi("VERSION"))
THREAD #2:  $ IF (VERSION .eqs. "V6.1") THEN $DEFINE BACKUP ABS$SYSTEM:ALTERNAT
THREAD #2:  $ DEFINE SYS$COM
THREAD #2:  MAND SYS$INPUT:
THREAD #2:  $ BACKUP DRA0:[CMS1996...]*.*; -
THREAD #2:  _$  -
THREAD #2:  _$ /LIST=_MBA3687:/FULL -
THREAD #2:  _$  -
THREAD #2:  _$ /IGNORE=(INTERLOCK) -
THREAD #2:  _$ /NOCRC/NOVERIFY/CRC -
THREAD #2:  _$ /block=65534/list=abs$listings:inc_dra0_2/brief -
THREAD #2:  _$  -
THREAD #2:  _$  -
THREAD #2:  _$ /SINCE=B
THREAD #2:  ACKUP -
THREAD #2:  _$ $1$RDEVF0:7APR199718272508./SAVE -
THREAD #2:  _$ /STOR=V2SLS/NOASSIST -
THREAD #2:  _$ /EXACT_ORDER
THREAD #2:  HDR17APR199718272508.11330 00010012000100 97097 97097 000000DECVMSB
THREAD #2:  HDR17APR199718272508.11330 00010012000100 97097 97097 000000DECVMSB
THREAD #2:  HDR2F6502465024                     M             00               
THREAD #2:  HDR2F6502465024                     M             00               
THREAD #2:  EOF17APR199718272508.11330 00010012000100 97097 97097 000138DECVMSB
THREAD #2:  EOF17APR199718272508.11330 00010012000100 97097 97097 000138DECVMSB
THREAD #2:  EOF2F6502465024                     M             00               
THREAD #2:  EOF2F6502465024                     M             00               
THREAD #2:  $
THREAD #2:  Normal successful completion
THREAD #2:
COORDINATOR:  Dismounting volume set member: 11330 RVN 1
  ABS          job terminated at  7-APR-1997 18:30:04.50

  Accounting information:
  Buffered I/O count:             953         Peak working set size:  15024
  Direct I/O count:               722         Peak page file size:    72192
  Page faults:                   1163         Mounted volumes:            1
  Charged CPU time:           0 00:00:03.57   Elapsed time:     0 00:29:41.31
417.3I'll check into this. It looks like it is broken, but I'll checkCOOKIE::LEWISTue Apr 15 1997 17:282
I'm looking into this.  I'll keep you all posted in here.
jim
417.4it's related to the schedule interval being "daily"COOKIE::LEWISMon Apr 21 1997 15:0810
Here's a little progress report.  It seems that the problem is related to
the "schedule interval" being set to daily.  I created a save request
with a schedule interval of "one time only" and it correctly included the
wildcard for the version.  However, using the exact same save request, and
changing the schedule interval to "daily" (as the customer's shows), it does
NOT include the wildcard for the version.

I'll keep digging, just wanted to let you know.

jim
417.5think I've found the problemCOOKIE::LEWISMon Apr 28 1997 17:2025
It looks like the problem has nothing to do with the schedule interval 
being daily or "one time only".  I tried it again with one-time-only, and
now it fails the same as with "daily".  So, it looks to me like the problem
is the template file specification.  The code is doing what it should, but
I think the template is incorrect.  Almost all of the templates specify
BACKUP {DMWR.wildcard_include_spec} -{CR}
or something similar, the important part being the DMWR.wildcard_include_spec

I modified our template here for the incremental 
  abs$templates:VMS_BACKUP-2.INCREMENTAL_ARCHIVE_TEMPLATE
to specify the same for the backup command.  The template  now specifies
BACKUP {DMWR.wildcard_include_spec} -{CR}
{DMWR.exclude_object_name=/EXCLUDE=} -{CR}

This matches the other templates, and most importantly, seems to make the
incremental save work correctly.  My log file now correctly includes
the line 
THREAD #1:  $ BACKUP $1$DUA602:[LEWIS]*.*;* -

I'm still checking to see if there is any reason why we cannot simply change
the template file, but right now, that looks like the right thing to do to me.

I'll check and get back here.

Jim