ADSM-L

Re: Help - ADSM API Question on NT

1998-12-10 10:19:15
Subject: Re: Help - ADSM API Question on NT
From: Andy Raibeck <storman AT US.IBM DOT COM>
Date: Thu, 10 Dec 1998 07:19:15 -0800
The API can not be used to access files backed up or archived
with the regular Backup-Archive client.

If you need to use the API to retrieve files, then you must use
the API to archive them.

Alternatively you might write a program to do something like this:

a) Run dsmadmc to issue a SELECT statement against the ARCHIVES
   table and redirect the output to a file.

b) Read the file containing the SELECT output and, using whatever
   criteria you desire, locate the versions by archive date and
   time you wish to retrieve. The criteria might be another input
   file containing the names of the files to retrieve including
   date and time criteria, description, etc.

c) Write an output file containing RETRIEVE commands with
   appropriate -FROMDATE, -FROMTIME, -TODATE, -TOTIME,
   -DESCRIPTION, etc., to retrieve the desired files.

d) Invoke dsmc with the MACRO command to retrieve the files.

Best regards,

Andy

Andy Raibeck
IBM Storage Systems Division
ADSM Client Development
e-mail: storman AT us.ibm DOT com
"The only dumb question is the one that goes unasked."

Help PLEASE!

Situation: Would like to "archive" files from 98/NT (& if possible Mac) =
platforms using the normal client GUI utilities.  Then a custom C-based =
ADSM API client application is being developed to "retrieve" the files =
onto a 98/NT machine.

Problem: Does anyone know if a different application than the one =
whiched "archived" files can "retrieve" them?  A note on page 41 of the =
ADSM "Using the API" manual states that: "The API can only restore or =
retrieve objects that have been backed up or archived with API calls."  =
Does this mean that I will also need to write an archive client to be =
able to retrieve the files with a C API program?  In other words, does =
the same application need to both read and write a given file?  Or can =
the regular clients archive and an API-based application retrieve the =
same files, given the proper nodename & password?

Thanks,
Fabrizio Golino
fgolino AT ex-pressnet DOT com
<Prev in Thread] Current Thread [Next in Thread>