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 "/scripts/2014.sharepaths".
My problem is that 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/hisfiles /var/smb/files/herfiles /var/smb/files/theirfiles /var/smb/files/nofiles ]# while read paths; do dsmc restore -server=tsmserver -virtualnodename=fileserver -password="password" $paths -subdir=yes "/var/restore/"; done < /scripts/2014.sharepaths IBM Tivoli Storage Manager Command Line Backup/Archive Client Interface Client Version 5, Release 5, Level 4.0 Client date/time: 01/14/2014 15:04:31 (c) Copyright by IBM Corporation and other(s) 1990, 2012. All Rights Reserved. Node Name: SMBFILESERVER Session established with server TSMSERVER: Linux/x86_64 Server Version 5, Release 5, Level 4.0 Server date/time: 01/14/2014 15:04:31 Last access: 01/14/2014 15:01:43 Restore function invoked. Restoring 4,096 /var/smb/files/myfiles --> /var/restore/myfiles [Done] Restore processing finished. Total number of objects restored: 1 Total number of objects failed: 0 Total number of bytes transferred: 261 B Data transfer time: 0.00 sec Network data transfer rate: 21,240.23 KB/sec Aggregate data transfer rate: 0.00 KB/sec Elapsed processing time: 00:06:14 +---------------------------------------------------------------------- |This was sent by jones...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +----------------------------------------------------------------------