diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/sql_dumps/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/sql_dumps/README.md b/extra/sql_dumps/README.md index 9d8cffc9..8c1b5239 100644 --- a/extra/sql_dumps/README.md +++ b/extra/sql_dumps/README.md @@ -50,10 +50,10 @@ couple different ways. We might not want database ports open to the network forwarding anyways. # Locally, or client running on a remote machine - psql fatcat < dump_abstracts.sql | egrep -v ^BEGIN$ | egrep -v ^ROLLBACK$ | pv -l | gzip > abstracts.json.gz + psql fatcat < dump_abstracts.sql | egrep -v ^BEGIN$ | egrep -v ^ROLLBACK$ | pv -l | pigz > abstracts.json.gz # Run on database server, write to file on remote host - psql fatcat < dump_abstracts.sql | egrep -v ^BEGIN$ | egrep -v ^ROLLBACK$ | pv -l | gzip | ssh user@host 'cat > abstracts.json.gz' + psql fatcat < dump_abstracts.sql | egrep -v ^BEGIN$ | egrep -v ^ROLLBACK$ | pv -l | pigz | ssh user@host 'cat > abstracts.json.gz' In production: |