Storage and backups
Understand local persistence and safely back up or restore browser workbooks.
Where workbooks live
The browser app keeps workbooks in storage for this browser profile and this site origin. Another device, browser, or origin does not automatically get your data. The app loads code and its runtime over the network, then performs workbook operations locally. It provides no account synchronization or server copy of your workbook.
The header shows Opening locally…, Waiting to save…, Saving…, Saved in this browser, or Not saved. Browser edits return to the grid after the workbook transaction commits, then a short-lived publisher writes a consistent snapshot. Several quick edits can share one newer snapshot, while each edit remains its own undoable command. Saving… remains visible until the latest accepted snapshot is durable. An edit that has not reached Saved in this browser remains only in that tab's live session; stopping the browser, worker, or device before then can lose it on reopen. Wait for Saved in this browser before closing the tab. If persistence fails, Not saved remains visible; choose Retry save after the storage problem is resolved. A retry republishes the current database and does not repeat workbook commands. See saving failures.
A calculated result can appear before saving finishes. Calculating… in a cell means its engine result is pending; it does not mean storage is still saving. A failed undo-history refresh leaves the accepted result in place and does not require repeating the edit.
Browser storage can be cleared or evicted. Private browsing may discard it when the session ends. Storage availability and capacity vary. A rendered workbook preview during startup is not confirmation that the runtime has opened and saved your work.
Independent browser tabs
Each tab opens an independent workbook session using the latest completed snapshot available at startup. Snapshot publication is serialized across tabs, writes a complete candidate before making it visible, and keeps earlier recovery snapshots until publication succeeds. Edits publish snapshots for subsequently opened tabs; already-open tabs do not live-sync. Avoid editing the same work in several tabs: their independent writes can publish different snapshots. Close older tabs before restoring a backup or continuing in a newly opened tab.
Download a full backup
- Wait for Saved in this browser.
- Open the header's download icon (Export).
- Choose Download full workbook backup.
- Keep the downloaded
hugtab-backup.duckdbsomewhere outside browser storage.
This is a full database copy containing stored Hugtab workbooks, imported datasets, formatting, row/column visibility, and command history. A Paint format action is stored with the target cells' styles and workbook history. It differs from CSV/XLSX export of one sheet's values. Keep a backup before clearing site data, moving to another device, or switching the app's domain. A backup contains your data; store it as carefully as your source files.
Restore a full backup
Restore replaces the workbooks stored for this browser site. It does not merge them.
- Download a current full backup first, and close other Hugtab tabs.
- Open Export, then Restore full workbook backup.
- Choose your
.duckdbbackup. - Read the replacement confirmation. Cancel if you did not intend to replace stored workbooks.
- Confirm and wait for the restored workbook to load. Check its sheets and important values, then wait for Saved in this browser before closing the tab.
To move devices or origins, download from the old location and restore in the new one. Restore only a backup you intended to use.
Desktop persistence and recovery
Desktop shows Saved locally and stores its database on your device. New installations use ~/.hugtab/hugtab.duckdb; existing installations may retain ~/.minisheet/minisheet.duckdb. The service creates transactional workbook checkpoints and rotating database backups at startup, periodically while running, and on shutdown, and can recover a corrupt primary database from a usable backup.
The header's full-backup download/restore actions are browser-only. For an independent desktop database copy, quit the app completely before copying its data directory. Keep the whole directory so existing database and recovery files stay together. Automatic local backups do not protect against losing the device or its disk. Desktop signing/update availability depends on the published release; check downloads.