Skip to main content

Backup (Alpha)

A Snapshot of Your Session​

warning

Backup is an Alpha feature. It works, it is on by default, and the format of the files it writes may still change between releases. Do not treat it as your only copy of anything you cannot afford to lose.

Floorp periodically saves your open tabs — or, if Workspaces is enabled, your whole workspace layout — into files inside your profile, and gives you a list to restore from when something goes wrong.

This is Floorp's own implementation. It is unrelated to Firefox's built-in Backup feature on Windows, which covers bookmarks, passwords, and other profile data: this one saves tabs and workspaces, and nothing else.

The settings live in Floorp Hub > Backup (Alpha) (about:hub#/features/backup). A note about the feature also appears during the first-run welcome setup, where it can be turned off before it ever runs.

What Gets Saved​

A backup contains, for each tab:

  • the URL and the page title
  • whether the tab was pinned
  • its container
  • the tab's own history, so Back still works after a restore

It does not contain form entries, session storage, or anything a page holds in memory. A private window is never captured — private windows cannot be backed up or restored at all.

Whether a backup is a Tabs backup or a Workspaces backup depends on whether Workspaces was enabled at the moment it was taken. The two look the same in the list, apart from that badge.

Where the Files Are​

Backups are written to the workspaces/backup folder inside your profile directory, as compressed files named backup-<date>-<time>-<id>.jsonlz4. Anything the list shows is a file in that folder, and anything you put there that follows the naming pattern shows up in the list.

Being ordinary files, they can be copied elsewhere, and copying a stale one back into the folder is a legitimate manual recovery route.

Automatic Backups​

  • Automatic backup

    When enabled, Floorp takes a backup every interval. On by default.

  • Backup interval

    How often a backup runs: 5 min, 15 min (the default), 30 min, 1 h, 6 h, 12 h, or 24 h.

  • Keep backups for

    Age in days after which automatic and manual backups are deleted. Default 7; the page accepts 1 to 365.

  • Back up now

    Takes a manual backup immediately. The line above the button shows when the last backup was taken, or "No backups yet".

Automatic backups only run while the browser is running, and a backup with nothing to record (no tabs at all) is refused rather than written as an empty file.

Pre-restore safety backups are not subject to the retention age. They are kept separately, and the count is capped by a separate limit (maxPreRestoreBackups, 10 by default) rather than by the day count.

Backups List​

Every row in the list shows:

  • the date and time of the capture
  • a kind badge: Auto, Manual, or Pre-restore
  • a mode badge: Tabs or Workspaces
  • the size of the capture — window count for tabs backups, workspace count for workspaces backups, plus the tab count and the file size on disk

Each row has Restore and Delete buttons. Delete all backups in the header of the list removes every file after a confirmation; a single delete also asks first.

Restoring​

What the restore button does depends on two things: whether Workspaces is currently enabled, and whether the file you picked is a workspaces backup.

  • Workspaces enabled, workspaces backup selected — "Restore"

    This is the destructive case, and the dialog is deliberately worded that way: the backup replaces all current workspaces and tabs. Before anything is replaced, Floorp writes a fresh pre-restore safety backup, which then appears at the top of the list. If that safety copy cannot be written, the restore is cancelled and your current tabs are left alone.

  • Anything else — "Reopen tabs"

    The backed-up tabs are opened next to yours; nothing currently open is closed. Duplicates are possible, and the dialog says so.

    Tabs are opened in the window you started the restore from, except when Workspaces is disabled: then the captured window layout is recreated, including separate windows.

  • A workspaces backup restored while Workspaces is off

    The tabs come back flattened, with no workspace grouping, and the dialog warns about that up front.

After a restore, a status line reports how many tabs were skipped because their address cannot be restored safely — internal browser pages and other locations outside http, https, extension pages, and a short allowlist of about: pages. Everything else is reopened.

When the Restore Refuses​

Restores are conservative by design: if the browser cannot prove an operation is safe, it cancels and tells you why instead of guessing.

  • Your tabs changed while the restore was being prepared — nothing was touched; try again.
  • Some tabs could not be restored — nothing was replaced, your current tabs are untouched.
  • The file is empty, missing, or oversized — nothing was restored.
  • A window's privacy state could not be determined — the operation was cancelled rather than risking private data.
  • A restore was started from a private window — not supported.
  • Another backup or restore is already running — wait for it to finish.
  • Workspaces were enabled without restarting Floorp — wait a moment or restart the browser, then retry.
  • The safety backup failed — the restore was cancelled before replacing anything.

A restore that outlasts the settings page's request timeout keeps running in the background; the page says so and refreshes the list when it completes.

Size Limits​

A single backup is capped at 20 windows, 1000 tabs per window, 5000 tabs in total, and 200 workspaces. Files are additionally capped at 64 MB compressed and 256 MB decompressed: a capture that would exceed a limit is not written, and a file above the cap is not restored.

For ordinary browsing these limits sit far out of the way. They matter if you keep thousands of tabs, or if you drop a hand-copied file into the backup folder that was produced elsewhere.

Settings Storage​

The page writes one pref, floorp.workspaces.backup.config, a JSON object:

  • enabled — automatic backups on or off
  • intervalMinutes — 1 to 1440
  • retentionDays — 1 to 365
  • maxPreRestoreBackups — 1 to 50; not exposed on this page, only used to cap safety copies

Values outside a range are clamped and unreadable values fall back to the defaults { enabled: true, intervalMinutes: 15, retentionDays: 7, maxPreRestoreBackups: 10 }. The Workspaces page edits the same configuration when Workspaces is enabled, so a change made in either place applies to both.