Your data

Backups and restore

Synapse backs up your hosts automatically on this computer, can make a full encrypted backup on demand, and can back up to the cloud and keep your computers in sync with one account.

Automatic backups

The desktop app snapshots your hosts, groups, workspaces, snippets, settings and local project list to its own folder on your computer: at startup, at most once an hour while something changes, and immediately before an update installs or a restore runs. Synapse keeps the 30 newest snapshots, plus the newest one from each of the last 14 days. Passwords, private keys and passphrases are never included - those stay in the vault.

To restore one: Manage hosts → Import and export → Restore hosts from a backup. Pick a backup, then choose:

If your devices sync, the same window offers Restore from synced devices: it copies back any hosts your other devices still have. Nothing is ever deleted on another device by a restore.

Missing hosts after an update?

A bug that could show an empty or outdated host list after an update was fixed in version 0.2.5. If your hosts ever go missing, use Restore hosts from a backup or Restore from synced devices above to bring them back - see also Troubleshooting.

A full encrypted backup

Import and export → Back up everything saves a single encrypted .synapse-backup file with your hosts, snippets, settings and the vault's contents (SSH keys, passwords and API keys included) - unlike automatic backups and exported hosts, this one does carry your secrets, so it needs a password of its own, at least 12 characters. The vault must be unlocked to include it.

The file is encrypted with AES-256-GCM, using a key derived from the backup password with Argon2id (64 MiB of memory, 3 passes). Backup files made by older versions (which used PBKDF2-SHA256) can still be restored; a file made by this version needs this version or newer to open it.

The backup password can't be recovered either

It's separate from your master password and isn't stored anywhere. Losing it means the backup file can't be opened. Keep it in a password manager, the same as your master password.

Restore a backup opens that file (after the password unlocks it) and previews what's inside before you choose Merge (add what's missing, keep everything else) or Replace (your hosts, snippets, settings and vault become exactly what's in the backup).

For a plain list of hosts with no secrets at all - to move to another computer or share with a teammate - use Export hosts instead; see Hosts and connections.

Cloud sync and backup

Cloud sync and backup is an optional, off-by-default way to keep a copy of your vault and hosts safe even if this computer is lost, and to keep your computers the same. It's found by your email and encrypted on your device before it's uploaded - the server never sees your data unencrypted and can't read it.

Open it from the cloud button at the bottom of the sidebar, next to the Vault button (also in the More menu and in Settings). Setting up takes your email, a code we send to it, and your master password. Leave Keep my computers in sync on and the same account also keeps your computers in step - see Sync between devices. When you finish, Synapse uploads your first backup, asks the server for it again, and only then tells you it's there, with its size and time.

Knowing it's backed up

The cloud button always says what is true right now:

It saysWhat it means
Cloud sync - Set upNothing is set up on this computer. Nothing leaves it.
Backed up, in sync - 2 min agoThe last upload succeeded, nothing has changed since, and your devices are in step.
Changes to back up - SoonYou changed something; it's uploaded about two minutes after the first change.
Backing up / SyncingIt's happening now.
Cloud waiting - UnlockThe vault is locked. The keys are kept in it, so nothing is backed up or synced until you unlock it.
Cloud pausedAutomatic backup and sync are switched off.
Backup failed / Sync failedThe last attempt didn't work. Hover over it, or open the window, for the reason and the time of the last success.
Replace account keys, Save Emergency Kit and similarSomething needs you. The window says what.

The window opens with the same status in full - for example "Everything is backed up and in sync. Last backup 2 min ago, 38 KB, 4 versions kept" - with Back up now and Sync now beside it. Its pages are Overview (what's included, automatic on or off), Devices, Backups (the latest backup and the three before it, each restorable) and Account (email, Emergency Kit, recovery phrase, turning off and deleting).

What's included

Signing in on another computer

On the other computer choose Sign in to restore and sync (on the empty host list, in the cloud window, or under Import and export). It needs two things:

You see what's in the backup before anything changes, then choose Add missing or Replace. With Keep this computer signed in on, the computer keeps backing up to your account and joins your other devices as a new device of its own - no pairing code needed - and your other devices show that it signed in. Turn it off to only copy the data once.

Secret Key and Emergency Kit

The Secret Key is a random code made on your computer when you set up, like S1-ABCDE-040G2-08104-0G208-1040G-20810-6QS73. It's combined with your master password to lock the backup, so even someone with a copy of the backup server's data can't open it by guessing your password. It's kept in the vault on your computer and never sent to us. It isn't a way around a forgotten master password - that's what the recovery phrase is for.

When you set up, Synapse shows your Emergency Kit: your email, your Secret Key and your recovery phrase. Use Copy or Save as a text file and keep it somewhere safe, like your password manager or printed out. Anyone with the recovery phrase and access to your email can restore your backup and sign in to your sync. You can show the kit again later on the Account page of the cloud window (with the vault unlocked), but the recovery phrase is shown only once - make a new one there if you've lost it. If someone else may have seen your kit, Make a new Secret Key replaces it. Emergency Kit and recovery goes through what to do if you lose your master password, Secret Key, recovery phrase or email.

To sign in or restore, choose Master password and Secret Key or Recovery phrase after entering the emailed code. Synapse checks the Secret Key as you type it (capitals, spaces and dashes don't matter), so a typo is caught straight away. If the backup still doesn't open, the message is "The master password or Secret Key is wrong" - Synapse can't tell which one.

Backups set up with Synapse 0.2.8 or earlier get a Secret Key automatically with their next upload after you update, and the cloud window opens once to show your new Emergency Kit - save it then. Until that upload, and for backups still made by a computer running 0.2.8 or earlier, the master password alone opens the backup, so update Synapse on every computer that backs up.

If you already used Cloud backup or Sync between devices

Removing a computer, and replacing the account keys

Removing a device on the Devices page stops it syncing straight away and replaces the sync key. A computer that signed in with your email also holds the keys of your backup, so Synapse then asks you to Replace account keys: a code to your email and your master password make a new backup key, Secret Key and recovery phrase - a new Emergency Kit - and the removed computer can open nothing of yours any more. Until you do that it could still read new backups, and signing in to sync with your email is switched off (pairing with a code still works). Your other computers keep syncing and sign in again with the new kit to keep backing up. Earlier backup versions were locked with the old keys and can no longer be opened.

Turn off backup on this computer only forgets the keys here; the cloud copy stays. Delete cloud backup removes every version from the server after a code sent to your email.

Losing both means the backup can't be opened

If you lose your master password or your Secret Key, and your recovery phrase, nobody - including Maku - can open your backup either. Save your Emergency Kit in a password manager or print it the moment it's shown to you, and keep your master password safe too. See Vault and master password.