Revision 13424
Added by Aaron Marcuse-Kubitza over 10 years ago
README.TXT | ||
---|---|---|
90 | 90 |
List backups/ to view older backups |
91 | 91 |
Check their MD5 sums using the steps under On jupiter below |
92 | 92 |
Remove these backups |
93 |
unset version # clear any version from last import, etc. |
|
94 |
if no commits have been made since the last import (eg. if retrying an |
|
95 |
import), set a custom version that differs from the auto-assigned one |
|
96 |
(would otherwise cause a collision with the last import): |
|
97 |
svn info |
|
98 |
extract the svn revision after "Revision:" |
|
99 |
export version=r[revision]_2 # +suffix to distinguish from last import |
|
100 |
# env var will be inherited by `screen` shell |
|
101 | 93 |
for full import: |
102 | 94 |
screen |
103 | 95 |
Press ENTER |
... | ... | |
107 | 99 |
unset TMOUT # TMOUT causes screen to exit even with background processes |
108 | 100 |
set -o ignoreeof #prevent Ctrl+D from exiting `screen` to keep attached jobs |
109 | 101 |
unset n # on local machine, clear any limit set in .profile (unless desired) |
102 |
unset version # clear any version from last import, etc. |
|
103 |
if no commits have been made since the last import (eg. if retrying an |
|
104 |
import), set a custom version that differs from the auto-assigned one |
|
105 |
(would otherwise cause a collision with the last import): |
|
106 |
svn info |
|
107 |
extract the svn revision after "Revision:" |
|
108 |
export version=r[revision]_2 # +suffix to distinguish from last import |
|
109 |
# env var will be inherited by `screen` shell |
|
110 | 110 |
to import just a subset of the datasources: |
111 | 111 |
declare -ax inputs=(inputs/{src,...}/) |
112 | 112 |
# array vars *not* inherited by `screen` shell |
Also available in: Unified diff
fix: /README.TXT: Full database import: setting $version: moved to inside screen to avoid affecting the outer shell