Open in TheBrain

Syncing Brains

Overview

On the desktop and mobile apps, a brain has a copy on your device and a copy in the cloud. Syncing reconciles the two so your work is backed up and available on every device you use. (The web app is always working against the cloud directly, so syncing is a desktop/mobile concern.)

Syncing a Brain

Sync from the Sync button in the brain toolbar. The button also doubles as a status indicator — its icon shows a sync running, finished or failed, and a colored dot on it shows whether changes are waiting (see Sync Status below). What happens when you sync depends on the brain's state:

Auto-Sync

With Sync automatically turned on for a brain, TheBrain syncs it for you as you work, so you don't have to click Sync. TheBrain turns it on for you the first time a brain is uploaded to the cloud or downloaded to a device, so most synced brains already have it.

When an Automatic Sync Happens

Automatic sync runs while the app is running, and it covers every brain on this device that is synced and has Sync automatically on. A brain does not have to be open: the brains you have closed are synced too. When several accounts are signed in on this device, only the brains and BrainBox of the account you are using sync automatically, and those of the other accounts wait until you switch back to them (see Managing Your Account). TheBrain starts a sync of a brain when all of these are true:

In practice each of these brains syncs every few minutes, or a little later when you are editing it steadily. Each automatic sync works in both directions: it sends your changes and brings down changes made on other devices or by other people. Your changes are not sent the instant you make them, so click Sync when you want them in the cloud right away.

When You Switch Away from TheBrain

Those regular syncs are not the only trigger. On the desktop app, TheBrain also asks for an automatic sync when the TheBrain window you are working in loses focus — for example when you switch to another application. That request covers the same brains — every synced brain of the account you are using that has Sync automatically on, open or not — and it doesn't wait for the usual interval. The other conditions still apply: the cloud has to be reachable, and a brain you changed very recently is skipped. So an edit you made just before switching away is not sent at that moment; it goes up with a later automatic sync, or when you click Sync.

On phones and tablets, the app makes the same request as it leaves the foreground, though the system may pause the app before a sync finishes.

On iPhone and iPad, TheBrain also tries to sync the brains you have open as you leave the app.

When It Doesn't Run

How to Turn Automatic Sync On or Off

  1. Click the arrow beside the Sync button in the brain toolbar (Sync status and settings).
  2. Tick or clear Sync automatically.

The same checkbox is in Settings > Brain > Sync, and on the Mac desktop app it is also Brain > Sync Automatically in the menu bar. Some menus label it Auto Sync. The checkbox appears once the brain is synced.

The Settings window on the Sync tab under Brain: the brain is up to date and was last synced today, with Sync automatically and Light sync attachments ticked, the Brain Access and Sharing, Sync Status Details and Start sync buttons, and what each setting does

The setting is kept per brain on each device, so a brain can sync automatically on your computer and only when you ask on your phone. Leaving it on is recommended for brains you change often.

Sync Status

TheBrain shows where a brain stands — for example Up to date, Local changes, Remote changes, Local and remote changes, Checking for changes…, Syncing…, or Last synced with a time. Click the arrow beside the Sync button (Sync status and settings) to read the brain's current status; Settings > Brain > Sync shows the same thing. In the brains list, each synced brain carries a badge instead, such as Synced, Unsynced changes, Update available, or Sync blocked. For a full picture, the Sync Status Details view (opened from Active Syncs: N in the account menu, where N is the number of syncs running; on the desktop app it opens in a window of its own) lists Active Syncs, Pending Syncs and Recent Syncs — handy when several brains are syncing at once. When two devices or people sync the same brain at the same moment, the server takes them one at a time, and the waiting sync shows Waiting for another sync of this brain to finish... until its turn comes.

The Sync button at the right end of the brain toolbar, with a green dot, and below it the popup that the arrow beside it opens: Up to date, Last synced: Today with a time, Sync automatically and Light sync attachments, both ticked, and the Brain Access and Sharing... and Sync Status Details buttons

The Dot on the Sync Button

For a synced brain that is not syncing at the moment, the Sync button in the brain toolbar carries a small colored dot:

TheBrain rechecks regularly, and the dot turns orange as soon as you change something. The check needs the cloud: when TheBrain can't reach it, the dot doesn't turn red, and it is not a reliable sign that your changes have been sent.

When Sync Is Blocked

When the dot is red, or the brains list shows Sync blocked, click the arrow beside the Sync button (or open Settings > Brain > Sync) and read the first line. It gives the reason — for example a cloud capacity limit, a device clock that is set wrong, a brain that cannot be synced without TeamBrain Services, or a brain that needs a newer version of TheBrain. Deal with that, then sync again.

If a brain won't sync with the message This brain cannot be synced without TeamBrain Services, it has more than one Writer/Admin — co-editing a brain requires TeamBrain, and each Writer or Admin needs TeamBrain on their own account. Either get that person TeamBrain (a seat in a TeamBrain subscription, or a TeamBrain or Max plan of their own, since Max includes TeamBrain) or reduce Writer/Admin access to a single user. See Brain Access and Sharing.

If another device upgraded the brain to a format this copy of the app can't read (for example by switching it to standard Markdown, or by adding the brain's first thought alias), this copy is told which version it needs — sync is refused with This brain requires TheBrain … or later. Update TheBrain software before syncing., and an open brain closes with This brain needs a newer version of TheBrain. Update the app and open it again.

How to Cancel a Sync

  1. Open Sync Status Details: click the Sync button while that brain is syncing, or click the arrow beside it and choose Sync Status Details, or choose Active Syncs: N in the account menu (it is also in Main Menu > File, and on a phone on the Actions tab of the brain's side panel).
  2. Click the X beside the sync, under Active Syncs or Pending Syncs.

A sync that was running shows Aborting sync... and then appears under Recent Syncs marked Canceled. A sync that was still waiting for its turn is simply taken out of the queue. To run a canceled sync again, click its Canceled entry or click Sync; TheBrain offers to Resume it or Start Over. Until you start a sync of that brain yourself or restart TheBrain, automatic sync leaves it alone.

On the desktop app, the X on the sync progress banner near the top of the window only hides the banner. It does not cancel the sync.

  • If a sync is interrupted, TheBrain offers to Resume it (or Start Over) the next time you sync. An automatic sync resumes it without asking.
  • BrainBox is synced separately from your brains, frequently while you are signed in.
  • To save space and bandwidth on large brains, see Light-Sync Attachments; for working without a connection, see Working Offline and Sync Recovery.

Related Topics