Hi,
I'm after a bit of guidance/advice on how to complete a potentially tricky restore. We have a filestore with many thousands of directories and many, many thousands of files. I need to restore all files of a certain type, say .txt, but I need to relocate them so they come back in the same directory structures but starting in a different root. e.g.:
/user/files/dirA/dirB/dirC/dirD/dirE/fileA.txt
restores to
/user/restoredfiles/dirA/dirB/dirC/dirD/dirE/fileA.txt
To get the list of files I was thinking I should use bplist to get a list of all files backed up and then grep that for the specific file extension. That would then give me a file list that I could pass to bprestore.
For the redirection, can I create a rename file that just contains:
change /user/files to /user/restoredfiles
and pass that in to bprestore to redirect all of the files but maintain the subdirectories?
Does that sound like (a) a workable plan and (b) a sensible plan?
Thanks,
Joe