Search file paths for files

tomcat318

Newcomer
Joined
Sep 8, 2008
Messages
2
Reaction score
0
Points
0
PREDATAR Control23

Hi,
is there a way to search for a specific filename to restore in a filespace if I don't know the folder path or only know one of the folders in that path?
 
PREDATAR Control23

Got to love it when a user asks you to restore a file they deleted, but don't remember the folder name. How do they know it's really deleted if they don't know the path? Anyway, I'm getting off topic.

Sure you can do it. Super easy with the GUI
click on Restore, expand the path as deep as the user can remember, than click on the magnifying glass to search:
upload_2016-9-7_11-19-41.png
upload_2016-9-7_11-20-42.png

Or with the command line, let's say the filename is: filename.txt and it exists somewhere on E:, you could do:
Code:
dsmc restore E:\filename.txt -subdir=yes -pick

Or on unix if it exists somewhere in /home, you could do:
Code:
dsmc restore /home/filename.txt -subdir=yes -pick

Pick the one you want to restore from the list.
 
PREDATAR Control23

another easy way to find the path but not always works:

search your dsmsched.log for the file-name. if it would have been backed up recently you'll get the path.
 
PREDATAR Control23

select backup_date, HL_NAME, state from backups where ll_name='<filename>' and node_name='<node>' order by backup_date
 
Top