How to restore a backup of the WebSSH database?
- Launch WebSSH
- Start a mashREPL instance
- Type the following command1 : webssh database restore
<webssh.db>
<webssh.db> is the name of your WebSSH database file you want to restore.
Restore from the Settings
Since WebSSH 32.2 the backups, automatic or manual, are listed in Settings ▸ Maintenance ▸ Database Backup, where a long press on a backup offers Restore. See Automatic Database Backups.
iCloud Sync
If you have iCloud enabled inside WebSSH settings, you should disable it and enable it again after the database restore in order to sync restore changes with all your devices.
Older connections on iCloud won't be deleted after a database restoration, they will be merged instead.
-
In order to use this functionality, you must upgrade WebSSH to 14.15 ↩
Last update:
October 10, 2026