Help › Account, license and sync

Sync your computers (Preview)

Keep connections, saved queries, snippets and settings the same on your computers with end-to-end encrypted sync, a Preview you turn on yourself.

Querlyn 0.1.0 is not released yet. This help describes it ahead of release.

Sync keeps your connections, saved queries, snippets and settings the same on all your computers. What is synced is encrypted on your computer before it is uploaded. querlyn.com stores it without being able to read it.

Warning: Sync is a Preview. Its encryption is awaiting an independent security review, and it is off until you turn the preview on. While the preview is off, Querlyn shows no sync commands and never contacts the sync service.

Turn on the preview

In Querlyn › Open Settings, under Sync, turn on Enable sync preview (Command Palette › Preferences: Toggle Sync Preview). The section then carries a Preview badge and shows the rest of what this topic describes. Turning the switch off again pauses sync on this computer.

You need to be signed in; see Your account and license.

Turn on sync on your first computer

  1. In the Sync section, choose Turn On Sync….
  2. Querlyn shows Your recovery kit. Store it safely now: choose Copy and paste it into your password manager, or Save to File… and keep the file somewhere safe.
  3. Tick I've stored my recovery kit safely, then choose Turn On Sync. Cancel leaves sync off.

Warning: The recovery kit is the only way to get your synced data back if you lose every computer where sync is on. Your account password cannot recover it, and neither can Querlyn. Querlyn shows the kit only once and keeps no copy.

Add another computer

On the new computer, sign in, turn on the preview, and choose Turn On Sync…. It then waits for approval and shows a code.

  1. On a computer where sync is already on, open the Sync section. The new computer is listed under Waiting for approval with its code.
  2. Check that both computers show the same code, then choose Approve.
  3. Back on the new computer, Querlyn names the computer that approved it and shows a code once more. If it matches, choose The Codes Match.

Warning: If the codes differ, do not continue. Choose They Don't Match, or Reject on the other computer. Someone may be trying to read your synced data.

No other computer at hand? Choose Use Recovery Kit Instead, paste your recovery kit or type its key, and choose Recover.

Settings on the new computer

A computer that joins is asked once: "Use your synced settings, or keep this computer's?"

ButtonWhat happens
Use SyncedThis computer takes the text sizes, density, confirmations, keyboard shortcuts and theme of your other computers.
Keep This Computer'sThis computer's are sent to the others instead.

After that, a change on any computer syncs as usual.

What syncs

Querlyn › Show Sync Settings opens the Sync section. Under What syncs, each kind can be turned on and off:

KindAt the startNotes
Connections (without passwords)OnEverything in the connection's dialog except passwords.
SSH profiles (key file locations, never keys)OnThe hops of your SSH tunnels. Private keys are never synced, only where the key file is.
Saved queriesOn
SnippetsOn
SettingsOnDensity, text sizes, Vim mode, the formatter's style, when Querlyn asks before running. See Which settings sync.
Keyboard shortcutsOnSynced shortcuts apply the next time Querlyn starts.
ThemeOnLight, dark or System, and which light and which dark theme. A theme file of your own is not synced: a computer without it uses Querlyn's own theme. See Choose a theme.
Saved passwordsOffWhen on, passwords you saved in the keychain are encrypted on this computer and written to the keychains of your other computers.
Query historyOffEach connection's Query history setting still applies: a connection set to Metadata only, as Production connections are at the start, syncs no SQL text, and one set to Off syncs nothing.

Saved passwords and Query history are choices for your whole account: turning one on turns it on for every computer that syncs. Turning one off deletes those items from querlyn.com, not from your computers.

Never synced: private keys, the editor's font, the paths of programs under Tools, the safety times, Confirm with Touch ID and Sample column values for completion, the sync preview switch itself, screen-share mode, the columns you marked sensitive, each connection's Undo journal and Mask columns choices, the undo journal, schema history and the scratch. What a team shares stays out of your personal sync too, also after you leave the team or its workspace is deleted.

A team's policy can keep Saved passwords or Query history out of the personal sync of its members. While you are in such a team, the Sync section says so: new passwords or history stay on this computer, and what synced before stays where it is. History recorded meanwhile is not uploaded later.

When it syncs

Querlyn syncs a few seconds after you change something, every five minutes, and when you choose Sync Now (Querlyn › Sync Now). The status bar shows the state: for example Synced, Syncing… or Sync paused.

Changes made offline are uploaded when you are online again.

When two computers changed the same thing

  • Settings, shortcuts and the theme are merged setting by setting; for each one the newest change wins.
  • Connections, saved queries and snippets: both versions are kept. The one from the other computer gets that computer's name added, as in "Reports (from Office Mac)", and a notice tells you. Delete the one you do not want. Dismiss closes the notice.

A connection deleted on another computer while it is connected here stays until you disconnect it.

Your computers

Computers that sync lists them. Remove takes a computer out; it stops syncing and keeps what it has.

New Recovery Kit… makes a new recovery kit and makes the old one useless. Use it when the old kit may have been seen by someone else.

Turn sync off

ButtonWhat it does
Turn Off Sync on This ComputerThis computer stops syncing. Its data stays, and so does your synced data on querlyn.com and on your other computers. Turning sync on again needs no new approval.
Remove Synced Data…Deletes your synced data from querlyn.com, after a question. Everything on your computers stays; they stop syncing until sync is turned on again. This cannot be undone on the server. The question's buttons are Remove Synced Data and Keep It.

When sync stops uploading

If sync storage is full or not available for your account, the Sync section says "Uploads paused" with the reason. Your changes stay on this computer and nothing is lost; downloads keep working where they can. After you have fixed the cause, choose Sync Now.

A computer that was removed from sync says so and keeps its data.

Sync in the command palette

While the preview is on, the buttons of the Sync section are commands too, so that you can run them from the command palette or give them shortcuts:

ForCommands
Turning sync onCommand Palette › Sync: Turn On Sync…, Command Palette › Sync: Copy Recovery Kit, Command Palette › Sync: Save Recovery Kit to File…, Command Palette › Sync: I Stored the Recovery Kit Safely, Command Palette › Sync: Finish Turning On Sync, Command Palette › Sync: Cancel Sync Setup
Joining with another computer or the kitCommand Palette › Sync: The Codes Match: Finish Joining, Command Palette › Sync: The Codes Don't Match, Command Palette › Sync: Use Recovery Kit Instead, Command Palette › Sync: Recover with Recovery Kit
The settings questionCommand Palette › Sync: Use Synced Settings on This Computer, Command Palette › Sync: Keep This Computer's Settings
Your computersCommand Palette › Sync: Approve Selected Computer, Command Palette › Sync: Reject Selected Computer, Command Palette › Sync: Remove Selected Computer from Sync, Command Palette › Sync: Refresh Sync Devices, Command Palette › Sync: Create New Recovery Kit…
What syncsCommand Palette › Sync: Toggle Syncing Connections, Command Palette › Sync: Toggle Syncing SSH Profiles, Command Palette › Sync: Toggle Syncing Saved Queries, Command Palette › Sync: Toggle Syncing Snippets, Command Palette › Sync: Toggle Syncing Settings, Command Palette › Sync: Toggle Syncing Keyboard Shortcuts, Command Palette › Sync: Toggle Syncing the Theme, Command Palette › Sync: Toggle Syncing Saved Passwords, Command Palette › Sync: Toggle Syncing Query History
Day to dayQuerlyn › Sync Now, Command Palette › Sync: Dismiss Sync Notice, Command Palette › Sync: Turn Off Sync on This Computer, Command Palette › Sync: Remove Synced Data…

What querlyn.com can see

It stores your synced items encrypted and cannot read them. It can see how many items you have of each kind (so many connections, so many saved queries), how large each is, when it changed, and which of your computers take part. The keys stay in the keychains of your computers and in your recovery kit. See What is sent and stored.

Help for Querlyn 0.1.0. All help topics