diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-28 21:42:34 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-28 21:42:34 -0800 |
commit | 0aae9644efa8da34e78b8d2b1bc12e185548ab45 (patch) | |
tree | 01c237d38c6cc36af421654fe969fba1fe274db7 | |
parent | fe8a68f60e469d794b7d98ad2df1802c23a6752d (diff) | |
download | fatcat-0aae9644efa8da34e78b8d2b1bc12e185548ab45.tar.gz fatcat-0aae9644efa8da34e78b8d2b1bc12e185548ab45.zip |
update export README
-rw-r--r-- | rust/README.export.md | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/rust/README.export.md b/rust/README.export.md index 97c2c028..f9965a6f 100644 --- a/rust/README.export.md +++ b/rust/README.export.md @@ -1,13 +1,14 @@ -First create ident files: +First create ident files, following `../extra/sql_dumps/`. - psql fatcat < ../extra/quick_dump.sql - -Then dump: +Then, to dump locally to stdout: cat /tmp/fatcat_ident_releases.tsv | ./target/debug/fatcat-export releases -Or, perhaps, in production: +Or, in production: - cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release --expand files,filesets,webcaptures,container -j8 | pv -l | gzip > release_export_expanded.json.gz + cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release --expand files,filesets,webcaptures,container -j8 | pv -l | gzip > /srv/fatcat/snapshots/release_export_expanded.json.gz + cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release -j8 | pv -l | gzip > /srv/fatcat/snapshots/release_export.json.gz + cat /tmp/fatcat_ident_containers.tsv | ./target/release/fatcat-export container -j8 | pv -l | gzip > /srv/fatcat/snapshots/container_export.json.gz + cat /tmp/fatcat_ident_files.tsv | ./target/release/fatcat-export file -j8 | pv -l | gzip > /srv/fatcat/snapshots/file_export.json.gz |