FileMaker · .fmp12 · SQL Server · MySQL · MariaDB · Python

FileMaker migration to SQL Server and MySQL – complete, verified and synchronised daily

I migrate FileMaker solutions to relational databases: Microsoft SQL Server, MySQL or MariaDB. I read the .fmp12 files directly, without putting load on the production FileMaker server, build the target schema from the Database Design Report and the file's own catalog, translate calculated fields into SQL, carry container fields with checksums and, at the end, check every table against the source. During the transition, an automated nightly delta run keeps the new database in step with the FileMaker solution.

Positioning

For many companies, FileMaker has for years been the tool that let business departments build their own processes: forms, lists, calculations and documents in one file. That strength becomes a limit as soon as the data is needed in a data platform – for reporting, for other applications, for analysis across several files, or simply because the solution has grown over decades into hundreds of tables and tens of thousands of fields.

I bring FileMaker data into a relational database completely and verifiably. My current project is exactly that: migrating a grown FileMaker landscape of 28 files, about 430 GB and more than 100 million records to MySQL 8.4 and Microsoft SQL Server 2022, both targets in parallel. For this I built my own migration toolkit in Python that reads the .fmp12 files directly, and I run full loads and daily delta loads on top of it.

What I bring is the combination of file-level FileMaker knowledge and experience with relational databases, data warehousing and ETL since 1994. I know where FileMaker data departs from relational expectations – repeating fields, keys that are not unique in the data, unstored calculations, dates written day-first or month-first – and how to make these departures visible instead of losing them silently during the load.

Core idea: a FileMaker migration is finished only when it is shown that every row, every text, every value and every container file in the target matches the source – or when every deviation is named and decided.

Why FileMaker data belongs in a relational database

The reason is rarely that FileMaker is "bad". Usually the requirements have grown beyond what the solution was once built for. Typical triggers are:

  • The data should flow into a data warehouse, into Power BI or into other applications – with SQL, views and permissions instead of export files.
  • The solution consists of many files with relationships across file boundaries that nobody outside FileMaker can see as a whole any more.
  • Queries over large volumes and analyses over many years become too slow in FileMaker.
  • Business logic lives in formulas, scripts and layouts but is documented nowhere.
  • A new development or a standard product is to replace FileMaker and needs the legacy data in a database.
  • Operations, backup and monitoring should move into the existing database infrastructure, for example SQL Server with a failover cluster.

In almost every case FileMaker cannot be switched off on a fixed date. The business keeps working while the new platform is built. A reliable migration therefore includes not only the one-time transfer but also a daily synchronisation until the cut-over.

Reading the .fmp12 file directly

The usual way to get data out of FileMaker goes through the FileMaker server: ODBC/JDBC (xDBC), scripted exports or the Data API. For large solutions this is slow, loads the production system and depends on settings you do not always control. I take a different route: my toolkit contains its own reader for the .fmp12 file format and reads the files directly – typically a copy from the nightly backup.

What this means

  • No load on the production FileMaker server, no accounts with read access to production data required.
  • The reader knows the structure of the file: sectors, chunks and records, repeating fields, global fields, container fields (embedded and external).
  • The export writes one TSV file per table with a hash per row; these hashes later drive both verification and the delta compare.
  • The hot loops run in Cython/C, the rest in Python – the code stays readable and the export is still fast.

Where server access makes sense, for example to cross-check individual tables, I use xDBC/JDBC read-only and only against development or test servers. The production server stays out of it.

Schema from the DDR and the file

The Database Design Report (DDR) is the XML that FileMaker produces about its own solution: tables, fields, field types, formulas, table occurrences and relationships. I use it as the starting point for the target schema and reconcile it with the catalog inside the .fmp12 file itself. That way it shows when a DDR is older than the file, and new fields still reach the target.

From this model I generate everything else instead of maintaining it by hand:

  • DDL for the target system (SQL Server or MySQL), with keys, indexes and calculated columns.
  • An interactive schema atlas as an HTML page: tables, fields, relationships and formulas to browse and search.
  • ERDs of the tables and relationships.
  • A data dictionary as an Excel file for business departments and developers.

Table occurrences and relationships from FileMaker become foreign keys where the data supports them. Decisions only the client can make – a different type, a different key, whether a calculation is carried as a value – are kept in small decision files that feed into every run. At any time it is traceable why a column looks the way it does.

Data types: from FileMaker to SQL

FileMaker has few field types, and their contents are more tolerant than those of a relational database: a number field can hold text, a date field can be day-first or month-first depending on input. So I do not fix the target type wholesale but per field, based on the measured contents. The table shows typical mappings:

FileMakerSQL ServerMySQL / MariaDBNote
TextNVARCHAR(n) / NVARCHAR(MAX)VARCHAR(n) / TEXT (utf8mb4)Length from the measured data, not from an assumption
NumberINT / BIGINT / DECIMAL(p,s)INT / BIGINT / DECIMAL(p,s)Text in number fields is made visible, not discarded
DateDATEDATEDay-first or month-first format is detected
TimeTIMETIMEDurations possibly as seconds in BIGINT
TimestampDATETIME2DATETIMEPrecision as required
ContainerVARBINARY(MAX) + metadataLONGBLOB + metadataFile name, size and SHA-256 per file
Repeating fieldone column per repetition or a child tableDecided per field

Values that cannot be converted into the target type do not disappear silently: they are counted, shown in the report and put up for decision. The final verification checks the typed values against the source.

Calculated fields and formulas to SQL

In grown FileMaker solutions a lot of business logic sits in calculated fields: status values, composed labels, deadlines, totals. After the migration this logic should neither be lost nor have to be rewritten by hand.

I translate FileMaker formulas into SQL automatically – as generated columns where a formula only uses fields of the same record, and as views where relationships or aggregations are involved. Every translation is checked against the values FileMaker itself stored. A formula counts as migrated only when SQL returns the same result for the existing records.

Stored, unstored, summary

  • Stored calculations have a value in the file; it serves as the yardstick and can be carried as a value if needed.
  • Unstored calculations exist only at runtime; here the SQL translation is the only source and is checked with particular care.
  • Summary fields usually belong in views or in reporting in SQL, not as a column in the table.
  • Global fields are session values, not per-record data; they are handled deliberately rather than copied blindly.

Formulas that cannot sensibly be translated are listed and decided with the client: carry as a value, rebuild, or drop.

Container fields

Container fields hold files: images, PDFs, Office documents, sometimes embedded in the .fmp12 file, sometimes as an external reference. This is where migrations like to lose data, because a driver truncates a file or an export delivers only the file name – without reporting an error.

I carry container contents with file name, size and SHA-256 checksum. After the load, every file in the target is compared with the checksum from the source. Whether the files live in the database or in a file store with a reference is an architecture decision I make together with the client.

A byte path is verified only when the byte count and the checksum match – not merely because no error was reported.

Data quality and keys

FileMaker does not enforce much of what a relational database takes for granted. A field meant as a key is not always unique in the data; relationships point to records that no longer exist; dates are written day-first in one place and month-first in another. These findings belong on the table before a primary or foreign key is created.

  • Checking the intended keys for uniqueness and empty values in the real data.
  • Surrogate keys where a business key is unique only within a group.
  • Foreign keys only where the data supports them; deviations are reported rather than rejected.
  • Detection of date and time formats per field.
  • Rejected or converted values end up in traceable reports, not in a void.

The client makes the decisions – which key applies, which type is chosen. I deliver the findings, proposals and the consequences of each option.

Verification: every table against the source

Every full load ends with a verification that checks the result against the source – not against intermediate states. It checks:

  • Rows: count and row hashes per table.
  • Texts: content against the source, including accented and special characters and line breaks.
  • Scalar values: numbers, dates, times and timestamps after typing.
  • Keys: uniqueness and references after the load.
  • Containers: size and SHA-256 of every file.

Only when the verification passes is the new generation published. This happens through a generation switch: the new database is built next to the current one and then switched over in one step; the previous generation is kept as a fallback. Readers of the database see no downtime. Every run writes a report with phases, times, figures and findings.

Daily delta loads during the transition

As long as FileMaker stays in production, the new database has to keep up. A full load every night would be too expensive for large solutions. So I work with delta loads from the nightly backup:

  • Sector fingerprints are stored for every file; the next run reads only the changed sectors.
  • Changed rows are found by comparing row hashes.
  • Changes are applied per table as delete plus insert – simple, traceable and independent of timestamp fields that are not always maintained.
  • The run starts automatically via a systemd timer, retries on transient errors and writes a run report.

Every morning, users have the previous night's data in SQL, and the cut-over can happen when it suits the business – not when the technology forces it.

Schema changes during the project

A FileMaker solution does not stand still during a migration. Developers add fields, rename tables, add relationships. A migration that only works with a frozen schema breaks regularly in this phase.

That is why I work with a schema contract and automatic drift detection:

  • New fields and tables extend the target schema automatically.
  • Renames are followed by field ID, which FileMaker keeps when a field is renamed; formulas and relationships follow the ID.
  • Only changes to keys need a full load; everything else continues in the normal delta.

Performance

With hundreds of gigabytes and more than 100 million records, run time decides whether a load fits into a night or a working day. The load chain is therefore split into clearly separated phases that can each be measured: staging, typing, deferred indexes, calculations, container files, verification.

In the reference project I reduced the full load from over six hours to about three hours; a daily delta takes about 30 to 75 minutes. The levers were not tricks but measured bottlenecks: the reader's hot loops in Cython/C, indexes only after the data is loaded, and, in the delta, reading only changed sectors. On SQL Server I monitor the runs with Grafana dashboards.

Approach and cooperation

I work in clear steps, each with a result you can check:

  • Inventory: files, DDR, size, tables, fields, relationships, formulas, containers – with the schema atlas and data dictionary as the first deliverable.
  • Target design: target database, schemas, types, keys, handling of calculations and containers; decisions are recorded.
  • First full load: into a test or development environment, with verification and report.
  • Iteration: clarify findings, incorporate decisions, reload until the verification is clean.
  • Operation during the transition: automated delta loads, monitoring, run reports.
  • Handover: user, operations and technical manuals, for example in Confluence.

In my current project I develop with Claude Code (Anthropic) as an AI pair programmer – under clear rules: the human decides, every change is tested (more than 2,000 automated unit tests, CI), the AI gets neither credentials nor access to production systems, and the documentation is updated in the same step as the code. This makes the work faster without giving up traceability.

I work remote or hybrid, in English, German or Portuguese.

Typical services

  • Analysis of a FileMaker solution: schema atlas, ERD, data dictionary, sizes and anomalies
  • Target schema design for SQL Server, MySQL or MariaDB
  • Complete data migration from .fmp12 files, without load on the FileMaker server
  • Translation of calculated fields into generated columns and views, checked against stored values
  • Transfer of container fields with checksums
  • Data quality and key analysis with decision papers
  • End-to-end verification and run reports
  • Automated daily delta loads for the transition period
  • Handling schema changes during the project
  • Performance analysis and optimisation of the load chain
  • Monitoring, for example with Grafana on SQL Server
  • Documentation for users, operations and development

Anonymised reference project

Biotechnology company

FileMaker · .fmp12 · MySQL 8.4 · SQL Server 2022 (failover cluster) · Python · Cython · Grafana · Confluence · since 09/2026

Full-time, remote, as data engineer and architect. Migration of the company's FileMaker landscape to MySQL 8.4 and Microsoft SQL Server 2022 (failover cluster), both targets in parallel: 28 FileMaker files, about 430 GB, more than 100 million records, about 19,500 fields in around 600 tables.

Migration toolkit built from scratch (Python, hot loops in Cython/C) with a native reader for the .fmp12 format: direct export without load on the production FileMaker server, TSV with row hashes, container fields with SHA-256 verification. Schema from the DDR and the file catalog with an interactive schema atlas, ERDs, DDL and an Excel data dictionary. FileMaker formulas as SQL generated columns and views, every translation checked against the stored values.

Load chain with staging, typing, deferred indexes, calculations, container files and end-to-end verification; publication by generation switch without downtime for readers. Daily, fully automated delta loads from the nightly production backup (only changed sectors, row-hash compare, delete plus insert). Schema contract with drift detection. Full load reduced from over 6 to about 3 hours, delta about 30–75 minutes, runs with 0 errors. Monitoring with Grafana, documentation in Confluence.

Frequently asked questions about FileMaker migration

Do you need access to our FileMaker server?

No. I read the .fmp12 files directly, typically a copy from the nightly backup. The production server carries no load from this. For individual cross-checks, read-only xDBC access to a test or development server can help, but it is not a prerequisite.

SQL Server or MySQL – which target is right?

That depends on your existing infrastructure, your licences and the applications that will use the data. Technically both work; in my reference project MySQL 8.4 and SQL Server 2022 run in parallel from the same toolchain. MariaDB is possible as a target as well. I help with the decision by laying out the differences that actually matter for your data.

What happens to calculated fields?

I translate FileMaker formulas into SQL – as generated columns or views – and check every translation against the values FileMaker stored. Formulas that cannot sensibly be translated are listed and decided together: carry as a value, rebuild or drop.

Are container fields migrated too?

Yes. Embedded files are carried with file name, size and SHA-256 checksum and checked against the source after the load. External containers are handled through their reference. Whether the files live in the database or in a file store is something we decide together.

Can FileMaker and the new database run in parallel?

Yes, that is the normal case. An automated nightly delta run reads only the changed parts of the backup and brings the new database up to the previous night's state. In the reference project such a delta takes about 30 to 75 minutes.

What if the FileMaker schema changes during the project?

New fields and tables extend the target schema automatically; renames are followed by field ID. Only changes to keys require a full load. FileMaker development therefore does not have to be frozen for the migration.

How do you make sure no data is lost?

Through a verification at the end of every load: rows and row hashes, texts, scalar values, keys and container files are checked against the source. Values that do not fit the target type are counted and reported instead of vanishing silently. Publication happens only after the verification has passed.

How long does a FileMaker migration take?

That depends on scope, data quality and the number of business decisions to be made. As a reference point from the reference project: a full load of about 430 GB and more than 100 million records takes about three hours. The project duration itself is driven more by clarifying the findings and by the transition period up to the cut-over.

Do you use AI in development?

Yes, Claude Code as an AI pair programmer, under fixed rules: I decide, every change is tested automatically, the AI gets no credentials and no access to production systems, and project rules and decisions are recorded in the repository. More on this on the generative AI page.

Project inquiry

Contact

Need support with ETL, Data Vault, BI architecture, SQL Server or Azure?

Remote · Hybrid · Germany · EU · Brazil · Part-time · Full-time

Phone
+49 173 3637888
Networks
LinkedInXingfreelancermapfreelance.deGULP