Project

General

Profile

« Previous | Next » 

Revision 6105

README.TXT: Data import: Instead of using `make schemas/rotate` and then renaming the public schema to the correct name, just rename directly to the correct name using `make schemas/rename/...`. Use new import_name to determine the import name instead of manually finding the date in the first datasource's log file name.

View differences:

README.TXT
41 41
        To view progress:
42 42
            tail -f inputs/analytical_db/logs/make_analytical_db.log.sql
43 43
    Wait for make_analytical_db to finish
44
    Archive the last import: make schemas/rotate
44
    Determine the import name:
45
        bin/import_name inputs/{.,}*/*/logs/*.r<revision>[.-]*log.sql
46
    Archive the last import: make schemas/rename/public.<import_name>
45 47
        Important: This must be done *after* running make_analytical_db
46
    Rename the rotated schema using the date in the first datasource's log
47
        file name
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