aboutsummaryrefslogtreecommitdiffstats
path: root/rust/README.export.md
blob: 1b083c680ed2984ad47177a65ce06015cd7f1c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

First create ident files:

    psql fatcat < ../extra/quick_dump.sql

Then dump:

    cat /tmp/fatcat_ident_releases.tsv | ./target/debug/fatcat-export releases

Or, perhaps, in production:

    cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release --expand files,container -j8 | pv | gzip > all_releases.json.gz