Chapter 8 of 9 · 10 min read
Backups and privacy
Everything you put in Overnight is kept on this computer, and goes only where you send it. That makes it private by default, and makes backups your job. Overnight does most of that job for you.
Local first#
Overnight has no account and no server. Overnight itself makes no network requests while it runs. Your tasks, notes, days and habits live in a database inside the app on this computer, and copies go only where you put them, such as a backup folder.
This is what researchers at Ink & Switch call local-first software: it's fast, it works offline, and your data is yours. The trade-off is that if this computer's disk fails, the only copies are the ones you made.
Backups#
What a backup holds. Each backup is a complete copy of all your data, every year. Older copies are removed; your data never is. That includes your tasks, habits, every day and note, and their images, compressed to keep the file small.
How many are kept. Overnight backs up once a day (Settings → Data → Automatic backups), and Back up now makes one whenever you like. It keeps:
- the newest 7 daily copies (or 14, or 30: Keep the last);
- with Keep one a month on, one copy for each of the last 12 months.
When a copy gets old, the copy is removed, never anything in Overnight. Even the oldest copy you keep holds every year up to its day.
Snapshots (in Settings → Data) lists the backups, newest first, each with when it was taken, why (Daily backup, Monthly backup or Before a restore) and its size, plus the size of the newest and the total. Restore… brings one back after showing what's in it.
How big backups get#
Images take most of the space. Measured on a well-used notebook (two years of days, 600 notes, 4,000 tasks):
| What's in it | One backup |
|---|---|
| No images | about 1.4 MB |
| 30 images | about 5.8 MB |
| 365 images | about 55 MB |
With 7 daily copies and 12 monthly ones, the worst case for the 30-image notebook is about 111 MB in all. Keeping 14 or 30 daily copies costs more; Settings → Data shows what yours use.
Other ways in and out#
- Export data… saves everything as one JSON file, whenever you like.
- Restore from file… opens any Overnight backup, encrypted or not, from this computer or another.
- Import has two modes: Merge (adds what you don't have; where both copies have the same record, the more recently changed one wins) and Replace all data (restores the backup exactly, after saving a snapshot of what's there now).
A widely used rule of thumb is 3-2-1: three copies of your data, on two different kinds of storage, one of them somewhere else. Overnight's daily backup plus a backup folder on a USB drive or a cloud folder covers it.
A backup folder that leaves this computer#
At first, backups are kept on this computer, in Overnight's own folder. A backup on the same disk doesn't survive that disk, so choose a folder somewhere else under Backup location:
- a USB drive or an external disk you leave plugged in;
- a folder inside OneDrive, Dropbox, Google Drive or iCloud Drive: that service's app copies each backup to the cloud.
Overnight only writes files there, one a day, named like overnight-backup-2026-11-27.json.gz (compressed). It never connects to the internet itself; the cloud drive's app does the uploading. If the folder isn't there one day (the drive is unplugged, the cloud app signed out), that day's backup is saved on this computer instead and Settings says so. Nothing is lost, and backups go to the folder again once it's back.
Encrypted backups#
A backup in the cloud is only as private as the cloud account. Turn on Encrypt backups and choose a passphrase: each backup is then encrypted before it's written (AES-256 with a key derived from your passphrase, the same method as locked notes), and is a .enc.json.gz file that can't be read without the passphrase.
- Write the passphrase down. Overnight never stores it and there's no reset: a forgotten passphrase means those backups can't be opened.
- So daily backups can run on their own, Overnight keeps the backups' key (never the passphrase) in Windows Credential Manager, protected by your Windows sign-in. Where that isn't possible, it asks for the passphrase once each time it starts, and the day's backup waits for it rather than being written unencrypted.
- Any encrypted backup opens on any computer with the passphrase alone: Restore from file… asks for it.
- Change passphrase… applies to new backups. Older backups keep opening with the passphrase they were made with.
- Locked notes and days are already encrypted with their own passwords inside every backup. In an encrypted backup they're protected twice.
Trash, Undo and archiving#
- Deleting moves things to Trash for 30 days (Settings → Data → Open Trash, or the command menu).
- Most actions have Undo (CtrlZ, or the toast's Undo button).
- Turning a feature off hides it but never deletes its data.
- Archiving a task or habit keeps its history.
Taking your data elsewhere#
Your data isn't locked in. Settings → Data → Export as files:
- Tasks and time entries as CSV files (open in any spreadsheet).
- Notebook (your days) and Notes as Markdown, one file each (open in any text editor, Obsidian and most note apps).
Each Notebook page can also be exported on its own from its ⋮ menu, as Markdown or PDF.
Private pages#
For pages that should stay private even from someone using this computer, lock them (⋮ → Lock note… or Lock day…). The text and images are encrypted with your password, which is never stored. A page's title, tags and folder (for a day, its mood and sleep) stay visible.
Make a recovery key too, in Settings → General → Notebook: it opens any locked page if you forget the password. If you forget your password and have no recovery key, the page can't be opened by anyone. See Locking private pages.
Closing, the tray and memory#
Closing the window doesn't quit Overnight: it keeps running in the tray (the small icons by the clock), so these keep working:
- reminders and review prompts;
- a running focus timer;
- Quick capture (CtrlShiftSpace) and the daily backup.
While it's in the tray, Overnight lowers its memory use and pauses everything that only serves the window. Task Manager shows about 115 MB with the window open and about 48 MB after ten minutes in the tray. Some of that is Microsoft Edge WebView2, which draws Overnight's window.
To quit completely, right-click the tray icon and choose Quit Overnight. To have the close button quit instead, turn off Settings → General → Windows → Keep running in the tray when closed.
Sources#
- (2019). Local-first software: You own your data, in spite of the cloud. https://www.inkandswitch.com/local-first/
- (2012). Data Backup Options. The 3-2-1 rule.