/ Get started / Core concepts
Docs/Get started/Core concepts

Core concepts

Five ideas cover almost everything NoSQLSync does.

Workspace

A workspace holds your connections, migrations, API keys, webhooks and team. Each user belongs to one workspace, with one of three roles — owner, admin or member. See Team & roles.

Connection

A saved, encrypted set of credentials for one database. Every connection is either a source (read from) or a target (written to). The same database can be saved twice if you need it in both roles.

Migration

A migration copies one source collection (or table) into one target table. It records:

  • the source connection, database and collection,
  • the target connection and table name,
  • a schema mapping — which field goes to which column, with what type,
  • a mode and a drift policy.

When you pick several collections in the wizard, NoSQLSync creates one migration per collection and groups them together.

Modes

ModeWhat it doesUse it for
one-timeCopies every document once, then finishes.Snapshots, analytics loads, dry runs.
cdcCopies existing data, then streams every insert, update and delete from the source's change feed.Live sync
dual-writeLive sync, plus a cutover step that reverses the direction so the old database stays current for rollback.Zero-downtime cutover

Statuses

StatusMeaning
createdSaved but never started.
queuedWaiting for a worker to pick it up.
runningCopying data, or streaming changes in live sync.
pausedLive sync is paused; the position in the change feed is kept.
stoppedStopped by a user. Start it again to re-run.
doneA one-time copy finished successfully.
failedRetries ran out. The logs show the last error.

Validation run

An immutable snapshot comparing source and target at a point in time — row counts and, where supported, checksums of sampled rows. Runs can be exported or shared as a read-only link. See Validation.