Smileline Sync
Keep a continuous local copy of your practice's records and files on your own Windows or Linux server.
Smileline Sync is a companion application that maintains a live, read-friendly copy of your practice's Smileline records and files on hardware your organisation controls — a Windows Server or PC at the practice, or a Linux / Docker host.
It is included with every practice workspace at no extra charge and is available in every country Smileline serves. Only practice owners can enable Smileline Sync, pair servers, or revoke access.
Smileline Sync is separate from the Smileline Uploader, which sends scans and radiographs up into Smileline. Smileline Sync pulls a continuous local mirror down to your practice's own server.
What Smileline Sync mirrors
Once enabled and paired, Smileline Sync builds a consistent initial baseline and then polls ordered incremental changes continuously:
- Structured practice database (
smileline.sqlite) — a standard, unencrypted SQLite database containing 217 curated clinical, operational, CRM, billing, and communications tables plus the practice's staff and do-not-call directories. You can query it directly with any SQLite client, backup tool, or reporting script. - Human-browsable files (
files/) — clinical documents (radiographs, photos, PDFs, 3D scans), clinical voice-note audio, call recordings, voicemails, message attachments, and large HTML email bodies organised into readable patient and date folders:files/Patients/<LastName_FirstName_id>/...for standard patient documents and voice notesfiles/Restricted/<LastName_FirstName_id>/...for patients under a clinical retention restrictionfiles/Calls/YYYY/MM/...,files/Voicemails/YYYY/MM/..., andfiles/Messages/YYYY/MM/...for practice communications
- Optional PostgreSQL target — IT teams can point Smileline Sync at their own PostgreSQL server (
smileline_syncschema) instead of the default SQLite file while keeping the same localfiles/directory.
Local custody and file deletion policy. Smileline Sync keeps
smileline.sqlite (or your PostgreSQL mirror) aligned with deletions,
patient erasures, and retention redactions in Smileline. Committed files
already saved under files/ are never automatically deleted by Smileline
Sync. Your practice is responsible for local disk encryption (BitLocker on
Windows, LUKS on Linux), operating-system access controls, and local file
retention or disposal.
Enable Smileline Sync and pair a server
Open Settings → Integrations → Smileline Sync as a practice owner.
Turn on Smileline Sync
Click Enable Smileline Sync. Smileline arms a short activation barrier so in-flight changes settle, then builds your practice's initial baseline snapshot in the background. You can check its progress under Baseline snapshot (and click Retry baseline if a build ever needs attention).
Install Smileline Sync on your server
Click Download for Windows to get the signed MSI installer (Smileline-Sync.msi) and run it as an administrator on a dedicated practice computer or Windows Server.
Smileline Sync installs:
- a background Windows service (
smileline-sync-service) running underLocalSystemwith private configuration stored inC:\ProgramData\Smileline\Sync, protected by Windows DPAPI and administrator-only ACLs, - a tray and status window (
smileline-sync.exe) showing sync status, a BitLocker encryption status banner, pairing controls, and settings, - a signed automatic updater (
smileline-sync-updater.exe).
Approve the pairing code in Smileline
Open the link shown by the app (or click Pair a server on Settings → Integrations → Smileline Sync) and enter the XXXX-XXXX code:
- Optionally enter a friendly Server name (for example,
Reception Server). - Complete the fresh security check — enter your account password, verify with a passkey, or use a fresh Google / Apple sign-in completed within the last 5 minutes, plus your 6-digit authenticator code if two-factor authentication is enabled on your account.
- Read and tick the local-custody acknowledgement confirming that committed files in
files/are managed locally by your practice. - Click Approve pairing.
The server picks up its credentials automatically within a few seconds and begins mirroring.
Security and storage recommendations
- Enable full-disk encryption on the host storing
<BackupDir>(BitLocker on Windows, LUKS or dm-crypt on Linux). Becausesmileline.sqliteandfiles/are intentionally stored in plain standard formats so you can always inspect or recover them without proprietary tools, OS-level disk encryption protects them at rest. - Restrict folder permissions to administrators and your practice's authorised backup service account. On Windows, Smileline Sync warns in its tray window when BitLocker is off on the backup drive.
- Optional SMB snapshot copy (Windows): if you want a read-only SQLite copy published to a network share for reporting, configure the SMB snapshot folder in the tray app. Smileline Sync writes a clean
VACUUM INTOsnapshot under its privacy lock so readers never clash with live writes.
Optional Bring-Your-Own PostgreSQL mirror
IT teams running their own PostgreSQL instance can direct structured table mirroring into a dedicated smileline_sync schema instead of smileline.sqlite:
- Docker / Linux: set
SMILELINE_SYNC_POSTGRES_URL=postgres://user:pass@host:5432/dbnameor runsmileline-sync configure --postgres-url <url>. - Windows: set the PostgreSQL connection URL in the tray app settings (stored encrypted with DPAPI).
All 217 tables, incremental updates, deletions, and local retention-deadline hygiene run inside smileline_sync, while binary files continue to mirror under <BackupDir>/files/.
Managing paired servers and closing a practice
- Pause or resume: click Pause mirroring to temporarily stop all paired servers from pulling new changes without revoking their credentials. Click Enable Smileline Sync to resume.
- Rename or revoke: under Paired servers, click Rename to update a server's label, or Revoke to invalidate its bearer token immediately. Revoking stops future sync traffic straight away and directs the server to withdraw its local mirror database (
smileline.sqliteor thesmileline_syncPostgreSQL schema) and any SMB snapshot copy; committed files already saved underfiles/remain untouched under your practice's local control. - Reset local database only: in the tray app (or via
smileline-sync reset-db), resetting the database removessmileline.sqlite(or drops thesmileline_syncPostgreSQL schema) so the server rebuilds cleanly from a fresh baseline — committed files underfiles/are never deleted. - Closing a practice: practice owners keep access to Settings → Integrations → Smileline Sync while a practice is closing so they can complete their final local copy before closure finishes.