summaryrefslogtreecommitdiffstats
path: root/rust/README.export.md
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-04-30 15:44:46 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-04-30 15:44:46 -0700
commit0e45543cb633f194970ca48f5c008439b7f26f04 (patch)
treed1bfd137da7b9db17ef6df111a8789b69fd46ef5 /rust/README.export.md
parent81fd879bf00e452bfd1e8da95164c2a2f431a0c3 (diff)
downloadfatcat-0e45543cb633f194970ca48f5c008439b7f26f04.tar.gz
fatcat-0e45543cb633f194970ca48f5c008439b7f26f04.zip
more complete metadata dumps
Diffstat (limited to 'rust/README.export.md')
-rw-r--r--rust/README.export.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/rust/README.export.md b/rust/README.export.md
index 6a550d7d..44ca8afd 100644
--- a/rust/README.export.md
+++ b/rust/README.export.md
@@ -5,10 +5,13 @@ Then, to dump locally to stdout:
cat /tmp/fatcat_ident_releases.tsv | ./target/debug/fatcat-export releases
-Or, in production:
+Or, in production, as the fatcat user:
cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release --expand files,filesets,webcaptures,container -j8 | pigz > /srv/fatcat/snapshots/release_export_expanded.json.gz
cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release -j8 | pigz > /srv/fatcat/snapshots/release_export.json.gz
+ cat /tmp/fatcat_ident_creators.tsv | ./target/release/fatcat-export creator -j8 | pigz > /srv/fatcat/snapshots/creator_export.json.gz
cat /tmp/fatcat_ident_containers.tsv | ./target/release/fatcat-export container -j8 | pigz > /srv/fatcat/snapshots/container_export.json.gz
cat /tmp/fatcat_ident_files.tsv | ./target/release/fatcat-export file -j8 | pigz > /srv/fatcat/snapshots/file_export.json.gz
+ cat /tmp/fatcat_ident_filesets.tsv | ./target/release/fatcat-export fileset -j8 | pigz > /srv/fatcat/snapshots/fileset_export.json.gz
+ cat /tmp/fatcat_ident_webcaptures.tsv | ./target/release/fatcat-export webcapture -j8 | pigz > /srv/fatcat/snapshots/webcapture_export.json.gz