Project

General

Profile

« Previous | Next » 

Revision 6103

README.TXT: Data import: Moved checking that imports were successful before running make_analytical_db

View differences:

README.TXT
32 32
        Note that import_all will several hours to import the NCBI backbone and
33 33
            TNRS names before returning control to the shell.
34 34
    Wait (overnight) for the import to finish
35
    tail inputs/{.,}*/*/logs/*.r<revision>[.-]*log.sql
36
    Check that every input's log ends in "Encountered 0 error(s)"
37
    If many do not, fix the bug and discard the current (partial) import:
38
        make schemas/public/reinstall
39
    Otherwise, continue
35 40
    ./bin/make_analytical_db &
36 41
        To view progress:
37 42
            tail -f inputs/analytical_db/logs/make_analytical_db.log.sql
......
40 45
        Important: This must be done *after* running make_analytical_db
41 46
    Rename the rotated schema using the date in the first datasource's log
42 47
        file name
43
    tail inputs/{.,}*/*/logs/*.r<revision>[.-]*log.sql
44
    Check that every input's log ends in "Encountered 0 error(s)"
45
    If many do not, fix the bug and discard the current (partial) import:
46
        make schemas/public/reinstall
47
    Otherwise, continue
48 48
    Delete previous imports so they won't bloat the full DB backup:
49 49
        make backups/public.<version>.backup/remove
50 50
    make backups/TNRS.backup-remake &

Also available in: Unified diff