|
| 1 | +--- |
| 2 | +title: iCloud Sync |
| 3 | +description: Sync connections, settings, and query history across Macs via iCloud (Pro feature) |
| 4 | +--- |
| 5 | + |
| 6 | +# iCloud Sync |
| 7 | + |
| 8 | +TablePro syncs your connections, groups, settings, and query history across all your Macs via CloudKit. iCloud Sync is a Pro feature that requires an active license. |
| 9 | + |
| 10 | +## What Syncs (and What Doesn't) |
| 11 | + |
| 12 | +| Data | Synced | Notes | |
| 13 | +|------|--------|-------| |
| 14 | +| **Connections** | Yes | Host, port, username, database type, SSH/SSL config | |
| 15 | +| **Passwords** | No | Stay in each Mac's local Keychain | |
| 16 | +| **Groups & Tags** | Yes | Full connection organization | |
| 17 | +| **App Settings** | Yes | All 8 categories (General, Appearance, Editor, Data Grid, History, Tabs, Keyboard, AI) | |
| 18 | +| **Query History** | Yes | Configurable limit: 100, 500, 1,000, or unlimited | |
| 19 | + |
| 20 | +<Warning> |
| 21 | +Passwords are never synced. They remain in your macOS Keychain on each machine. After syncing a connection to a new Mac, you need to enter the password once on that machine. |
| 22 | +</Warning> |
| 23 | + |
| 24 | +## Enabling iCloud Sync |
| 25 | + |
| 26 | +1. Open **Settings** (`Cmd+,`) and select the **Sync** tab |
| 27 | +2. Toggle **iCloud Sync** on |
| 28 | +3. Choose which categories to sync using the per-category toggles |
| 29 | +4. Click **Sync Now** or wait for the next automatic sync |
| 30 | + |
| 31 | +Sync is off by default. You must opt in explicitly. |
| 32 | + |
| 33 | +{/* Screenshot: Sync settings tab */} |
| 34 | +<Frame caption="iCloud Sync settings"> |
| 35 | + <img |
| 36 | + className="block dark:hidden" |
| 37 | + src="/images/settings-sync.png" |
| 38 | + alt="iCloud Sync settings" |
| 39 | + /> |
| 40 | + <img |
| 41 | + className="hidden dark:block" |
| 42 | + src="/images/settings-sync-dark.png" |
| 43 | + alt="iCloud Sync settings" |
| 44 | + /> |
| 45 | +</Frame> |
| 46 | + |
| 47 | +## Sync Categories |
| 48 | + |
| 49 | +Each data type has its own toggle. Sync connections but not history, or settings but not connections. |
| 50 | + |
| 51 | +| Category | What it includes | |
| 52 | +|----------|-----------------| |
| 53 | +| **Connections** | All connection details except passwords | |
| 54 | +| **Groups & Tags** | Connection groups and color tags | |
| 55 | +| **App Settings** | Preferences from all 8 settings categories | |
| 56 | +| **Query History** | Past queries up to the configured limit | |
| 57 | + |
| 58 | +### History Limit |
| 59 | + |
| 60 | +Control how many history entries sync across devices: |
| 61 | + |
| 62 | +| Option | Description | |
| 63 | +|--------|-------------| |
| 64 | +| **100** | Last 100 queries | |
| 65 | +| **500** | Last 500 queries | |
| 66 | +| **1,000** | Last 1,000 queries | |
| 67 | +| **Unlimited** | All query history | |
| 68 | + |
| 69 | +<Tip> |
| 70 | +Start with 500. Unlimited history sync can slow down initial sync on large histories. |
| 71 | +</Tip> |
| 72 | + |
| 73 | +## Automatic Sync |
| 74 | + |
| 75 | +TablePro auto-syncs in three situations: |
| 76 | + |
| 77 | +- **App launch** -- pulls the latest data from iCloud |
| 78 | +- **App foreground** -- syncs when you switch back to TablePro |
| 79 | +- **Local edits** -- pushes changes 2 seconds after you modify synced data (debounced to avoid excess writes) |
| 80 | + |
| 81 | +Use the **Sync Now** button in Settings > Sync to trigger a manual sync at any time. |
| 82 | + |
| 83 | +## Conflict Resolution |
| 84 | + |
| 85 | +When the same record is modified on two Macs before syncing, TablePro prompts you to choose: |
| 86 | + |
| 87 | +| Option | Description | |
| 88 | +|--------|-------------| |
| 89 | +| **Keep This Mac's Version** | Discard the remote change, keep local | |
| 90 | +| **Keep Other Version** | Discard the local change, use the remote version | |
| 91 | + |
| 92 | +Conflicts are resolved per-record, not per-category. Editing a connection on Mac A and a different connection on Mac B causes no conflict. |
| 93 | + |
| 94 | +{/* Screenshot: Conflict resolution dialog */} |
| 95 | +<Frame caption="Sync conflict resolution"> |
| 96 | + <img |
| 97 | + className="block dark:hidden" |
| 98 | + src="/images/sync-conflict.png" |
| 99 | + alt="Sync conflict resolution" |
| 100 | + /> |
| 101 | + <img |
| 102 | + className="hidden dark:block" |
| 103 | + src="/images/sync-conflict-dark.png" |
| 104 | + alt="Sync conflict resolution" |
| 105 | + /> |
| 106 | +</Frame> |
| 107 | + |
| 108 | +## Sync Status Indicator |
| 109 | + |
| 110 | +The welcome window footer shows the current sync status: |
| 111 | + |
| 112 | +| Status | Meaning | |
| 113 | +|--------|---------| |
| 114 | +| **Synced** | All data is up to date | |
| 115 | +| **Syncing** | Sync in progress | |
| 116 | +| **Error** | Sync failed (hover for details) | |
| 117 | +| **Off** | iCloud Sync is disabled | |
| 118 | + |
| 119 | +{/* Screenshot: Sync status in welcome window footer */} |
| 120 | +<Frame caption="Sync status indicator in welcome window"> |
| 121 | + <img |
| 122 | + className="block dark:hidden" |
| 123 | + src="/images/sync-status.png" |
| 124 | + alt="Sync status indicator" |
| 125 | + /> |
| 126 | + <img |
| 127 | + className="hidden dark:block" |
| 128 | + src="/images/sync-status-dark.png" |
| 129 | + alt="Sync status indicator" |
| 130 | + /> |
| 131 | +</Frame> |
| 132 | + |
| 133 | +## Pro License Requirement |
| 134 | + |
| 135 | +iCloud Sync requires an active Pro license. Without one, the Sync settings tab shows a "Pro required" overlay. |
| 136 | + |
| 137 | +When a license expires: |
| 138 | + |
| 139 | +- Sync stops immediately |
| 140 | +- All previously synced data stays on each Mac as local data |
| 141 | +- Re-activating a license resumes sync from where it left off |
| 142 | + |
| 143 | +## Troubleshooting |
| 144 | + |
| 145 | +### No records syncing |
| 146 | + |
| 147 | +1. Confirm iCloud is signed in: **System Settings** > **Apple Account** > **iCloud** |
| 148 | +2. Check that iCloud Drive is enabled |
| 149 | +3. Verify the specific category toggle is on in Settings > Sync |
| 150 | +4. Click **Sync Now** to force a sync attempt |
| 151 | + |
| 152 | +### Stale data on one Mac |
| 153 | + |
| 154 | +Click **Sync Now** on the Mac with outdated data. If the problem persists, toggle iCloud Sync off and on again. This forces a full re-sync. |
| 155 | + |
| 156 | +### "iCloud account unavailable" error |
| 157 | + |
| 158 | +TablePro requires an active iCloud account. Sign in via **System Settings** > **Apple Account**. Corporate Managed Apple IDs work as long as iCloud Drive is not restricted by MDM policy. |
| 159 | + |
| 160 | +### Sync stopped after license expired |
| 161 | + |
| 162 | +This is expected. Sync requires an active Pro license. Renew or re-activate your license to resume syncing. |
| 163 | + |
| 164 | +## Related Pages |
| 165 | + |
| 166 | +<CardGroup cols={2}> |
| 167 | + <Card title="Settings" icon="gear" href="/customization/settings"> |
| 168 | + All settings categories |
| 169 | + </Card> |
| 170 | + <Card title="License" icon="key" href="/customization/settings#license-settings"> |
| 171 | + License activation and management |
| 172 | + </Card> |
| 173 | + <Card title="Query History" icon="clock-rotate-left" href="/features/query-history"> |
| 174 | + Browse previous queries |
| 175 | + </Card> |
| 176 | + <Card title="Safe Mode" icon="shield" href="/features/safe-mode"> |
| 177 | + Per-connection query execution controls |
| 178 | + </Card> |
| 179 | +</CardGroup> |
0 commit comments