aboutsummaryrefslogtreecommitdiffstats
path: root/rust/README.export.md
blob: 7301a4db8bf1fa4cd9565b03357c49c3d689a854 (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,contaner -j8 | pv | gzip > all_releases.json.gz