Revision 14009
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/config/VirtualBox_VMs/vegbiendev/README.TXT | ||
---|---|---|
19 | 19 |
# press Ctrl-D |
20 | 20 |
# return to the previous window |
21 | 21 |
# press ENTER |
22 |
make misc-Linux db # restore users, which are not part of the backup |
|
23 | 22 |
* to use a database backup: |
24 | 23 |
# { |
24 |
make mk_db # restore users, which are not part of the backup |
|
25 | 25 |
l=1 src='starscream.nceas.ucsb.edu:~/bien/' dest=. put backups/vegbien.r12025.backup # runtime: 35 min ("0:32:34") |
26 | 26 |
for schema in temp util py_util geoscrub herbaria IRMNG IUCN NCBI newWorld TNRS ARIZ; do |
27 | 27 |
bin/psql_verbose_vegbien <<<"CREATE SCHEMA \"$schema\";" |
... | ... | |
36 | 36 |
# { |
37 | 37 |
(cd inputs/; for dir in IRMNG IUCN newWorld; do mv "$dir" ."$dir"; done) |
38 | 38 |
(cd inputs/; for dir in */; do dir="${dir%/}"; case "$dir" in analytical_db|ARIZ) : ;; *) mv "$dir" .archive/"$dir";; esac; done) |
39 |
make inputs/install schemas/public/reinstall # runtime: 15 min ("15:11:16".."15:26:28") @starscream.vegbiendev |
|
39 |
make misc-Linux db inputs/install schemas/public/reinstall # runtime: 15 min ("15:11:16".."15:26:28") @starscream.vegbiendev
|
|
40 | 40 |
# at "This will delete the current public schema of your VegBIEN DB", type y and press ENTER |
41 | 41 |
# } |
42 | 42 |
sudo halt |
Also available in: Unified diff
bugfix: config/VirtualBox_VMs/vegbiendev/README.TXT: to use a database backup: only run mk_db, not db, to avoid restoring schemas that are part of the backup