Project

General

Profile

« Previous | Next » 

Revision 6946

import_all: Run the import directly into a new, already-versioned public schema. This removes the need to manually rename the schema after import, and allows the backup commands to use the stored $version shell variable to refer to the last import.

View differences:

README.TXT
53 53
    If many inputs have errors, discard the current (partial) import:
54 54
        make schemas/public/reinstall
55 55
    Otherwise, continue
56
    Determine the import name:
57
        bin/import_name inputs/{.,}*/*/logs/*.<version>[.-]*log.sql
58
    Archive the last import: make schemas/rename/<version>
59 56
    Delete previous imports so they won't bloat the full DB backup:
60 57
        make backups/vegbien.<version>.backup/remove
61 58
    make backups/TNRS.backup-remake &

Also available in: Unified diff