Project

General

Profile

« Previous | Next » 

Revision 6962

README.TXT: Data import: Moved deletion previous imports before the import, so that full DB backup can be automated

View differences:

README.TXT
30 30
    For each newly-uploaded datasource: make inputs/<datasrc>/reinstall
31 31
    Update the auxiliary schemas: make schemas/reinstall
32 32
        The public schema will be installed separately by the import process
33
    Delete imports before the last so they won't bloat the full DB backup:
34
        make backups/vegbien.<version>.backup/remove
33 35
    Make sure there is at least 100GB of disk space on /: df -h
34 36
        The import schema is 75GB, and may use additional space for temp tables
35 37
        To free up space, remove backups that have been archived on jupiter:
......
52 54
    If many inputs have errors, discard the current (partial) import:
53 55
        make schemas/$version/uninstall
54 56
    Otherwise, continue
55
    Delete previous imports so they won't bloat the full DB backup:
56
        make backups/vegbien.$version.backup/remove
57 57
    make backups/vegbien.$version.backup/test opts=--exclude-schema=public &
58 58
    make schemas/$version/publish
59 59
    sudo backups/fix_perms

Also available in: Unified diff