Backup and Restore
Last Reviewed: 2026-10-04
Who backs up
- With a hub, the Hub does the backups. The hub holds every device's changes; a device's own backup would only hold what that device knew. On a device paired with a hub, the backup and restore controls are switched off, with the note "This device syncs with a hub; backups and restores happen on the Hub", and Take the hub's data… is offered instead.
- A device on its own (no hub) makes its own backups and restores with the controls below. Every backup is a complete copy of the data, not just the changes, so restoring only ever needs one file. There are no incremental backups. To save part of your data, use Export to CSV: it saves one table, as the grid shows it, and isn't a backup (bring it back with Import from CSV).
Backups on the Hub
In the Hub's Hub backups card:
- The Hub makes a full backup once a day, into a folder (by default
Documents\Secluse Hub Backups; Change folder to pick another), and keeps the last 5 (Keep the last). Back up now makes one straight away. - Files are named
secluse_hub_backup_YYYY-MM-DD_HHMMSS.db. Other files in the folder are never touched. - Keep them on another disk or in a synced folder, so they survive if the Hub PC's disk fails. An encrypted, synced folder such as a Cryptomator vault works too: see Advanced Topics.
- Check a backup file… tests a backup without changing anything.
Backups on a device on its own
In Settings → Backup and restore:
- Automatic backups: once a day while Secluse is open (or the next time it opens, if it was
closed that day), into a folder you choose on that device. Files are named
secluse_db_backup_YYYY-MM-DD_HHMMSS.db. The last 5 are kept (Keep the last: 3, 5, 7, 10, 14 or 30), and older ones are deleted; only files with that name are ever deleted. Back up now makes one straight away. - The card shows the folder, the last backup, how many are kept, the oldest, and any error from the last attempt (for example, the folder is missing).
- Until a folder is chosen, a red card says the device's data is unprotected, and a reminder appears when Secluse opens. If another device already covers this data, turn on This device doesn't take backups to stop the warning.
- Manual backup: a one-off backup into a folder you pick, named
secluse_db_backup_YYYY-MM-DD.db. Automatic clean-up never deletes these. - On Android, backups can only go into Documents, Download, or a folder inside them. If you pick another place, Secluse says so and offers Use Documents/Secluse Backups.
Checking a backup
Check a backup file… (on a device on its own, and on the Hub) opens a backup read-only and tells you whether it's a complete, undamaged backup that this version of Secluse can restore. Nothing is changed, so it's the way to test a backup.
Restoring
A device on its own
Settings → Backup and restore → Restore from a backup file… replaces everything on the device with the backup. Afterward the device is back at the backup's moment: anything added or changed since is gone from it.
- Choose the file. Secluse checks it first: it must be an undamaged Secluse backup, and it can't be the live database itself.
- Confirm. The restore happens the next time Secluse starts: press Close Secluse (or close it yourself) and open it again. Until then, Cancel the pending restore undoes the choice.
- Search catches up by itself after a restore, which may take a moment.
A safety copy is always kept: the data from before the restore is saved as
secluse.db.pre-restore next to the database (one copy; the next restore replaces it).
Undo last restore… puts it back exactly as it was, and the data at that moment becomes the
new safety copy, so an undo can itself be undone.
With a hub: roll back on the Hub
In the Hub's Restore card:
- Roll everything back to a backup file… puts the hub back to a backup (a hub backup or a device backup). This takes your whole setup back to that moment, and gives the hub a new Restore ID. Each device then shows Restore required, syncs nothing and changes nothing until you choose Use the hub's data on this device…. That saves a safety copy of the device's own data first, then takes the hub's.
- Repair the hub only… is for when only the hub's data was damaged or lost. It takes a hub backup made since the hub's last rollback, keeps its Restore ID, and the devices need nothing done: they send the hub anything newer as they reconnect.
- Undo last restore… (once a safety copy exists) puts the hub back exactly as it was, Restore ID included. Devices that had already taken the rolled-back data then show Restore required until they're undone too.
Each of these stops the hub, replaces its data and starts it again by itself, and keeps a safety copy of what it replaced.
Why a device can't just restore on its own: restoring one device from a file would leave it out of step with the hub. So a paired device can't restore from a file; if its data looks wrong, Take the hub's data… replaces it with the hub's.
The device's safety copy is named <DEVICE>_rollback_backup_<date>.db, and goes into the
device's backup folder if it has one, otherwise into Safety copies in Secluse's data folder.
The last 3 are kept.
Where Secluse keeps its data
- Windows:
%LOCALAPPDATA%\Secluse(for exampleC:\Users\<you>\AppData\Local\Secluse): the databasesecluse.db, the search index, cached pictures infiles, the hub pairing, and the logssecluse.logandsecluse_background.log. Each Windows user has their own. It's a local folder: OneDrive doesn't sync it, and Windows doesn't copy it between PCs. - Secluse Hub:
%LOCALAPPDATA%\Secluse Hub: the hub's databasehub.db, its certificate, the paired devices, its settings and its log. - Android: Secluse's private app storage. No other app can see it, and Secluse needs no storage permission. Uninstalling the app deletes it, so make a backup first.
Don't open, edit, copy or delete the files in these folders, even while Secluse and the Hub are closed. They're a synced database: every record carries hidden version stamps that syncing depends on, so a change made outside Secluse can't reach your other devices, may be silently overwritten, and can stop syncing altogether. To look at your data with another tool, use a copy of a backup file instead (see Advanced Topics). To move data between devices, use the Hub or Backup and restore.