If his list of files only contains the zero byte filenames he doesn't need to restore to alternate directory. It will only restore the files he specifies in the list.
He has already indicated he can't go to an alternate path he doesn't have to if he specifying the files he wants to restore rather than entire directories. Of course he may have said that based on restoring the entire backup rather than restoring individual files that he has identified. It is however very important he read and understand the bprestore man page for the -f. From what he wrote he already knows the files he needs to restore so building his file list shouldn't be that hard. However, there are instructions in the man page regarding files with spaces in their names that he may need to be cognizant of if he has any like that. We use the -f <listfile> specification on a regular basis (mainly on UNIX/Linux) but don't usually have spaces in file names OR are doing entire directories. One can also use the -R <alternatepathfile> specification to redirect to alternate paths. If the list of files to be restored is small enough that it will fit in an alternate path he might want to do a test run using both -f and -R to verify it only restores the files he wants. If so he could then run it again with just the -f so that it puts the files he wants in their original locations. (Which would be simpler than manually moving them all back over the original.) -----Original Message----- From: veritas-bu-boun...@mailman.eng.auburn.edu [mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of bob944 Sent: Friday, April 15, 2011 7:46 PM To: veritas-bu@mailman.eng.auburn.edu Cc: simon.wea...@astrium.eads.net Subject: Re: [Veritas-bu] Restoration Issue > Got a File Server with a share that is approx 400GB and contains > millions of files. > San Media Win2k3 Sp2 & NBU 7.0.1 talking to a 7.0.1 Master > > Problem: We have identified 40,000 files, of various types (ie: > word, excel, jpeg, bmp, pdf) that are ZERO bytes. They appear to > have been like this for 4 months [...] > > 1) Files are scattered across various folders / subfolders that are > in use > 2) I cant just restore everythink back to its original location, > because there are files that have been recently used and amended Restoring from a file of filenames (as has been suggested), to a different directory, would be my preference. Then maybe script a comparison between the list of zero-byte files and the ones you have restored... If that is impractical and you have a backup of the current state of the server, zero-byte files and all, you could a) rename/move/delete the zero-byte files and b) restore the entire share to original location but do NOT check Overwrite existing files. You should get 40,000 restores and (millions - 40,000) "file exists" messages in the log. _______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu Proud partner. Susan G. Komen for the Cure. Please consider our environment before printing this e-mail or attachments. ---------------------------------- CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you. ---------------------------------- _______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu