Bookshelf Home | Contents | Index | Search | PDF |
Siebel Server Administration Guide > Siebel Server Infrastructure Administration > Administering the Siebel File System >
Using the Siebel File System Cleanup Utility
The Siebel File System Cleanup Utility is a command-line utility, named sfscleanup.exe, located in the bin subdirectory within the Siebel Server root directory. Sfscleanup.exe will process every file in the file attachment directory and perform one of several operations to each file depending on the file type and the parameters that you set. For descriptions of the run-time parameters that you can set when running sfscleanup.exe, see Table 11. For descriptions of the file types and the associated operation that will be performed by sfscleanup.exe during processing, see Table 12.
To cleanup the file attachment directory using sfscleanup.exe
- At the command prompt, change directory to the bin subdirectory within the Siebel Server root directory.
- Run sfscleanup.exe using the parameters listed in Table 11 as shown in the following example:
sfscleanup /u sadmin /p secret /f \\server1\files /x \\server1\logs\sfscleanup.log
If you specified an output file using the /x parameter,
sfscleanup.exe
will generate a log file listing the operations that were performed. The output file is a tab-delimited text file that contains the following columns:
- File Name
This column lists the name of each file that was processed.
- File Type
This column lists the type of each file that was processed. Table 12 lists the possible file types and the associated operation that will be performed by sfscleanup.exe during processing.
Table 12. File Types and Associated Operation File Type Description Operation1 CURRENT The file has a corresponding record in the file attachment database table. KEPT NEW The file is less than five minutes old. Sfscleanup.exe will not check for the file in the file attachment database table. KEPT ORPHAN The file does not have a corresponding record in the file attachment database table. DELETED2 OLDREV The file has a corresponding record in the file attachment database table but the record indicates a version different from the file. KEPT3 INVALID The file (or directory) is not a file attachment. If sfscleanup.exe is attempting to delete a subdirectory that is not empty, the operation will error out. This gives you an opportunity to review the files contained within the directory before deletion. DELETED2
1For descriptions of each operation, see Table 13.
2If you used the /m parameter to set a move directory, then the operation performed on the file will be MOVED.
3If you set the /n parameter to Y, the operation performed on the file will be DELETED (or MOVED if you used the /m parameter to set a move directory).
- Operation
This column lists the type of operation that was performed during processing. Table 13 lists the types of operation that sfscleanup.exe may have performed during processing.
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Server Administration Guide, Version 7.5, Rev. C Published: 18 April 2003 |