Thanks Dwight! That did the trick.
The addition off "/*" to my variable "paths" worked for me.
]# while read paths; do dsmc restore -server=tsmserver
-virtualnodename=fileserver -password="password" $paths/* -subdir=yes
"/var/restore/"; done < /scripts/2014.sharepaths
+--
] While Loop in script not restoring files or
subdirectories.
I'm trying to restore a selection of paths from TSM. The directory
"/var/smb/files" has many paths in it, but I don't want to restore all of
them. I just want to restore those paths that I have listed in the file
"
t only the top directories are getting restored.
"/var/smb/files/myfiles/" has several files and directories in it. I have the
-subdir=yes option set, but I am not seeing any files or subdirectories
restored.
]# head /scripts/2014.sharepaths
/var/smb/files/myfiles
/var/smb/files/hisfile
Patrick, I had encountered the same thing. I changed Z:\*.* to Z:*.* and
then my subdirectories were included.
John
==
John M. Clement |
Data Processing Analyst III | PHONE: 309/438-7254
>I'm doing a selective scheduled backup with this as the settings for the
>drive
>
>Z:\*.*
>
>-su=yes
>
>Why doesn't it backup the files in the subdirectories?
Ostensibly because the filenames are not of the form *.* .
Your log shows the successful backup of so
.com
-Original Message-
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of
Richard Sims
Sent: Tuesday, May 22, 2001 9:10 AM
To: [EMAIL PROTECTED]
Subject: Re: subdirectories
>I'm doing a selective scheduled backup with this as the settings for the
>drive
&
try
-subdir=yes
-Original Message-
From: Patrick Sheehan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 10:25 AM
To: [EMAIL PROTECTED]
Subject: subdirectories
I'm doing a selective scheduled backup with this as the settings for the
drive
Z:\*.*
-su=yes
Why doesn't
I'm doing a selective scheduled backup with this as the settings for the
drive
Z:\*.*
-su=yes
Why doesn't it backup the files in the subdirectories? The include/exclude
file has the default settings, I've added nothing.
05/21/2001 20:12:07 Selective Backup function invoked.