LexBuild

LexBuild - Routine Procedures

Crontab is used to help on the routine procedures. In addition, manually operation is needed. They are described as follows:

  • Daily:
    • crontab commands are used for the daily backup and maintenance programs.
    • It generates tables, LEXICON, and re-index starting at 4:00 AM.
    • The database is at lexBuild
    • The crontab ran on both lexBuild and lexdev (only for LEXICON)

  • Monthly:
    • All daily backup data should be move to monthly data and then zip it as follows:
    • shell>cd $BACKUP/Routine/LexBuild/year/
    • shell>mkdir foo
    • shell>mv mm_* foo
    • shell>mv foo mm_yy

  • Annually
    • Update scripts and directly for both lexsrv1 and lexdev
    • cd $BACKUP/Routine/LexBuild
    • mkdir yyyy

    • cd $LB/Tools/LoadDb
    • Update yyyy in GenScript and DbScript
    • Zip all year data
    • cd $BACKUP/Routine/LexBuild
    • gtar -czvf yyyy.tgz yyyy