Document Migration via Shell Script
To migrate documents using the shell script, follow these steps:
- Logon to the server.
- Navigateto the $FICDB/bin/ path.
- Update the script as shown
below.
###################ADDmetadata for registration ################### ./docmigrncloudutil.shADD <APPID> <INFODOM> <MIGNSTARTTIME> <MIGNENDTIME><MIGNBATCHSIZE> <MIGNTHREAD> ###################EDITmetadata for registration ################### ./docmigrncloudutil.shEDIT <APPID> <INFODOM> <MIGNSTARTTIME> <MIGNENDTIME><MIGNBATCHSIZE> <MIGNTHREAD> ? Changes would reflect in AAI_DOC_MIGN_UTIL_REG table ###################ADD/ EDIT Properties ################### ./docmigrncloudutil.shPROPMAINT <KEY> <KEYVALUE> <APPID> <INFODOM>
For Example:./docmigrncloudutil.sh PROPMAINT CASESTATUS C OFS_CRR OFSAAAIINFO ./docmigrncloudutil.sh PROPMAINT API https://144.25.123.121/le6llk-prd/ aai-docmgmt-service/v1/fileUpload OFS_CRR OFSAAAIINFO The following changes would reflect in the AAI_DOC_MIGN_PROPERTIES table: ###################START Migration Process################### ./docmigrncloudutil.sh START <APPID> <INFODOM> ###################Enable / Disable Migration Process################### ./docmigrncloudutil.sh ENABLE <APPID> <INFODOM> ./docmigrncloudutil.sh DISABLE <APPID> <INFODOM>