If you want the "latest" files restored then you want to use -latest instead of
the data parameters. You want to use -replace to overwrite without prompting.
To get all the details on restore, go to Tivoli website and then documentation
downloads and select the version of *SM you have and the Backup/Archive client
manual for the platform client you have. There are several sections in the
.pdf manual that explain the details of how to restore and retrieve and the
options.
David Longo
>>> JohnPimentel AT WINN-DIXIE DOT COM 06/18/01 10:17AM >>>
Hello all:
I am attempting to restore files to an AIX machine via the command line
interface (no GUI available), and am not sure which flags are available to
use. My issue: restore the latest
file(s) (files have been deleted) for a certain directory. The restore
should not prompt me to overwrite. I want it to overwrite regardless. I am
attempting to script this since it must be done to multiple sites.
What I have: dsmc restore /dir/sub/sub/* -su=yes pitd=01/01/2001 pitt=12:00
What I need: dsmc restore /dir/sub/sub/* -su=yes fromsomedate
tosomedaterange overwrite ...
How do I construct the from and to date range to give me files, if they
exist, for the given range, and if something in the given directory needs to
be overwritten, just do it w/out promping?
None of the books I have give any kind of listing for the possible restore
flags. The Tivoli site is geared more towards fixes and sales, and I can't
find anything on the tsm.org site either. If there is another place for me
to look, point me there.
Thank you,
John Pimentel
"MMS <health-first.org>" made the following
annotations on 06/18/01 10:50:57
------------------------------------------------------------------------------
---
This message is for the named person's use only. It may contain This message
is for the named person's use only. It may contain confidential, proprietary,
or legally privileged information. No confidentiality or privilege is waived
or lost by any mistransmission. If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any hard
copies of it, and notify the sender. You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are
not the intended recipient. Health First reserves the right to monitor all
e-mail communications through its networks. Any views or opinions expressed in
this message are solely those of the individual sender, except (1) where the
message states such views or opinions are on behalf of a particular entity;
and (2) the sender is authorized by the entity to give such views or opinions.
==============================================================================
|