Siebel attachment cleanup

Source: Internet
Author: User

Use sfscleanup to run $ siebel_root/siebsrvr/bin

Run the siebenv. Sh environment variable before running.

Sfscleanup/u sadmin/P secret/f \ server1 \ files/X \ server1 \ logs \ sfscleanup. Log

/X specify the name of the output log

Logs contain types and operations,


Current indicates the rowid of the file. The version number is exactly the same as that recorded in the database.

New indicates that the file was created less than one hour.

Orphan indicates that the file row_id does not exist in the Database attachment table. It can be deleted directly without any business association.

Invalid indicates that this file is not in the Siebel attachment naming format, and may be a folder.

The row_id of this file exists in the database table, but the version numbers are inconsistent. This indicates that this is the old version of this record (the file is re-opened and uploaded, and the record remains unchanged)

/U sadmin System Administrator
/P sadmin Password
/F \ server1 \ files attachment directory (level 1 of ATT)
/X \ server1 \ logs \ sfscleanup. log output file
/N whether to remove the old version
/G n whether to delete files generated by non-Siebel File System Components
/R n: whether to generate only report files (only file names and types are included)
/M \ server1 \ files_bak move the target directory of the Attachment
/C odbc Data Source
/D table owner

Export siebel_repository = "Siebel repository"

Generate the attachment validity report (No OS operation is performed)
Sfscleanup/u sadmin/P sadmin/C test_dsn/d Siebel/r y/f/share/siebfs // X ~ /Clear. Log

Generate Reports and move orphan, invalid, and sort ent files

Sfscleanup/u sadmin/P sadmin/C test_dsn/d Siebel/f/share/siebfs // X ~ /Clear. log/g y/n y

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.