Revision 14010
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/config/VirtualBox_VMs/vegbiendev/README.TXT | ||
---|---|---|
22 | 22 |
* to use a database backup: |
23 | 23 |
# { |
24 | 24 |
make mk_db # restore users, which are not part of the backup |
25 |
screen |
|
26 |
# press ENTER |
|
25 | 27 |
l=1 src='starscream.nceas.ucsb.edu:~/bien/' dest=. put backups/vegbien.r12025.backup # runtime: 35 min ("0:32:34") |
26 | 28 |
for schema in temp util py_util geoscrub herbaria IRMNG IUCN NCBI newWorld TNRS ARIZ; do |
27 | 29 |
bin/psql_verbose_vegbien <<<"CREATE SCHEMA \"$schema\";" |
... | ... | |
30 | 32 |
# must use for loop because pg_restore doesn't support multiple --schema |
31 | 33 |
# options (it just uses the last one) |
32 | 34 |
# (http://postgresql.1045698.n5.nabble.com/pg-restore-should-accept-multiple-t-switches-td2399138.html) |
35 |
# press Ctrl-D |
|
33 | 36 |
# ... |
34 | 37 |
# } |
35 | 38 |
* to use a clean database: |
Also available in: Unified diff
config/VirtualBox_VMs/vegbiendev/README.TXT: perform long-running operations inside `screen`