Most operators should use the Zenodo managed import admin
panel instead. It runs and schedules the
same harvest from the web app — no shell access required — and is the
recommended path. The resumable local runner described below is an advanced
option for operators who need to drive a capped, restartable harvest from an
operator shell.
Start every new harvest with a capped scale. Move to a larger scale only after
the staging, runner, and status output look correct for the target project.
Choose a cap
Each staging or runner command accepts a named scale:
You can also pass
--max-records <count> to set an exact cap. Use
--max-records 0 only when you intend to run uncapped.
Stage records from Zenodo
Run OAI-PMH discovery to create a durable batch of Zenodo record IDs:--include-existing-assets only when you intentionally want to revisit
records that are already materialized in the project.
Resume discovery
If discovery stops before it finishes, resume it with the saved batch ID:Run the import
Drain staged records with the local runner:--rate-limit-per-minute <count> to override the batch’s stored rate limit
for one run. Use --max-records <count> when you want an exact per-run limit
instead of a named scale.
If a process stopped while records were marked running, reclaim stale work:
--retry-failed only when you are ready to retry failed records. Successful
records stay complete and are not run again.
Monitor progress
Check a batch at any time:- Batch status and processed totals.
- Pending, running, stale-running, failed, imported, updated, unchanged, and gone counts.
- How many Zenodo assets and distinct Zenodo record IDs already exist in the target project.
- Recent failed records with their last error.
- The saved OAI discovery state.
Look for new Zenodo records later
To find records that appeared after your last run, stage a new date window with--from-date and keep the default behavior that skips existing project assets.
Run the status command afterward to confirm the batch only staged records that
still need runner attention.