Revision 7326
Added by Aaron Marcuse-Kubitza about 12 years ago
backups/Makefile | ||
---|---|---|
35 | 35 |
%.md5: % |
36 | 36 |
nice -n +5 md5sum $<|cut -d ' ' -f 1 >$@ |
37 | 37 |
|
38 |
# Run with `make -s` to avoid echoing make commands |
|
38 | 39 |
%.md5/test: %.md5 % _always |
39 | 40 |
echo '$(shell cat $<) $*'|nice -n +5 md5sum -$(if $(isMac),v)c /dev/stdin |
40 | 41 |
|
README.TXT | ||
---|---|---|
77 | 77 |
On jupiter: |
78 | 78 |
cd /data/dev/aaronmk/bien/backups |
79 | 79 |
For each newly-archived backup: |
80 |
make <backup>.md5/test |
|
80 |
make -s <backup>.md5/test
|
|
81 | 81 |
Check that "OK" is printed next to the filename |
82 | 82 |
On nimoy: |
83 | 83 |
cd /home/bien/svn/ |
84 | 84 |
svn up |
85 | 85 |
export version=<version> |
86 | 86 |
make backups/analytical_aggregate.$version.csv/download |
87 |
make backups/analytical_aggregate.$version.csv.md5/test |
|
87 |
make -s backups/analytical_aggregate.$version.csv.md5/test
|
|
88 | 88 |
Check that "OK" is printed next to the filename |
89 | 89 |
In the bien_web DB: |
90 | 90 |
Create the analytical_aggregate_<version> table using its schema |
... | ... | |
114 | 114 |
Back up: make backups/<version>.backup & |
115 | 115 |
Note: To back up the last import, you must archive it first: |
116 | 116 |
make schemas/rotate |
117 |
Test: make backups/<version>.backup/test & |
|
117 |
Test: make -s backups/<version>.backup/test &
|
|
118 | 118 |
Restore: make backups/<version>.backup/restore & |
119 | 119 |
Remove: make backups/<version>.backup/remove |
120 | 120 |
Download: make backups/download |
... | ... | |
127 | 127 |
Must come after TNRS restore to recreate tnrs_input_name view |
128 | 128 |
Full DB: |
129 | 129 |
Back up: make backups/vegbien.<version>.backup & |
130 |
Test: make backups/vegbien.<version>.backup/test & |
|
130 |
Test: make -s backups/vegbien.<version>.backup/test &
|
|
131 | 131 |
Restore: make backups/vegbien.<version>.backup/restore & |
132 | 132 |
Download: make backups/download |
133 | 133 |
Import logs: |
Also available in: Unified diff
backups/Makefile: %.md5/test: Added comment to run with `make -s` to avoid echoing make commands