Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Question about FSAUtility's -f parameter

Updated: 30 Jul 2010 | 2 comments
charles-k's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

I need to restore the archived files for some folders on my file server, and need clarification on the -f parameter for FSAUtility.  When running FSAUtility with "-t" to restore original files, *all* archived files will have matching placeholders on the file server, by virtue of them being archived files.  So if the -f (force restore) parameter is not used, does this mean that the files will not be restored since matching placeholders already exist on the file server?  I'm not clear as to why the -f parameter is optional.  Shouldn't the files from the archive overwrite the placeholders by default?  Am I not understanding this parameter correctly?  I'd appreciate it if someone could clarify this for me.  Thanks.

Charles

Comments

JesusWept2's picture
10
May
2010
1 Vote +1
Login to vote

Parameters for -t (Restore

Parameters for -t (Restore original files)
-s <UNC path>         UNC path name of source folder, volume or fileserver
-e <ext list>         Optional. List of file types to restore.
                      Specify as comma separated list of file extensions,
                      for example: *.xls,*.doc,*.txt. Default is all file types: *.*
-d <UNC path>         Optional. Destination folder, volume or fileserver for restored files
-D <mm-dd-yyyy>       Optional. Only restore files archived after this date
-f                    Optional. Overwrite existing files and placeholders when names match.

What i take that to mean is if you delete a placeholder off of the server, we're assuming you don't want the file there to begin with
So i'm going to assume that the -f means only to restore files that have placeholders or files that already exist there

So if i have say

\\myserver\myShare\WordDoc1.doc
\\myserver\myShare\WordDoc2.doc

\\myserver\myShare\WordDoc3.doc

If i delete the shortcuts for WordDoc1 and WordDoc2 but i wanted to use FSAUtility to restore only the files that existed now in that share, i'd use the -f so that it only resotres WordDoc3.doc, as opposed to restoring WordDoc1 and WordDoc2 and i'd have to delete them over again.

But again I could be completely wrong and have misinterpreted it

Murr38's picture
29
Jun
2010
0 Votes 0
Login to vote

Thanks JesusWept2. I was

Thanks JesusWept2.
I was missing the function of the -f and that is perfect.  Just what I was looking for.

Thank you.