Task #940
Updated by Aaron Marcuse-Kubitza almost 10 years ago
* this enables bootstrapping the DB from a VM backup
steps
# put all [[VegBIEN_contents#datasources|metadata datasources]] before all other datasources:
## 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:
<pre>
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/
# }
</pre>