Add export_blocks view. Add iexport + audit table.
This commit is contained in:
parent
e1ec43def7
commit
75386c0235
5 changed files with 142 additions and 2 deletions
11
Makefile
11
Makefile
|
@ -59,12 +59,19 @@ sqldu:
|
|||
|
||||
# NOT RECOMMENDED TO RUN for the firts time on hot live db, will chomp all available IO. stop services first
|
||||
csv-export:
|
||||
@docker compose up -d postgres
|
||||
@sleep 10
|
||||
@nohup ./csv_export.sh > csv_export.out &
|
||||
|
||||
csv-iexport:
|
||||
@docker compose up -d postgres
|
||||
@sleep 10
|
||||
@nohup ./csv_iexport.sh > csv_iexport.out &
|
||||
|
||||
kill-csv-export:
|
||||
@kill -9 `pgrep csv_export.sh`
|
||||
|
||||
csv-compress:
|
||||
@tar cvzf csv_export.tgz dids.csv handles.csv post_counts.csv follows.csv like_counts.csv
|
||||
kill-csv-iexport:
|
||||
@kill -9 `pgrep csv_iexport.sh`
|
||||
|
||||
# ---------------------------- CSV Export ----------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue