# Fix import.not_a_dump

import.not_a_dump
Recorded exits: 1. [1]

docs_rev: 6fd264d5335b1cda
applies_to: source at 4aca9a8; agc >=0.3.0
verified: 4aca9a8
Generated from: fix/import.not_a_dump, data/importing-existing-data, reference/error-code-catalog, compare/agent-cloud-vs-lovable-bolt-replit

> Partly available: data/importing-existing-data. Read the source limitations.

## Steps

Cause: Binary but not custom or tar, or a folder without `toc.dat`
Next action: Pass a file pg_dump wrote
[2]

Cause: import
Next action: ‹path› is a folder without toc.dat, so it isn't a pg_dump directory-format dump. / ‹path› isn't a pg_dump: it's binary, and not a custom-format or tar archive. | Pass a dump file, or the folder `pg_dump --format=directory` wrote. / Pass a file pg_dump wrote, in any of its formats. | dump.ts:30, dump.ts:38
[3]

## Errors

See the cited canonical pages for errors.

## Not available yet

Availability follows the cited sources; this answer does not establish additional capabilities.

## Sources

[1] [fix/import.not_a_dump — Reference](/docs/fix/import.not_a_dump.md#reference) (shipped; source at 4aca9a8; 4aca9a8)
[2] [data/importing-existing-data — Errors](/docs/data/importing-existing-data.md#errors) (building; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[3] [reference/error-code-catalog — Reference](/docs/reference/error-code-catalog.md#reference) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)
[4] [compare/agent-cloud-vs-lovable-bolt-replit — Moving from Lovable, Bolt or Replit](/docs/compare/agent-cloud-vs-lovable-bolt-replit.md#moving-from-lovable-bolt-or-replit) (shipped; agc >=0.3.0; 2026-11-24 @ 4aca9a8)

## Known issues

- [data/importing-existing-data](/docs/data/importing-existing-data/known-issues.md)
- [reference/error-code-catalog](/docs/reference/error-code-catalog/known-issues.md)
- [compare/agent-cloud-vs-lovable-bolt-replit](/docs/compare/agent-cloud-vs-lovable-bolt-replit/known-issues.md)

<!-- feedback:start -->
---
Wrong, outdated or unclear? Run `agc feedback docs "fix/import.not_a_dump: <what is wrong>; error import.not_a_dump" --body <file>` with the sentence quoted in the file. No code or app data is sent.
<!-- feedback:end -->
