Settings → Backup & Restore
This page holds two different things. The first is the encryption of your memory on this disk. The second is the backup archive you carry to another machine. The rail entry is Backup & Restore. The page subtitle reads Save the profile, API keys, chat history and screen layouts in a .zip archive, or restore an archive.
The page has two tabs, Backup and Security. The app reopens the last one you opened. Security holds Encryption at rest and the Carrier passphrase. Backup holds a red warning to read before restoring, the two cards Create Backup and Restore Backup, and the box How the secrets are handled.
The next build changes the Backup tab: see Automatic backup at the end of this page.
Encryption at rest
Encrypts the vault databases on disk with AES-256 (SQLCipher).
The card first shows Loading… while the app asks how your keys are kept. Then it shows one of the states below.
On the builds shipped today, the card shows this text instead of the activation flow: Encryption is not available yet. Today the key would be bound to this machine: a memory sealed here would stay unreadable elsewhere. A 24-word phrase from another machine can be restored below. Only the button Restore from a recovery phrase is offered. The activation is held back on purpose. Sealing a memory to one machine cannot be undone.
On a build where the key can travel but no carrier passphrase is set yet, the card says Set a carrier passphrase first. It lets this key leave this machine. Again it only offers the Restore button. Set the passphrase in the next section first.
Enabling encryption
When activation is available, the card explains the trade: The memory is stored in cleartext on disk. Encryption seals every vault with a key kept in the operating system keychain. A stolen laptop, a leaked backup or a synced folder becomes unreadable. Each memory read takes a little more computing.
- Enable encryption
Click Enable encryption. The button is disabled when your operating system keychain cannot be used, with this explanation: The operating system keychain is unavailable, so no key can be sealed on this machine. Encryption stays off here.
- Write down the 24 words
The recovery phrase is shown once, as 24 numbered words in four columns, under this warning: Write these 24 words down on paper and keep them somewhere safe. They are the key: without them, the memory is lost with this machine. Shown only once. Copy puts them on the clipboard (the button then reads Copied). Click I wrote it down to continue, or Cancel.
- Type back a few words
Type back the words at these positions to check the written phrase. Each field is labelled Word #{n}. Show the phrase again goes back one step. Confirm and encrypt becomes active once every field is filled. Wrong words say Those words do not match the recovery phrase. Try again.
- Read the result
Encryption enabled: {count} vault(s) encrypted. or simply Encryption enabled. when there was nothing to convert yet. If a vault was busy: Encryption enabled. Some vaults were in use: they will be encrypted at the next restart.
Once encrypted
The card reads The vaults are encrypted at rest. with the date. Under it, a check field: Check the written phrase at any time. It stays on this machine. Type the phrase (placeholder The 24-word recovery phrase) and click Check. The answer is This phrase matches the key. or This phrase does not match. Check what was written down.
Restore from a recovery phrase
On a new machine, paste the 24-word recovery phrase to unlock the encrypted vaults. Paste the words into the field (placeholder word1 word2 word3 …) and click Restore key. Success reads Recovery phrase accepted: the key is sealed on this machine.
The errors are spelled out: A recovery phrase is 24 words. Check the count., One of the words is not a valid recovery word, likely a typo., The phrase does not check out: a word is wrong or out of order., Encryption is already enabled on this install., The operating system keychain is unavailable, so the key cannot be sealed here., No activation in progress. Start again., Encryption was enabled but some vaults could not be migrated yet., and the generic Something went wrong.
Carrier passphrase
Makes the API keys and connected accounts readable on another machine.
This card is separate from encryption on purpose. Encryption answers "is my memory encrypted on this disk?". The carrier passphrase answers "can I carry my secrets to another machine?". While the app checks, the card reads Checking how the secrets are sealed…. The app does not keep the passphrase after you submit it, and no key material reaches the interface.
No passphrase yet (the default)
The secrets are sealed to this machine's keystore and open only here. A passphrase also opens them on another machine or from an external drive. On a machine without a system keystore, a line adds: This machine has no system keystore, so it will ask for the passphrase at every start.
Two password fields, Choose a passphrase and Type it again, with the hint At least 12 characters., then Set the passphrase. Under it, the warning that matters: This passphrase cannot be recovered. Write it down somewhere safe.
Two passphrases that differ say The two passphrases do not match. Fewer than 12 characters say Too short: at least 12 characters. Success reads Passphrase set. This machine is trusted.
Locked
On a machine that holds a passphrase but is not trusted yet, the card shows Locked and The secrets are sealed with a passphrase. Entering it once makes this machine trusted. Type it into the field (placeholder The passphrase, Enter submits) and click Unlock. Unlocking also trusts the machine: Unlocked. This machine is now trusted. A wrong one says That passphrase does not open this carrier.
Unlocked
The card shows one of two states. Unlocked, this machine is trusted comes with This machine opens the secrets without the passphrase. Elsewhere, the passphrase is still needed. Unlocked for this session comes with This machine will ask for the passphrase again next time. Three buttons:
- Forget this machine (only when trusted): This machine has been forgotten. It will ask for the passphrase next time. The footer explains the scope: Forgetting this machine removes only the shortcut that skips the passphrase. It is asked for again at the next start.
- Lock now: Locked for this session.
- Change the passphrase, which unfolds a form: Every secret is re-sealed under the new passphrase in one pass. An interrupted pass is finished or rolled back at the next start. The fields are The current passphrase, the new one and its confirmation. The buttons are Change it and Cancel. Success: Passphrase changed: {count} secret(s) re-sealed.
Other messages you may meet: This carrier already has a passphrase., No passphrase is set on this carrier., The passphrase settings file could not be read., This machine cannot store the shortcut securely, so it will ask every time., and An error occurred.
Before restoring
The red banner above the two cards, titled Before restoring: Restoring replaces preferences, conversations and API keys. Indexed files and notes on disk stay intact.
Create Backup
Settings, window layouts, identity profiles and conversations in one ZIP file.
- Decide about the wallet
If a sovereign wallet exists on this machine, a checkbox Include the sovereign wallet? appears, off by default: Adds the wallet private key to the archive, encrypted with a passphrase chosen here. The license and funds then follow to a new machine. Left unticked, an orange warning stays on screen: This backup leaves out the wallet private key. On a new machine, the wallet and the license would be lost. When the app cannot tell whether a wallet exists, it says Could not check whether this machine holds a sovereign wallet. Reopen this page to check again.
- Choose the wallet passphrase
Ticking the box reveals Wallet key passphrase: At least 8 characters. It encrypts the wallet key and is asked for on restore. From 8 characters a green note confirms The wallet private key will be included, encrypted with the passphrase. Shorter, the export refuses: The wallet passphrase must be at least 8 characters long.
- Backup configuration
Click Backup configuration. A native save dialog titled Export Backup proposes the file name
mnemosyne-os-backup-YYYY-MM-DD.zip(the file type reads "Archive ZIP", in every language). Success reads Backup created.
The page says it under the passphrase field: This passphrase cannot be recovered. If it is forgotten, the wallet key in this backup is lost. Write it down and keep it somewhere safe. Nothing is sent to Mnemosyne OS, and there is no account and no recovery service. See the Wallet page for what the wallet holds.
The wallet's private key is the only wallet secret this page talks about. Do not treat a backup as a full copy of every key you were given with your Engramm licence. Keep that material where you stored it when you obtained the licence.
Restore Backup
A .zip archive made by Mnemosyne OS. The current local settings will be overwritten for good.
- Enter the wallet passphrase if needed
The field Wallet key passphrase is Only needed if the backup contains a wallet key. Leave it empty for an archive made without the wallet.
- Restore from file (.zip)
Click the dashed button Restore from file (.zip) and pick the archive (the file type reads "Sauvegarde Mnemosyne OS", in French in every language).
- Confirm
A system confirmation asks: Restoring this backup overwrites the current settings, API keys, custom setups and chat history. Mnemosyne OS restarts afterwards. Continue?
- Let the app restart
On success the app relaunches by itself. Nothing else to do.
Two errors concern the wallet: This backup contains a wallet key. Enter its passphrase to restore it. and Incorrect passphrase for the wallet key in this backup. Any other failure prints the error the app returned. When it returns none, the page says Could not restore the backup. (and Could not create the backup. on the export side).
Your vault databases and the documents watched by DocWatch stay where they are. The archive carries settings, layouts, identity profiles, conversations and API keys, and only those are overwritten.
How the secrets are handled
The info box at the bottom is the privacy model of the page, in the app's own words:
- Sovereign wallet: its private key is encrypted and bound to this machine. Without the option above, the backup leaves it out: on a new computer, the wallet and the license are lost. With the option, it travels encrypted by the passphrase, then binds to the new machine.
- Cloud API keys: included, encrypted by the operating system and bound to this machine. They work after a restore on the same machine. On another machine, enter them again in Settings › AI & Models.
- Passphrase: it is stored nowhere. If it is forgotten, the wallet key in the backup is lost.
The Carrier passphrase section above exists for the second point. With a passphrase set, API keys and connected accounts open on another machine, and you do not have to enter them again.
Automatic backup
Everything in this section is in the code after 2.2.0. On the next build, the Backup tab drops Create Backup and shows the Automatic backup card, the Restore from a backup folder card, and a restore-only card for archives made by earlier versions.
The page subtitle becomes Your memory, your files and every key, encrypted and copied into a folder of yours, and brought back on this PC or a new one.
Turning it on
The Automatic backup card explains: Your memory, your files and every key (licence, API keys, vault key), encrypted on this computer, then copied into a folder of yours: OneDrive, Google Drive, Dropbox, iCloud, an external disk or a USB key. Nothing goes to Mnemosyne.
- Choose the destination
Under Destination, the cloud folders found on this machine are one-click chips: OneDrive, Google Drive, Dropbox, iCloud Drive. Only the ones present are shown. Another folder (disk, USB key) opens a folder picker. On an external disk or a USB key, the backup runs when it is plugged in.
- Set the backup password
Type it in Backup password and again in Same password again. At least {n} characters. It opens the backup on another computer. It is asked once, here. A warning follows: Without this password, nobody can open the backup, not even Mnemosyne. Write it down somewhere other than this computer.
The No password box skips the password. It shows: Without a password, anyone who opens this folder can read the memory and use the licence and the keys. It is a valid choice, to be made knowingly.
- Pick the frequency
Frequency: Every day (the default), Every week or Only when asked.
- Turn it on
Click Turn on the backup. The form refuses with Choose a folder that exists., The password needs at least {n} characters. or The two passwords differ.
Once it runs
The card shows Destination: {path} and the last run:
- No backup made yet.
- Last backup: {date}, {size} in the folder ({new} written this time).
- Last attempt: {date}, failed: {reason}, where the reason is one of: the folder is missing (disk or USB key unplugged; plugging it in resumes the backup), not enough space, the folder refused the write, the backup is not set up, the backup key does not open on this computer (set the password again), or an unexpected error.
- During a run: Backup in progress: {done} of {total} files.
- Not included because unreadable on this computer: {names}.
- A backup made without a password carries the red line Backup without a password: readable by anyone who opens this folder.
The buttons are Back up now, Open the folder, Change destination or password and, after a failure, Try again. The frequency can be changed in place.
Restore from a backup folder
On a new computer or after a reinstall: the memory, the files, the licence and the keys come back with the backup password. The same control also appears on the welcome screen of a fresh install.
- Choose the backup folder
Click Choose the backup folder and pick the folder that holds it. An empty pick says No backup found in this folder. Pick the folder that contains Mnemosyne-Backup.
- Pick a backup
The Backup list shows each set by date and size. Before you type anything, the app reads what the set carries: {files} files and {secrets} secrets., and The licence is in it. when it is. A set made without a password says This backup was made without a password: nothing to type.
- Restore
Type the backup password, then choose Restore everything or Only the licence and the keys. Restoring everything asks first: Restore this backup? The files and vaults it carries replace the current ones, and the app restarts. Secrets already here are set aside, not deleted. The keys-only restore ends on The licence and the keys are back on this computer. A full restore ends on Restore done. The app restarts.
If this computer already holds another licence or key, the app asks before replacing it: This computer already has another licence or key ({roles}). Replace it with the one from the backup? The current one is kept in a copy of the settings, not deleted.
| The restore refuses with | When |
|---|---|
| Wrong password for this backup. | The password does not open the set. |
| This file is not a Mnemosyne backup. | The folder holds something else. |
| A file of this backup is damaged. Nothing was changed. Try an older backup. | An object fails its check. |
| This computer already has another vault encryption key. Restoring would make one of the two sets of vaults unreadable: nothing was changed. | Two vault keys would collide. |
| Restore cancelled: the licence already on this computer was kept. | You declined the replacement. |
| The vault key could not be set on this computer. Nothing was put in place. | The key kit failed. |
| This backup points outside the Mnemosyne folders. Refused, nothing was changed. | A path in the set is unsafe. |
| The restore could not write its files on this computer. | A write failed. |
Old archives
The card Restore an old archive (.zip) keeps the restore described in Restore Backup: A .zip archive made with an earlier version of Mnemosyne OS. The current settings are replaced. Its button is Restore from file (.zip). The password field becomes Archive password: Only if the archive was made with a password (it then holds the licence). A missing password says This archive holds the licence. Type the password chosen when it was made. A wrong one says Wrong password for this archive.