Revision 3698
Added by Aaron Marcuse-Kubitza over 12 years ago
README.TXT | ||
---|---|---|
23 | 23 |
|
24 | 24 |
Backups: |
25 | 25 |
After a new import: |
26 |
On vegbiendev: |
|
26 | 27 |
make schemas/rotate |
27 | 28 |
Rename the rotated schema using the date in the first datasource's log |
28 | 29 |
file name |
29 | 30 |
Delete previous imports so they won't bloat the full DB backup: |
30 | 31 |
make backups/public.<date>.backup/remove |
31 | 32 |
make backups/<schema>.backup/test & make backups/vegbien.backup/all & |
33 |
On local machine: |
|
34 |
make inputs/download-logs |
|
32 | 35 |
Archived imports: |
33 | 36 |
Back up: make backups/public.<date>.backup & |
34 | 37 |
Note: To back up the last import, you must archive it first (above) |
... | ... | |
40 | 43 |
Back up and rotate: make backups/vegbien.backup/rotate & |
41 | 44 |
Test: make backups/vegbien.<date>.backup/test & |
42 | 45 |
Restore: make backups/vegbien.<date>.backup/restore & |
46 |
Import logs: |
|
47 |
Download: make inputs/download-logs |
|
43 | 48 |
|
44 | 49 |
Datasource setup: |
45 | 50 |
Add a new datasource: make inputs/<name>/add |
Also available in: Unified diff
inputs/Makefile: Added download-logs to download import logs onto local machine and added it to the "After a new import" steps