ADSM-L

Wildcards and Restores

1995-09-27 15:17:36
Subject: Wildcards and Restores
From: Jerry Lawson <jlawson AT ITTHARTFORD DOT COM>
Date: Wed, 27 Sep 1995 14:17:36 EST
I thought I knew how this worked, but it seemed to behave differently
yesterday.  Perhaps someone (IBM?) can correct my misunderstanding.

When we had IBM to teach the ADSM class (in March of '94; for release 1), the
instructor talked about the difference between datasets with suffixes (in a
DOS or OS/2 environment) vs. those that did not.  His recommendation at the
time was to handle them separately - use both *.* and * as distinct entities.

Yesterday I had to restore a full hard drive (actually 3 logical drives) using
ADSM and the OS/2 command line interface.  for the FAT drives, I entered the
following:

   Restore e:\*.* -subdir=yes -replace=no -tapep=no

The result was a restore of what appeared to be all of my drive.  A second
pass, using the following was made:

  Restore e:\* -subdir=yes -replace=no -tapep=no

The result was no new files, but I did gain 2 subdirectories!  I also spent a
lot of time doing it, as I had to pass 3 volumes of tape for the restore.

I did the same for the D drive with the same response.  One answer was that
there were no data sets without suffixes, but I don't *believe* that to be the
case.  BTW, I restored the C drive (which is HPFS, not FAT) with one pass,
with the following command:

  Restore c:\*.* -replace-no -tapep=no

All subdirectories were restored, even though I didn't tell it to follow the
chains.  OS/2 resides on the C drive.

Is it still necessary to make the two passes, or has there been a change in
processing.  I would prefer a single pass - the multiple passes with multiple
tapes is a real pain.

Also, I noted an inconsistencey in the way wildcards are handled between
exclude/include processing, and the restore commands.   On page 70 (top) of
the version 2 OS/2 client manual (SH26-4053), it shows using multiple letters
for the drive - [ce-g] to indicate drives c, e, f, and g.  This does not work
on a restore command - it comes back and tells me that there were no files
backed up for this combination.  Shouldn't the syntax for wildcards be
followed throughout?  If this was valid, I could make one pass of my restore
tapes, instead of three!  Otherwise it should say the syntax is incorrect, not
that I didn't back anything up.

signed - wishing in Hartford
Jerry Lawson
<Prev in Thread] Current Thread [Next in Thread>