Project

General

Profile

Actions

Task #940

closed

resequence datasources in dependency order

Added by Aaron Marcuse-Kubitza almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
High
Start date:
07/10/2014
Due date:
% Done:

100%

Estimated time:
Activity type:

Description

  • this enables bootstrapping the DB from a VM backup

steps

  1. put all metadata datasources before all other datasources:
    1. rename each remaining metadata datasource to start with ".": IRMNG, newWorld, IUCN
      - IRMNG must come before TNRS (happens automatically because they are in alphabetical order)
      - newWorld, IUCN must come before the public schema
      steps for IRMNG:
      vmv inputs/IRMNG/ inputs/.IRMNG/
      ci 'fix: inputs/IRMNG/: renamed to inputs/.IRMNG/ (see issue #940)'
      # on all machines:
      # {
      up
      for i in inputs/IRMNG{,/*}/logs/*; do mv -f $i ${i/IRMNG/.IRMNG}; done
      rd inputs/IRMNG{,/*}/logs
      for i in inputs/IRMNG/*/*; do mv -f $i ${i/IRMNG/.IRMNG}; done
      rd inputs/IRMNG/*/
      for i in inputs/IRMNG/*; do mv -f $i ${i/IRMNG/.IRMNG}; done
      rd inputs/IRMNG/
      # }
      
Actions

Also available in: Atom PDF