From 034da6e42bc6cc3dae3bc94b32df977aa4eac829 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 5 Feb 2019 12:44:48 -0800 Subject: start of README files for item uploads --- extra/sql_dumps/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'extra/sql_dumps/README.md') diff --git a/extra/sql_dumps/README.md b/extra/sql_dumps/README.md index 4d420190..ee2caa0d 100644 --- a/extra/sql_dumps/README.md +++ b/extra/sql_dumps/README.md @@ -69,3 +69,20 @@ replace the `fatcat_prod` database name. sudo -u postgres pg_dump --verbose --format=tar --exclude-table-data=auth_oidc fatcat_prod | pigz > /srv/fatcat/snapshots/fatcat_public_dbdump_${DATESLUG}.tar.gz Can also run using the remote/SSH options above. + +## Uploading to Internet Archive + +The `./ia_item_exports_readme.md` and `sqldump` files should be included as a +`README.md` when appropriate: + + ia upload fatcat_bulk_exports_YYYY-MM-DD ia_item_exports_readme.md --remote-name=README.md + ia upload fatcat_sqldump_full_YYYY-MM-DD ia_item_sqldump_readme.md --remote-name=README.md + +Metadata should be set as: + +- item name: `fatcat_bulk_exports_YYYY-MM-DD` or `fatcat_sqldump_public_YYYY-MM-DD` (or sometimes `sqldump_full`) +- collection: `ia_biblio_metadata` +- creator: `Internet Archive Web Group` +- date: that the dump started (UTC) +- title: "Fatcat Bulk Metadata Exports (YYYY-MM-DD)" or "Fatcat Public Database Snapshot (YYYY-MM-DD)" + -- cgit v1.2.3