Skip to Content

Could someone explain the difference between prune FRS and reposcan

I have search the Internet and found some old information about housekeeping ones BI Platform, using -prune on ones FRS's.

All that seems to relate to the XI/3.1 versions, and some have stated in the achieved threads of SCN, that prune is no longer supported https://archive.sap.com/discussions/thread/3868311#message-16546721

Other archived threads suggest that you use prune when running FILESERVER.EXE like in in this thread https://archive.sap.com/discussions/thread/3689670#message-15719031

Also, is there any way to circumvent the limitation in REPOSCAN.EXE w ith only repairing 1.000 objects at a time?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 22, 2017 at 10:03 AM

    -prune

    Instructs the FRS to delete the empty folders and then start the server. The server shuts down automatically when the empty folders are deleted. You can use the –trace command to get a log file for the number of folders visited and number of objects deleted. Remove the switch after completion.

    I am not sure about compatibility with latest version , But it should run , Try it in DEV first would be my obvious suggestion.

    You run RepoScan tool in order to identify object inconsistency and make sure the repositories (CMS and FRS) are in complete sync.

    https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=143065487

    -count <max errors>the maximum number of inconsistencies to scan for (default: 1000).

    Regards,

    Prasad

    Add comment
    10|10000 characters needed characters exceeded

    • I ended up doing a little testing myself, although it is on a 4.1 SP5 Patch 4 (Yeah I know)...

      What my findings where, is that reposcan -repair does not remove empty folders, but the fileserver.exe -root <path to input/output FRS> -prune -fg did.

      It might be that -prune is depricated, or is going to be, but the combination of the two things above, solved my issues.

  • Mar 22, 2017 at 12:47 PM

    Simple answer - prune removes empty FRS folders and orphaned reports/objects from FRS.
    Reposcan is a utility to gauge health of your Repository and fix some of the issues with it.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 22, 2017 at 12:33 PM

    Prune is no longer supported. Recommend to use reposcan. Reposcan has the option Count , Below is the definition of the option. This will limit only number of errors to scan, not number of objects. By default, it scans entire repo.

    The number of approximate errors to scan. This helps ensure optimum performance. The upper count is 2e31 - 1. A value of 0 is interpreted as the entire repository.

    The default value is 0.

    Add comment
    10|10000 characters needed characters exceeded