Skip to content
VaultLens Studio

Scheduled syncs and schema changes

Live sync catches most edits within seconds, but not all. The scheduled sync checks every table for changes and catches anything live sync can’t see, such as imports, record rules and API scripts. It always runs, even with live sync on.

Choose a schedule

  1. Open the app and go to the Schedule tab.
  2. Choose one:
    • Every hour: freshest data without live sync. Uses the most Knack API calls (about 24 times nightly).
    • Nightly at 2:00 AM: recommended. Runs at a quiet time in your Knack app’s time zone.
    • Weekly, Sundays at 2:00 AM: lowest API use. Best when live sync catches day-to-day changes.

The tab shows Next sync and how the Last scheduled sync went. To run one straight away, click Sync now on the Analytics card.

How changes are found

VaultLens finds changed records using a date and time field that updates on every edit:

  • Apps created after November 2025 have Knack’s Updated On system field, which works automatically.
  • For older apps, add a Date Modified field. In the setup wizard’s Keeping it fresh step, click Create the field for me, or add it yourself: an Equation field with Equation Type Date and the equation currentTime(). Then click Refresh fields.

A table without such a field gets a full scan each sync. That works fine but costs about one API call per 1,000 records.

Full passes

After a quick sync of changed records, VaultLens compares each table’s record count in Knack with the count in your database. It re-reads every record in a table when:

  • the counts don’t match (for example, records were deleted in Knack), or
  • a week has passed since the last full pass. This catches formula and roll-up changes the change field can’t see.

The Data check tile on the Overview tab shows whether record counts match Knack.

Full re-clone

To rebuild everything from scratch, use Full re-clone in the app’s Danger zone and type the app name to confirm. All tables are dropped and every record is copied again. Your BI connections keep working, because the schema, table names and login don’t change. This uses Knack API calls.

Knack schema changes

When someone adds a field or table in the Knack Builder, VaultLens can keep your database in step. Set this in the setup wizard, or later under Knack schema changes in the Settings tab.

  • Check for Knack changes: Every hour, Once a day, or Off: I’ll click Refresh schema myself. Each check uses one API call.
  • When a new table appears in Knack: Ask me first (you get a notification and turn it on in Settings) or Add it automatically.

What happens to each change:

  • New fields on copied tables are added as columns and filled in.
  • Renamed fields and tables keep their original column and table names.
  • Removed fields and tables stay in your database. Nothing is deleted.
  • If a field’s type changes, the existing column isn’t altered. You get a notification.

Every change is listed in the Logs tab.

Flagged records

A record that can’t be copied cleanly is flagged (sometimes called quarantined). For example, a field may hold a value that can’t be read as its type. The rest of the sync carries on.

  1. On the Overview tab, click Review next to the flagged records warning.
  2. Flagged records groups the records by problem and lists their record IDs.
  3. Fix the records in Knack. The next sync retries them automatically, or click Retry now.

Flagged records never show field values, only record IDs and what went wrong.