We have a need to script a file restore, and I'm having difficulty figuring out how the wildcards work in NetBackup.
This will work:
root@desktop bin)# ./bplist -l -PI -R *1000000*
-rw-r--r-- root root 601 Jul 02 03:59
- /tmp/app/TempFl/TempFl-2010-07-01/ndx_file_1000000_.idx
-rw-r--r-- root root 601 Jul 02 03:59
- /tmp/app/TempFl/TempFl-2010-07-01/ndx_file_1000000_.idx
... (lots of files snipped)
but getting any more specific fails:
(PROD-BOYERS|root@desktop bin)# ./bplist -l -PI -R /tmp/app/TempFl/*1000000*
EXIT STATUS 227: no entity was found
root@desktop bin)# ./bplist -l -PI -R *TempFl/*1000000*
EXIT STATUS 227: no entity was found
root@desktop bin)# ./bplist -l -PI -R *TempFl*1000000*
EXIT STATUS 227: no entity was found
Can't find anything in the docs, but I must be missing something obvious. Any help apprciated - thanks much!
-- tim --