> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tablepro.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync

> Choose whether this Mac syncs with iCloud or TablePro Sync, approve changes from your other devices, move your data from one provider to the other, and set up the end-to-end keys TablePro Sync needs

One provider carries everything this Mac syncs. Pick it under **Sync this Mac with**, at the top of **Settings > Sync**.

![Sync pane with TablePro Sync chosen in the Sync this Mac with menu, Status reading Up to Date, and Last synced Today at 19:12 beside Sync Now](https://mintcdn.com/ngquct/SZ3ZNBOfnwZseZvP/images/sync-provider.png?fit=max\&auto=format\&n=SZ3ZNBOfnwZseZvP\&q=85\&s=75bd2901c600b06aebef5444c444c002)

TablePro Sync after a clean pass

| Provider | Syncs through | Needs |
| - | - | - |
| **Off** | Nothing. Connections and settings stay on this Mac | Nothing |
| **iCloud** | Your Apple Account, to your other Macs, iPhone and iPad | A paid [plan](https://docs.tablepro.app/features/licensing.md). See [iCloud Sync](https://docs.tablepro.app/features/icloud-sync.md) |
| **TablePro Sync** | Your TablePro account, on tablepro.app or your [company's server](https://docs.tablepro.app/features/company-server.md) | A paid plan or a seat on the company server, and a [recovery key](#set-up-your-recovery-key) |

Choosing a provider your plan does not include opens a dialog saying it needs a paid plan, with **Sign In** while you are signed out, and the menu stays where it was.

Sync starts **Off**. Signed in to a company server, pick **TablePro Sync**, which keeps your data on your organization's server. Otherwise **iCloud** is the one your iPhone and iPad share. [Team Library](https://docs.tablepro.app/features/team.md#team-library) syncs whichever you pick, **Off** included.

## What TablePro Sync carries

The switches under **What Syncs** apply to either provider. On TablePro Sync they carry connections, groups and tags, [SSH](https://docs.tablepro.app/connections/ssh-profiles.md#sync) and [credential](https://docs.tablepro.app/connections/credential-profiles.md#sharing-and-sync) profiles, saved queries, table and database favorites, table folders and settings. Projects go too while **Connections** and **Groups & Tags** are both on; iCloud does not carry them. Two more things go with them:

* **Passwords**, while that switch is on. See [Passwords](#passwords).
* **Query history**, end-to-end encrypted. It has no switch: on TablePro Sync it syncs unless your server turns it off, and **What Syncs** lists it with which runs stay on this Mac. See [Query history](https://docs.tablepro.app/features/query-history.md#storage-and-retention).

End-to-end encrypted means this Mac seals the value before it leaves, and only your approved devices open it. The rest goes to the server as records it can read.

Connections set to **Local only** stay on this Mac, and so do the sample connections. To set one, right-click it and choose **Exclude from TablePro Sync**. It shows a laptop icon in the connection list. A company server can keep passwords, query history or all of your own data off the server; the pane then says which, and that part stays on this Mac. See [Personal sync and Team Library](https://docs.tablepro.app/self-hosted/sync.md#sync-switches).

### Passwords

**Passwords** under **What Syncs** starts on for TablePro Sync. iCloud keeps a switch of its own, which starts off. Turning **Connections** off turns **Passwords** off too.

With it on, these go up end-to-end encrypted with your account's keys:

* a connection's password, SSH password, SSH key passphrase, SSL client key passphrase and TOTP secret;
* an SSH profile's password, key passphrase and TOTP secret;
* a credential profile's password.

A driver's own secret fields, a credential profile's additional secrets and AI provider keys stay on this Mac.

Passwords wait for your account's keys, which the move to TablePro Sync sets up before anything goes up: a [recovery key](#set-up-your-recovery-key) on your account's first device, or an [approval](#approve-another-device) on the next. Every password this Mac holds then goes with the first upload, counted on the move sheet, so there is nothing to save again.

Each Mac keeps the passwords in its own Keychain, never in iCloud Keychain. A move from iCloud copies each iCloud Keychain password into this Mac's own Keychain and leaves the iCloud Keychain copy for your devices still on iCloud. A password for a connection that [waits for your approval](#changes-that-wait-for-your-approval) arrives once you approve the connection.

A company server can turn password sync off. **Passwords** then shows off and dimmed, and the pane says "Your server does not sync passwords. Each one stays on this Mac." Your own choice is kept, and the switch shows it again once the server syncs passwords.

## Status

**Status**, under **Sync this Mac with**, says how the last pass went. On TablePro Sync:

| Status | Means |
| - | - |
| **Up to Date** | The last pass sent this Mac's changes and brought in the others' |
| **Syncing…** | A pass is running |
| **Waiting to Retry** | The server could not be reached or asked TablePro to wait, or this Mac's keychain has not answered yet. Changes wait on this Mac, and TablePro tries again on its own |
| **Downloading Only** | The server takes no changes from this Mac. See [When the plan or license ends](#when-the-plan-or-license-ends) |
| **Sync Is Unavailable** | A retry cannot fix it. The line under it says what to do |

**Last synced** is the last pass that got through. It stays after you quit, so a Mac that starts offline still shows it. **Sync Now** runs a pass at once; offline, it says "TablePro Sync cannot be reached. Your data stays on this Mac; try again once you are online." iCloud has statuses of its own, on [iCloud Sync](https://docs.tablepro.app/features/icloud-sync.md#troubleshooting).

## Changes that wait for your approval

Some changes made on another device do not apply on this Mac until you approve them here. This holds on either provider, and for [Team Library](https://docs.tablepro.app/features/team.md#team-library) too. These wait:

* where a connection or profile goes and how it signs in: database type, host, port, user, database or file path, SSH tunnel and SSH profile, SSL mode, certificate paths, credential profile and password source;
* a lower Safe Mode, a looser AI policy or **External Clients** level, AI rules, and the AI tools a connection always allows;
* startup commands;
* AI settings that send or do more, such as turning AI features on, the AI provider and its endpoint, and including the schema or query results;
* turning **Share usage data** on.

A connection or profile made on another device waits whole: it appears on this Mac once you approve it. A settings category waits whole the same way until you change one of its settings here, which makes this Mac's copy yours: the review then shows this Mac's values beside the new ones, and your change goes to your other devices. Changes that waited for a connection you then set to **Local only** leave the review, since a Local only connection takes no change from another device.

While changes wait, **Status** reads **N changes need your approval** in place of **Up to Date**, with **Review…** under it. The welcome window shows the same line; click it to review. When the status says something else, such as **Syncing…**, the count shows under it. With sync **Off**, Team Library changes that wait get a row of their own.

[Team Library conflicts](https://docs.tablepro.app/features/team.md#library-conflicts) show the same way: **N Team Library conflicts**, with **Resolve…** beside **Review…**. With changes and conflicts both waiting, the changes take the place of **Up to Date** and the conflicts show under them.

![Sync pane on TablePro Sync whose Status row reads 4 changes need your approval with a Review button, above Last synced Today at 09:41 and Sync Now](https://mintcdn.com/ngquct/SZ3ZNBOfnwZseZvP/images/sync-status-approvals.png?fit=max\&auto=format\&n=SZ3ZNBOfnwZseZvP\&q=85\&s=03f1962267009e322ef8e9d380dcfdef)

The count takes the place of Up to Date

**Review…** opens **Changes Waiting for Your Approval**. Each item is under **Your Library** or **Team Library**, with this Mac's value beside the new one. A new item shows only the new values.

* **Approve** applies the item's values on this Mac.
* **Don't Apply** keeps this Mac's values, or keeps a new item off this Mac. The same values do not ask again.
* **Approve All** approves every item listed. An item another device changed again while the sheet was open stays for you to review.

If you change a waiting value yourself, your value syncs, and the list drops that value once it has.

![Changes Waiting for Your Approval sheet. Your Library lists a new connection Orders Production, Analytics with a new host, Safe Mode lowered and startup commands added, and AI settings including query results. Team Library lists Shared Warehouse with a new SSH host. Each item has Don't Apply and Approve, and the footer has Approve All and Done](https://mintcdn.com/ngquct/SZ3ZNBOfnwZseZvP/images/sync-approvals-review.png?fit=max\&auto=format\&n=SZ3ZNBOfnwZseZvP\&q=85\&s=fea870087b914a40501017a8900dad59)

A new connection shows every field it would use

Passwords never show in the list, and a driver's secret field reads **Hidden**.

## Move between providers

A move to or from TablePro Sync opens a sheet that says what it does before it runs.

| From | To | What happens |
| - | - | - |
| **Off** | **iCloud** | Sync starts. After a move to TablePro Sync, items deleted there since the move come back from iCloud, since only **Move Back to iCloud** deletes them in iCloud |
| **Off** | **TablePro Sync** | **Upload to TablePro Sync** counts the items that go up, the passwords it encrypts and the items that stay on this Mac. Click **Upload**. On a Mac that synced with TablePro Sync before, changes made while sync was off go up, and an item changed both here and on another device waits for you to keep one version |
| **iCloud** | **TablePro Sync** | **Move to TablePro Sync** counts the same. Click **Move to TablePro Sync**. Devices still on iCloud stop syncing with this Mac until you move each of them too |
| **TablePro Sync** | **iCloud** | **Move Back to iCloud** downloads the latest from TablePro Sync, then syncs with iCloud again. Items deleted on TablePro Sync since this Mac moved are deleted from iCloud too, unless another device changed them there, and the button names how many |
| Either | **Off** | Sync stops. Your data stays on this Mac and with the provider. A move that didn't finish ends and doesn't start again on its own |

![Move to TablePro Sync sheet: 148 items go up, 23 passwords are encrypted for TablePro Sync, 6 items stay on this Mac, and a warning that this Mac stops syncing with devices still on iCloud](https://mintcdn.com/ngquct/SZ3ZNBOfnwZseZvP/images/sync-move-to-tablepro-sync.png?fit=max\&auto=format\&n=SZ3ZNBOfnwZseZvP\&q=85\&s=72117017ed521dc1d3916e834d4412b8)

The counts come from this Mac's own data

A Mac with no keys yet sets them up before anything goes up: the sheet asks for **Set Up Recovery Key…** on your account's first device, or **Approve This Mac…** when another device already has them, then runs the move.

A move from iCloud starts with one last sync with iCloud. When that sync can't run, because this Mac is not signed in to iCloud, iCloud can't be reached, or your license or organization leaves iCloud out, the sheet says why. **Move Anyway** moves everything on this Mac. Changes your other devices made in iCloud since this Mac last synced with it stay in iCloud, and items they deleted since then stay on this Mac and move with it. When your license or organization leaves iCloud out, the sheet says so before you click **Move to TablePro Sync**.

A move back that stops partway, as when iCloud can't be reached, leaves your data on TablePro Sync but not syncing. **Moving Back to iCloud Didn't Finish** shows at the top of the pane, after a restart too. **Resume Move…** opens the move back again with what is left to delete; **Cancel Move** keeps this Mac on TablePro Sync, and it syncs there again. Items the move already deleted from iCloud stay deleted there.

TablePro's data stays in iCloud after the move. **Delete iCloud Data…**, in the **iCloud data** row of the same pane, removes it. Devices still syncing with iCloud stop until one of them uploads again; what this Mac and TablePro Sync hold stays.

### Signed in to another account

When this Mac syncs with an account other than before, such as another Apple Account, TablePro account or server, nothing personal goes up until you choose. **Signed In to Another Account** offers **Move My Data**, which brings this Mac's data into the account it now syncs with, and **Start Empty**, which takes what that account already holds. It also counts the changes the earlier account never received.

### Chosen by your organization

A configuration profile can set the provider and lock the menu, which then reads **Managed by your organization**. A required TablePro Sync waits for you: **Your Organization Uses TablePro Sync** opens the upload sheet with **Review Upload…**. On a Mac that syncs with iCloud, iCloud stops and the menu keeps **iCloud** until you move: **Review Move…** opens the move to TablePro Sync, which moves everything on this Mac without one last sync with iCloud. A required iCloud on a Mac already on TablePro Sync shows **Your Organization Uses iCloud**, and **Review Move Back…** opens the move back. See [Company server](https://docs.tablepro.app/features/company-server.md#set-the-server-for-every-mac).

### When the plan or license ends

**Uploads Paused** means your plan no longer includes TablePro Sync, or your company server's license has ended. This Mac still downloads changes and keeps its own until the plan or license is renewed. In a company server's grace period, **Your Server's License Has Expired** gives the date TablePro Sync stops taking changes.

## End-to-end encryption

TablePro Sync seals passwords and query history with keys that belong to your account. Every approved device holds them, and a recovery key that only you keep stands in for a device when none is at hand. They live under **Settings > Account > End-to-End Encryption**, shown while you are signed in.

![End-to-End Encryption page with the Recovery key row and Replace, Devices With Your Keys listing this Mac and a Mac mini with Remove, and Reset Keys under Reset](https://mintcdn.com/ngquct/16Xjg2R_n0fmiQ1x/images/end-to-end-encryption.png?fit=max\&auto=format\&n=16Xjg2R_n0fmiQ1x\&q=85\&s=3a3d7aeafde6c77ff66bde19c033bd39)

A Mac with the keys, and one other device that holds them

### Set up your recovery key

Your account's first device makes the keys, from the move sheet or from **Set Up…** on this page.

**1. Save the key**

**Set Up a Recovery Key** shows 14 groups of letters and digits. Click **Copy** or **Print…**, keep it in a password manager or on paper, and click **Continue**. TablePro shows it only this once and cannot recover it.

**2. Type two groups back**

**Confirm Your Recovery Key** asks for two of the groups. **Show Key Again** goes back to it until you finish.

**3. Click Set Up**

**Recovery Key Set Up** confirms it, and TablePro Sync seals your secrets on this Mac from then on.

> [!WARNING]
>
> Anyone who has your recovery key and signs in to your TablePro account can read what TablePro Sync keeps for you. Keep it as you would that account's password.

You need the recovery key to remove a lost device, and to approve a Mac when no other device is at hand. **Replace…** gives you a new one in exchange for the current one, and lets the devices you compared words with that are still signed in keep your keys; the others ask for approval again.

**Alerts**, at the top of the page, say when your recovery key was replaced, on this Mac or another of your devices, and when the server offered keys for your account that differ from ones this Mac already checked. This Mac then keeps the ones it checked. **Dismiss** clears an alert.

If this Mac can't reach the server when you click **Set Up** or **Replace**, the sheet reads **Waiting to Reach the Server** and keeps the key on screen. The key takes effect once the Mac reaches the server, so save it before you click **Done**. **Cancel** stays unavailable while the key is on its way.

### Approve another device

A device that signs in to an account with keys gets nothing personal until a device that has them, or your recovery key, approves it. Approve only a device you are signing in to right now.

**1. Ask from the new Mac**

On the new Mac, open **Settings > Account > End-to-End Encryption** and click **Ask Another Device…**.

**2. Approve it on a device with the keys**

A Mac with the keys tells you at its next sync check: a notification while TablePro is in the background, or an alert while it is in front, each with the device's name and when it asked. Click the notification, or **Approve…** in the alert, to open the request. It also shows under **Waiting for Approval** with the device's platform. Check that it is the device you are signing in to, click **Approve…**, and click **Approve**.

**3. Compare the words**

Both devices show five words. When they match in the same order, click **The Words Match** on each. If they differ, click **They Don't Match**: nothing is approved, and someone else may be asking for your keys.

> [!TIP]
>
> The new Mac says **This Mac Is Approved**, and TablePro Sync starts there.

The notification and the alert never show the five words, and each goes once the request is approved, refused, taken by another device or expired. **Not Now** leaves the request under **Waiting for Approval**. With **Show notifications** off in [Settings > Notifications](https://docs.tablepro.app/customization/notifications.md), the alert shows when you next switch to TablePro.

If the other device approved the new Mac just before you clicked **They Don't Match** or **Cancel** there, TablePro takes the approval back and says so. If an approval doesn't check out on the new Mac, its sheet reads **This Mac Wasn't Approved** with the reason, and the Mac keeps the keys it had. Click **Ask Again** to start over.

A request lasts 10 minutes. With no other device at hand, click **Use Recovery Key…** on the new Mac instead. It then holds new keys, and your other devices ask it for approval.

### More than one user account on a Mac

Each user account on a Mac that signs in to your TablePro account is a device of its own, with its own keys, and is approved as under [Approve another device](#approve-another-device). Both show the Mac's name under **Devices With Your Keys**; the one added later is the other user account.

Two user accounts that signed in on one Mac with an earlier version shared one device, and each approval locked the other out. After the update, the first to open TablePro keeps that device. The other is signed out once: sign in again there and approve it as a new device. Its connections and settings stay on the Mac.

### Remove a device

Remove a device you lost or gave away from any other device that has your keys.

**1. Click Remove…**

Under **Devices With Your Keys**, click **Remove…** beside it, then **Remove**.

**2. Confirm it's you**

The browser opens to confirm it's you with your account's passkey. On tablepro.app, an account with no passkey gets an emailed code instead. On a company server without a passkey, you add one first, after your organization's sign-in.

**3. Enter your recovery key**

TablePro changes your keys with it.

**4. Review, then click Change Keys**

Choose which of your devices keep the keys. Only a device you compared words with that is still signed in can keep them. A removed or signed-out device's keys show **Removed**. Then turn off any teammate you did not mean to confirm while the removed device had them. Teammates you turn off are left out of the new team keys, and **Remove Their Seats First** offers **Manage…** for each team to take their seats too.

The removed device reads nothing new, and your other devices pick up the new keys at their next sync. A device whose removal stopped before the keys changed shows **Removed, keys not changed yet** with **Finish…**. When the list of devices can't load, as offline, the section says so with **Try Again**.

A removed Mac signs itself out once the server tells it, and **Settings > Account** there says "This Mac was removed from your account. Sign in again to use it here." Signed in again, it starts as a new device: it asks for approval from another device, or for your recovery key, as under [Approve another device](#approve-another-device).

### Lost the recovery key

**Reset Keys…**, under **Reset** on a Mac that still has your keys, gives you a new recovery key. The reset waits 7 days, and any of your devices, or the old key if you find it, can cancel it. After the wait, **Finish Reset…** on this Mac completes it, and your other devices sign out and join again from this Mac. Passwords and query history stay. Teammates see that your keys changed, and an owner or admin of each team confirms you again before you get its passwords. A team that can't take your new keys yet, such as one you no longer have a seat on, is named when the reset finishes, and TablePro sends them there once it can. If you're the only owner or admin of a team whose key others hold, the reset names that team first: make another member who holds the key an admin, so they can confirm you after the reset. If you go ahead without that, make one an admin in the web portal after the reset.

With no device that has the keys and no recovery key, **Reset and Start Empty…** on a Mac waiting for approval, or on one your keys changed without, starts over. It needs your passkey and waits 7 days too. After the wait, **Finish Reset…** on that Mac deletes everything you synced to TablePro Sync for good, passwords and query history included. Team libraries stay. A Mac locked for another reason, such as one removed from your account, says to sign out and sign in again before you reset.

### Sign out

**Sign Out** under **Settings > Account** erases this Mac's keys. After you sign in again, it waits for approval from another device or your recovery key, like a new Mac. If they cannot be erased, TablePro asks whether to sign out anyway, and they then stay on this Mac until another account signs in here, which erases them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.