Moving promptfoo eval results between machines and servers

Teams moving promptfoo eval history to a shared server need to know what the export keeps and what must be rebuilt. The page covers the documented export and import paths, the cutover sequence and the effort drivers.

On this page

How to migrate promptfoo evals to another server without losing what matters

The documented export and import path keeps each eval's ID, timestamp and author, so the migration is mostly a matter of deciding what to rebuild on the new server and then verifying the result. Before you export, list what the old instance holds beyond the eval records: tags you use to filter runs, datasets that runs were linked to, cache entries that speed up re-runs, and any share state your team relies on. The export does not carry these across, so each one needs a decision: recreate it, accept its loss, or keep the old instance readable for reference. Also decide what the destination is, whether a single developer's CLI, a self-hosted server or an Enterprise deployment, because that choice determines what your team can rebuild and who can see the results.

Effort depends on four things: how many evals you are moving, whether they reference images, audio or other media, how much sensitive content sits in prompts, outputs, variables and traces, and which people need access on the destination. Plan for media early. Running promptfoo export eval with --include-media embeds referenced media so the import is portable, which makes the file larger. Exports can still contain user data, so inspect a sample of the file before it moves through email, a shared drive or a ticket. Access is a separate decision: the self-hosted server uses a local SQLite database, has no RBAC, built-in authentication or SSO, and is not recommended for production use. Confirm in the promptfoo command line docs which flags your version supports before you script anything.

Verify the import before you retire the old instance. Compare the eval count, IDs and timestamps against the export, open a sample of runs, and confirm that outputs, scores and authors match. Check the duplicate handling deliberately: --new-id creates a copy, so a repeated import produces duplicates, while --force replaces an existing eval. Then rebuild the lost relationships from your decision list and record which ones you chose not to keep. If you want an outside party to run this work inside your own infrastructure, DeployOpen scopes it in writing before work starts, covering volume, media handling, sensitive content review, the access model and verification steps. No durations or prices are given here, and a quote follows from the written scope.

What maps cleanly from one promptfoo instance to another

This table compares each item in a promptfoo eval export with what happens when you import it on another machine or server, and what to do about it. Read the first column as the item, the middle column as the result on import, and the last column as the step to take before you share or run the import. The main takeaway is that identity and results carry over, while tags, dataset links, cache entries and share state stay behind and must be set up again on the target instance.

ItemWhat happens on importWhat to do
Eval IDPreserved on import, so the eval keeps its original identifier.Check the target instance for an existing eval with the same ID before importing.
Timestamp and authorPreserved on import, so the original run date and author stay on the record.Note the original author separately if your audit process needs a new owner.
--new-idCreates a duplicate eval under a new ID, so both copies exist.Use when you want to keep the imported run alongside the existing eval.
--forceReplaces an existing eval that has the same ID.Back up the target instance first and confirm the eval being replaced is disposable.
Media with --include-mediaEmbeds referenced media in the export so the import works on another machine.Add the flag when media such as images must travel with the results.
Prompts, outputs, variables and tracesCarried in the export, including any user data they contain.Inspect the export file before sharing it outside your team and remove sensitive content.
Tags, dataset links, cache entries and share stateNot reconstructed on import, so the eval arrives without them.Re-add tags, relink datasets and reshare the eval on the target instance by hand.
Other local filesLocal relationships outside the export may not follow the eval to the new machine.Confirm in the command line reference which local files sit outside the export before relying on the import.

Documented export and import paths for eval results

Promptfoo's documented path moves an eval out of one installation and into another through an export file and an import step. The cards below cover the commands, the identifiers that survive the move, the version match both machines need, and the limits of a self-hosted server used as the destination.

Export the eval with media

The promptfoo export eval command writes a stored eval to a file you can carry to another machine. Add --include-media so referenced media is embedded in the file, which keeps the export portable when the target machine does not have the original media files. Confirm the remaining export options in the command line reference before you script the step, and run one export and import on a test eval before you rely on the process.

Command line reference

Import keeps eval identity

An import restores the eval ID, timestamp and author from the export, so the record matches how it looked where it ran. That default creates a collision if the target already holds an eval with the same ID. --new-id imports a duplicate under a new ID, and --force replaces the existing eval. Confirm the exact import command and option spelling in the command line reference, and agree on the collision rule before the first run so no eval is overwritten by accident.

Command line reference

Match CLI versions on both ends

The npm release 0.124.1, published 8 October 2026, requires Node.js 22.22.0 or newer. Install the same release on both ends, on the machine that exports and on the machine or server that imports, and confirm both meet the Node.js floor before you compare results. A mismatch makes it harder to tell whether a difference in the imported record came from the data or from the tool version. Check the installed version on each host during the handover and record it alongside the exported file.

Local relationships that do not carry over

An import does not rebuild tags, dataset links, cache entries and share state. The imported eval shows its results, prompts and outputs, but the labels and links that tied it to your local workspace are missing on arrival. Before you move an eval, list what it depended on: the tag scheme, the dataset source files and any shared link your team uses. Recreate those on the target by hand, and expect cached responses to be missing there, which can change how long later runs take.

Self-hosted server as target

The self-hosted promptfoo app is an Express server that serves the web UI and API, and it deploys with Docker, Docker Compose or Helm on Kubernetes. Its data sits in a local SQLite database that cannot be shared across replicas, so the server runs as a single instance. It also has no RBAC, horizontal scaling, built-in authentication or SSO, and the project does not recommend it for production use. Confirm in the promptfoo documentation whether your import path writes into this server's database before you plan around it.

Inspect exports before sharing

An export file can contain user data in prompts, outputs, variables and traces, and it leaves your machine the moment you send it. Review it for personal data, customer records, credentials and internal system details before it goes into a ticket, a shared drive or a repository. Put that review in the handover checklist, name the person who signs off, and keep exports out of version control unless a data owner has approved them. Media embedded by --include-media falls under the same review.

How an eval moves from source to target and where the checks sit

The flow starts on the source instance, where promptfoo export eval writes the eval to a file. The export then passes a review for user data in prompts, outputs, variables and traces before it crosses an approved transfer channel. On the target, the import applies one ID option: keep the original ID, --new-id for a duplicate, or --force to replace an existing eval. Next, verify IDs, timestamps, authors and results. Tags, dataset links and share state are not restored by the import, so they are rebuilt by hand at the end. The review and transfer steps mark the trust boundaries.

Review and transfer are the trust boundaries between the two instances.

Steps to migrate promptfoo evals with a parallel run and cutover

This six-step sequence moves existing promptfoo eval results to a new instance with IDs, authors and timestamps intact, checks whether the target matches the source through a parallel run, and then retires the source. Each step closes with a check you can record, so the cutover rests on evidence.

  1. Inventory evals, sizes, media and sensitive content

    List every eval on the source with its ID, author, creation date, approximate size and whether it references media files. Flag any eval whose prompts, variables, outputs or traces may hold customer data, credentials or personal information, because these sets need a review decision before they move. Assign an owner to each set, usually the team that ran it. The step is done when the inventory has one row per eval set and every flagged set has a named reviewer.

  2. Export each set and review its contents

    Run promptfoo export eval for each set, adding --include-media where the eval depends on media so the export carries its files. Open every export and check prompts, outputs, variables and traces for user data before the file leaves the source environment. Redact or remove material the target should not hold, and record each change in the inventory, since edits alter the record. The step is done when every export has a reviewer's sign-off and its file location is logged.

  3. Pilot the import on a non-production target

    Import one or two representative exports into a non-production instance first, using the import steps in the command line docs. Check that each eval keeps its original ID, timestamp and author, and that results open and display correctly. Then test --new-id, which creates a duplicate, and --force, which replaces an existing eval, on throwaway copies so the team knows what each does. List tags, dataset links, cache entries and share state as known gaps to rebuild by hand. The step is done when a pilot report marks each check as passed, failed or accepted by its owner.

  4. Run a parallel period on both instances

    For the agreed period, run new evals against the source and the target with the same configs, prompts and models. Compare each pair of results against the checks owners agreed in advance, such as matching assertion outcomes, matching pass and fail counts and identical test case sets. Log every mismatch with its cause, separating model nondeterminism, config changes and import problems. The step is done when every mismatch has a recorded cause and the agreed checks pass across the full period.

  5. Cut over after freezing source writes

    Announce a freeze, stop new evals from writing to the source, and export anything created since the last comparison. Import that final set into the target, then point the CLI at the target server following the command line docs. Keep the target to a single instance, because the self-hosted server stores data in a local SQLite database that cannot be shared across replicas. The step is done when the source shows no new writes and a test eval from each team appears on the target.

  6. Decommission the source after retention review

    Agree with legal, security and the data owners which exports, databases and backups must be kept and for how long. Move retained material into encrypted storage with access limited to named people, then delete the source database, local SQLite files and any leftover exports on laptops. Remove the old server from every machine's CLI configuration. The step is done when the retention decision is signed off, the archive opens successfully in a test read and no team still points at the source.

What drives the effort to migrate promptfoo evals

This table compares the factors that change how much work an eval migration takes, what each one does to the work and what to request in a written quote. Read each row before estimating, because the target choice and the media and sensitivity review can outweigh the raw number of evals. Check each driver against your own export before any scope is agreed.

DriverEffect on the workWhat to ask for in a quote
Number of evals and export sizeLarger exports take longer to inspect, transfer and import, and each eval needs its own check of IDs and authors.Eval count, total export file size and a trial import of one export on a staging instance.
Media volume and the need for --include-mediaWithout --include-media, referenced media may not travel with the export. Embedding large media raises file size and transfer time.Media file count and total size, and a test import confirming embedded media opens on the target.
Sensitive content review across prompts, outputs, variables and tracesExports can contain user data in prompts, outputs, variables and traces, so each file needs inspection before it leaves the source.Who reviews the export, the redaction method, the review record and whether the reviewer signs off before transfer.
Tags, dataset links and share links to rebuildTags, dataset links, cache entries and share state are not reconstructed on import, so each one is rebuilt by hand.A written inventory of tags, dataset links and share links, and the rebuild step for each, with the owner named.
Target: self-hosted server or Enterprise tierSelf-hosted server uses SQLite, which cannot be shared across replicas and has no RBAC or SSO.Confirm with promptfoo whether Enterprise is needed, since its pricing is custom and set by quote.
CI/CD jobs that reference eval IDs or pathsJobs that call eval IDs or file paths need updating when --new-id or a different path is used.A list of jobs and scripts that reference eval IDs or paths, and the updated references tested in a pipeline run.
Number of machines and people producing evalsEvals from several laptops and CI runners mean more source hosts, more authors to preserve and more ID collisions to resolve.Count of source machines, people who create evals, and the plan for resolving duplicate IDs before import.
Retention and audit requirements for the historyImports keep original IDs, timestamps and authors, but tags and share state are not reconstructed, so keep a separate record.The retention period, audit fields that must survive the move, and where the source export and import log are kept.

What usually goes wrong when eval history moves

The risks below come from three places: an import that overwrites or duplicates a record, an export that carries more data than the team intended to share, and a target that loses local context without warning. Each card pairs one risk with the check that prevents it. Review them before the first import, not after a reviewer asks where the tags went.

Overwriting an existing eval

--force replaces any existing eval with the same ID, so importing an export into a server that already holds that run discards the stored results. Before importing, check the target's eval list for the ID the export carries. Use --new-id when the goal is a second copy, and reserve --force for a deliberate replacement that someone approved in writing. Back up the target database before any forced import.

Command line docs

Sensitive data inside exports

An export can contain user data in prompts, outputs, variables and traces, and those fields often include customer records, employee text or internal documents. Read the export before it leaves the machine that produced it, and search for names, identifiers and secrets the eval did not need. Share the file only through a channel your data handling policy already approves, and delete local copies once the import is confirmed.

Media missing from imports

Without --include-media, referenced images, audio and other files are not embedded in the export, so an import can succeed while the media is absent on the target. Pass --include-media on export whenever the eval depends on multimodal inputs or on files a reviewer must see. After import, open several cases that use media and confirm the files render, because a missing asset may not raise an error.

Silent loss of local state

Tags, dataset links, cache entries and share state are not rebuilt on import, so the loss is easy to miss. A team that filters results by tag or reruns a suite against its original dataset may find those views empty on the target. Record these fields before export, such as in the config file or a sidecar note, and restore the ones the team still needs after the import completes.

Mismatched CLI versions

Source and target machines can run different promptfoo CLI versions, and an export written by one version may not import cleanly into another. Check the version on both sides before the import, and keep them aligned for the whole migration window. The npm release 0.124.1 requires Node.js 22.22.0 or newer, so confirm the target runtime meets that floor before installing, and read the command line docs for the version you run.

SQLite treated as shared storage

A self-hosted promptfoo server stores data in a local SQLite database that cannot be shared across replicas, and it has no RBAC, built-in authentication or SSO, so it is not recommended for production. Teams often import history into it as the shared record anyway. Treat it as a single-instance workspace, limit who can reach it through your network controls, and plan a different store or the Enterprise edition if many people need shared, access-controlled history.

Self-hosting docs

How much effort does it take to migrate promptfoo evals?

What does migrating promptfoo evals cost and what is it made of?

Most of the cost is DeployOpen's time, plus a smaller share of your team's time. DeployOpen's part covers taking inventory of the eval exports, reviewing them for sensitive content, running the import, verifying the imported results against the originals and rebuilding any links that do not carry over, such as dataset links and tags. Your team's part covers approving the transfer, granting export access to the source machine or server and confirming the target environment. These are one-time costs. Ongoing support, upgrades and continuous testing are separate retainer work, which you only take on if you choose it. Ask for a written quote that lists each activity on its own line, the number of eval runs in scope and whether media embedding and sensitive-data review are included. DeployOpen does not publish a price list, so the written scope sets the figure.

How long does an eval export and import take?

The duration is set in the written scope, and its main drivers are the size of the eval history, the condition of the data and how many people must approve each step. The biggest factors are:

  • The number of eval runs and result rows to export and verify
  • Media attached to results, since embedded media increases file size
  • Sensitive content that needs review before any file leaves the source
  • Dataset links, tags and shares that must be recreated by hand
  • How quickly your approvers and access owners can respond

Ask for a timeline that separates inventory, review, import and verification, so each step can be checked before the next one starts.

What does our team need to provide for the migration?

Three things are needed before work starts: export access, an owner for sensitive review and an approved transfer channel. Export access means someone who can run promptfoo export eval on the machine or server that holds the results. The owner is a named person who decides whether prompts, outputs, variables and traces may leave the source environment, since exports can contain user data. The transfer channel is the route your security team has approved for moving files between systems, such as an internal file share or controlled storage. Confirm each item with your security team early, because approval queues often set the pace of the work. Also confirm which target environment will receive the imported results and who holds access to it.

Can our own team migrate promptfoo evals without a partner?

Yes, for a small eval history with documented commands and no sensitive content, a team that already runs promptfoo can usually handle the export and import itself. Start by reading the promptfoo command line documentation, export a single eval, import it into a scratch instance and compare the results. Get review help when the exports hold regulated or personal data, when the history spans many runs or when dataset links, tags or shares must be rebuilt across many evals. An outside reviewer can check these steps without taking over the transfer. Whichever path you choose, keep a copy of the original export until the target has been verified.

Do promptfoo eval IDs and authors survive an import?

According to the promptfoo command line documentation, the eval ID, timestamp and author are preserved on import, but confirm this with a pilot on your own version before relying on it. The documentation says --new-id creates a duplicate under a new ID, and --force replaces an existing eval. Tags, dataset links, cache entries and share state are not reconstructed, so they must be recreated by hand or accepted as lost. Run a pilot with one representative eval: export it, import it into the target and check the ID, timestamp, author, result rows and assertion outcomes against the source. Record the promptfoo version on both sides, because the release you run determines the behavior you can observe.

What support is available after the migrated evals go live?

Cutover ends the one-time migration work, and ongoing help is handled through a separate retainer if you want one. A retainer can cover support for the imported history, upgrades of promptfoo on the target and continuous testing as the eval suites grow. Scope it in writing the same way as the migration, listing the systems, versions and activities it covers and how requests are handled. Keep the export files and verification notes in your own records after handover, because they show what moved and when. Ask for a handover package in the quote, including a runbook for repeating the export if a later move is needed.

How DeployOpen scopes and delivers an eval migration

DeployOpen starts a Moving promptfoo eval results between machines and servers engagement by agreeing on which evals move, where they land and what each side must check before import. Work runs inside your own infrastructure, with the export, import and handover steps documented so your team can repeat them. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope lists which eval runs, datasets and results move, and the source and destination instances.
  • It records which eval IDs, authors and timestamps must survive the move, because import preserves them.
  • Scope also states whether media is embedded with --include-media and who reviews the export for user data.

How we build

  • Export runs with promptfoo export eval against the source, with media embedding set per the agreed scope.
  • Imports are rehearsed on a staging instance first, using the collision mode agreed in scope: --new-id or --force.
  • Each lost item, such as tags, dataset links, cache entries and share state, is listed in the handover notes.

How we hand over

  • Handover includes a runbook with the export and import commands, flags and checks, written for your team to repeat.
  • Verification compares eval IDs, timestamps, authors and result counts between source and destination.
  • A reviewed note on user data in prompts, outputs, variables and traces goes to your security team before sharing.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the migration is handed over.
  • A retainer can cover repeat exports and imports, and re-checks when promptfoo is upgraded in your environment.
  • Ask for the support hours, response terms and named contacts in the written quote before work starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.