aboutsummaryrefslogtreecommitdiffstats
path: root/rust/README.export.md
blob: cee361c05a834bf2e3bb08b3b55d1a998d748e71 (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 -l | gzip > release_export_expanded.json.gz