Sometimes we have more than 64000 files in a single folder and we hit the maximum number of files that can be listed in the Data Protector Graphical User Interface.
So we cannot restore single files, unless we search for them using "restore by query" functionality,.
Orwe can use command line tools like this:
- First we search for the file to find out the exact path/s:
C:\Users\Administrator>omnidb -filesearch server.domain.net / my_file.txt
ObjType ObjName Description PathName
===============================================================================
WinFS server.domain.net:/C "C:" /Users/Administrator/Desktop/restore/Users/Administrator/Desktop/test/my_file.txt
WinFS server.domain.net:/C "C:" /Users/Administrator/Desktop/test - Copy (2)/my_file.txt
WinFS server.domain.net:/C "C:" /Users/Administrator/Desktop/test - Copy (3)/my_file.txt
WinFS server.domain.net:/C "C:" /Users/Administrator/Desktop/test - Copy - Copy (2)/my_file.txt
WinFS server.domain.net:/C "C:" /Users/Administrator/Desktop/test - Copy - Copy (3)/my_file.txt
WinFS server.domain.net:/C "C:" /Users/Administrator/Desktop/test - Copy - Copy/my_file.txt
WinFS server.domain.net:/C "C:" /Users/Administrator/Desktop/test - Copy/my_file.txt
[...]
- Once the file path has been located we search for the versions available (file path and name are case sensitive):
C:\Users\Administrator>omnidb -winfs server.domain.net:/C "C:" -fileversions /Users/Administrator/Desktop/test/my_file.txt
Session ID Mode Modified At Size [kB] Type
===============================================================================
2016/06/13-1 Full 6/13/2016 9:25:05 AM 8 File
2016/06/13-2 Full 6/13/2016 9:25:05 AM 8 File
2016/06/13-3 Full 6/13/2016 9:25:05 AM 8 File
2016/06/13-4 Full 6/13/2016 9:25:05 AM 8 File
2016/06/13-5 Full 6/13/2016 9:25:05 AM 8 File
2016/06/13-7 Full 6/13/2016 9:25:05 AM 8 File
2016/06/13-9 Full 6/13/2016 9:25:05 AM 8 File
2016/06/13-11 Full 6/13/2016 9:25:05 AM 8 File
2016/06/13-13 Full 6/13/2016 9:25:05 AM 8 File
2016/06/13-15 Full 6/13/2016 9:25:05 AM 8 File
[...]
- Finally we select the specific session we want to restore and run the restore command:
C:\Users\Administrator>omnir -winfs server.domain.net:/C "C:" -session 2016/06/13-5 -tree /Users/Administrator/Desktop/test/my_file.txt -as /Users/Administrator/Desktop/restore/my_file.txt