ADSM-L

Re: RTFM question, asking your forgiveness in advance

2002-07-17 10:39:32
Subject: Re: RTFM question, asking your forgiveness in advance
From: asr AT UFL DOT EDU
Date: Wed, 17 Jul 2002 10:37:50 -0400
=> On Wed, 17 Jul 2002 09:02:57 -0500, Nancy Ames <nlames AT GUNDLUTH DOT ORG> 
said:

> I want to restore one directory with its subdirectories for users in
> multiple directories using the command line interface and can't get the
> syntax right.

You may have to iterate.  (ugh)

> vol1:users\%unique sitenames%\%unique usernames%\notes (and all its
> subdirs)


If the globbing is implemented server-side, this should work:

dsmc rest "vol1:users\*\*\notes" -subd=yes -replace=yes

If it's implemented client-side, then I think you're just out of luck, and you
need to whip up some iterative restore-script building thing.

Keep in mind, that the pattern you specify here will catch -BOTH-

vol1:users\site_a\user_a\notes

and

vol1:users\site_b\user_b\some\directories\project\notes

Every directory named 'notes' that is at least two levels deep.

This is probably not a problem, but if you notice folks complaining that their
meeting notes have been overwritten....


Allen S. Rout
<Prev in Thread] Current Thread [Next in Thread>