The following script cleans up the orphan content.
dmfilescan -docbase_name <docbasename> -init_file D:\Documentum\dba\config\<docbasename>\server.ini -s filestorex_10 -scan_now FALSE -force_delete TRUE > D:\Temp\filescan_script_10202023.bat
- Run this script in content server, and it will create a batch file. Then execute that batch in storage server directly.
- The parameter -scan_now FALSE will not delete the files while running the original script. If you specify -scan_now TRUE, that will delete the content while running the original script. In that case, no need to run the output batch file.
- Run this script as dmadmin account.