Commit Graph

8 Commits

Author SHA1 Message Date
Maciej Ziarkowski
25e61bb9cf Make paths relative to source file in extract_data 2020-01-20 19:43:19 +00:00
Maciej Ziarkowski
8fb7d43c38 Add missed fields to bulk extract query, docs 2020-01-19 18:31:10 +00:00
Maciej Ziarkowski
0bf4edd2c8 Add sustainability and type fields to bulk extract 2019-10-03 06:29:26 +01:00
Tom Russell
53f3f230fd Add README for data extracts 2019-10-02 15:04:15 +01:00
Tom Russell
0a86566821 Use Postgres COPY to extract data
- COPY typically runs faster than going via Python
- properly formatted JSON in edit history patches
- assumes postgres and maintenance user both have
  access to /tmp
2019-10-02 15:03:54 +01:00
Maciej Ziarkowski
02df31759f Error on archive with same name already present 2019-09-09 17:23:24 +01:00
Maciej Ziarkowski
a49b04f1aa Add time to data extract file name 2019-08-30 14:11:25 +01:00
Maciej Ziarkowski
be13cd94f5 Add data extract maintenance script 2019-08-29 13:17:09 +01:00