Repository navigation
Restow 0.4.8
Restow 0.4.8. Released 2026-10-30, channel beta.
Beta release. Run it alongside your existing backups, not as your only one, until
you have verified restores against your own data.
Summary
Restow 0.4.8 shows on the start page what runs right now and what each tenant comes to. The new
widget "Running now" lists every backup, restore and restore check of the moment with its speed,
live, for one tenant and across all tenants. A provider admin sees the monthly price beside the
last successful backup and the total over all tenants, and with the Service Provider edition the
owner can give a tenant prices of its own. An IMAP account whose login keeps being refused no
longer fails every night without a word: it asks the admin whether it was shut down, and once
the admin says so it is no longer backed up, its login is tried once a week and it resumes by
itself when a login works again. Mailboxes, OneDrives, sites, groups and IMAP accounts that no
enabled job covers any more read "In no backup job" instead of "The latest backup is too old".
The protected objects get "Back up now" in the row menu, a "Backup" column, a panel for the
checked objects and the end of a scroll bug. zod 4 closes the last advisory the dependency audit
ignored, and a sizing guide with adjustable database pools helps with large installations. Two
database migrations (Upgrade Notes).
Breaking Changes
withoutJob in the readiness summary (readiness of GET /api/v1/status, and
GET /api/v1/verify/latest) changes its meaning: it counted servers and clients in no backup
job, and now also counts the mailboxes, OneDrives, SharePoint sites, groups and IMAP accounts
that no enabled backup job covers any more but that keep a backup. The new objectsWithoutJob
says how many of them it holds. An integration that reads withoutJob as machines only should
subtract objectsWithoutJob. Such objects are no longer rated by the age of their last backup,
are never overdue and raise no backup.overdue alert. The new inJob on an object's readiness
(GET /api/v1/objects, /users, /verify/latest) is false for every active object that no
enabled job covers; withoutJob counts only those of them that keep a backup, while one without
any backup stays no_backup and can still turn overdue.
Nothing else changes in a breaking way. The integration API contract moves from 1.7.0 to 1.9.0,
otherwise additively: statusReason of GET /api/v1/objects, /users and /jobs can also be
login_refused, and GET /api/v1/objects carries loginQuestionAt; clients that handle
statusReason exhaustively should accept the new value. objects.orphaned of GET /api/v1/status includes the IMAP accounts confirmed as shut down. The events object.inactive
and object.inactive_many can carry details.question = "login", and provider alerts know
objects_without_job and login_question. With zod 4 the api accepts identifiers only as RFC
9562 UUIDs (version 1 to 8): an id of another shape, which no Restow object has, is refused as
an invalid request instead of not being found. The problem answers and the generated OpenAPI
document of /api/v1 are not changed by zod 4; the document changes only by the additions
above.
Added
- Protected objects: the "..." menu of a row has "Back up now". It backs up exactly that object,
the same way as on the backup page, and gives the same notices (queued, already queued,
failed). It is closed with the reason for an IMAP account without a password, a source that is
disabled or not connected yet, and an object that is already queued or running; objects that
are excluded or no longer backed up do not offer it (a shut-down IMAP account does, see
below). Who may use it is decided by the server, as on the backup page. - Protected objects: a "Backup" column says for each object whether it is included in or
excluded from the backup, and below it whether the source's rules decided that ("by rule") or
an admin did ("manual": "Always included" or "Always excluded", and every IMAP account). It
replaces the small override badge under the name. An object that is no longer backed up shows
a dash: its status says why. - IMAP: an account whose password login keeps being refused no longer fails every night without
a word. After 3 counted refusals over at least 24 hours (at least 6 hours apart for backup
runs, so retries count as one, and at least 20 hours apart for archive capture passes, which
would otherwise outrun the nightly backup) the account asks "Login refused since . Was
this account shut down?" (docs/IMAP.md "Anmeldung abgelehnt: Konto abgeschaltet?"). The
account stays active and red until an admin answers. "Yes, shut down" turns it grey
"Intentionally no longer backed up" (never overdue, nobackup.failed, nojob.failed,
backups kept); "No, fix the login" keeps it protected, opens the password dialog (or points at
the source) and is not asked again until a login works, a password or the source's login
changes, or 90 days pass. Only the answer sets the state: a database check allows the new
reasonlogin_refusedfor an IMAP account that is orphaned and confirmed, and nowhere else.
Counted are refused password logins of active accounts only, from backups and archive capture
(a refused weekly probe of a shut-down account only sets the next probe); server limits,
network errors, a missing password and OAuth2 sources (Microsoft, Google) are not. The
question appears at the account, in a banner and under the filter "Login refused: answer
needed" (?status=login_question), as the eventsobject.inactiveandobject.inactive_many
withdetails.question = "login"(one mass warning instead of many notices above 10 accounts
or 20% a day) and, for providers, as the alertlogin_question("answer needed") per tenant
while questions are open. A bulk "Yes" in the list shows the sources and warns when the login
fails for almost the whole source (check its password first). Audit:
directory.login.question_raised,directory.login.dismissedanddirectory.login.restored;
the answer "Yes" is the existingdirectory.inactive.confirmedwithdetails.via = "login_question". - IMAP: a shut-down account resumes by itself. The scheduler checks its login once a week,
independent of the job schedules (also for accounts only in an archive job or in no job). The
probe is a normal backup run that logs in first: it ends neutral when the login is still
refused, and carries on into the backup, with the account active again, when it works. A new
password (single, CSV import or the source's), "Test login", "Back up now" and "Include"
resume the account at once (while the source awaits its test or is paused, the scheduler's
check follows as soon as it is usable, so no job is refused); "Exclude" stops the probes. - Start page: the new widget "Running now" ("Läuft gerade") shows what is being copied or
backed up this moment: every run that goes on (Microsoft 365 mailboxes, OneDrives,
SharePoint sites, groups, IMAP accounts, machines with the agent, Proxmox VE guests and file
shares, and their restores and restore checks) with its object, its kind, how long it has
gone on, the items and bytes so far, its speed and a small line of that speed over the last
five minutes. One graph above the runs adds the speeds up (the graphs have a text for screen
readers: the figures now, on average and at most). The widget moves with the live channel,
without a request of its own: the channel now also carries the runs of Proxmox VE guests
(the eventpve_run, in the snapshot aspveRuns, read every second poll with the node's
last progress report). The graphs are buffered in the browser: a run that carries no
measurements adds one point for each new report, dated by the report, not one for every look
of the page. A Proxmox VE node that stops reporting loses its speed after 20 seconds in the
row, the total and the graph, though its run stays listed; with no speed reported at all the
graph says "No throughput reported yet" instead of drawing a flat line. The widget lists 50
runs per tenant and says when more go on, in the live view too (only backups, restores and
restore checks count: an active export or maintenance job neither uses up the limit nor
makes a tenant look busy). While the live connection is off or lost the widget keeps the
last known state and says so; before the channel has spoken it shows the state of the page's
own request. With nothing running it says "Nothing is running right now" and when the next
planned backup starts. Only administrators see it (runninginGET /api/v1/dashboard). - Start page, "All tenants": the same widget lists what runs in every tenant, with the tenant of
each run (a click switches into it) and the next planned start over all of them. It asks the
newGET /api/v1/tenant-runningevery 10 seconds while the tab is in front; the server reads
each tenant in its own transaction, a few at a time, and keeps an answer for 8 seconds for all
viewers. Provider admins only; a member of the provider team limited to some tenants sees
those only. - Dashboard › Status: for a provider admin whose installation has a price (the tenant's own
counts), the row of "Readiness" and "Last successful backup" gets a third card, "Price per
month", always beside the last backup, never below it. On a wide page all three stand in one
row; where the last backup's list would not fit a third of it, readiness takes the row above
and the two cards share the row below; on a phone they stack. It shows the total per
month, one line per price (quantity × price = amount), "Custom price" where the tenant has its
own, the way to the prices and, for the owner, to this tenant's prices. Figures that are not
available yet read "Figures not available yet" instead of the card disappearing. Without a
price, and for everybody else, the row is unchanged. - Dashboard under "All tenants": a card above "Running now" with the monthly total over all
customers at their prices, the five tenants with the highest amounts (a click switches into
the tenant), "+N more", and a note when the figures of some tenants are not available. The
own organisation is not counted. Only for provider admins, only once a price is set. - Prices per tenant (Service Provider): the owner can give a tenant its own price per mailbox,
its own price per GB or TB, or both, in a dialog opened from the tenant's price card ("Prices
for this tenant"). A field left empty ("Use installation price") takes the installation's
price again; the currency and the unit stay the installation's. Without a key for several
tenants (the featuretenants.additional) the dialog is not offered, the change is refused
with the feature-unavailable problem and stored prices are ignored, so the installation's
prices apply everywhere; they apply again when the feature is back.GET(provider admins
within their tenants) andPUT(owner only; bodymailboxPriceandstoragePrice, a number
from 0 to 1,000,000 with at most four decimals, ornullto remove) on
/api/v1/tenants/:id/pricinganswer the stored prices, the installation's and the ones that
apply. Every accepted change is audited astenant.pricing.updatedin the tenant's chain with
the stored prices before and after. Installation › Prices lists the tenants with their own
prices, with a link to each, and says where to set them. GET /api/v1/settings/pricing/estimate(every provider admin; one with only some tenants
gets those) is the one source of every price card: per tenant the protected mailboxes (the
counting rule ofGET /api/v1/usage), the stored bytes (the dashboard storage widget's
figure, chunk store plus repositories), the price that applies, the amounts and the total,
and over all customer tenants a total and the number of tenants whose figures could not be
read.?tenant=<id>answers for one tenant. A tenant without any price is not read at all;
the figures are kept for 30 seconds, prices are always read fresh. Tenants being deleted are
left out. Amounts are not rounded.- Database pools: the size of the Postgres pools is set by
RESTOW_DB_POOL_MAX(application
pool of api, worker and scheduler),RESTOW_DB_PROVIDER_POOL_MAX(installation pool) and
RESTOW_DB_BOSS_POOL_MAX(pg-boss's own pool in worker and scheduler). Each defaults to
10, the old fixed value, so nothing changes for an installation that sets nothing. A value
that is not a whole number from 1 to 500 stops the process at start with a message naming
the variable (the api reports it and exits instead of failing with a stack trace). The
worker warns at start whenRESTOW_DB_POOL_MAXis smaller than
WORKER_CONCURRENCY+ 2, because its jobs would then wait for a connection. Listed in both
.env.examplefiles. - docs/SIZING.md: a sizing guide for large installations. It covers the backup concurrency
settings, Microsoft Graph throttling per tenant, the database pools, Postgres settings
(max_connectionsabove the sum of all pools), CPU, RAM, disk and bandwidth, first-backup
estimates and a worked example for 2,000 seats, with recommended server sizes. It says
what comes from the code and what is estimated: nothing in it was load-tested.
Changed
- Protected objects: the actions for checked objects no longer sit in a bar above the table.
From the large breakpoint on they appear in a panel in the free space at the bottom of the
tenant's section column, as soon as one object is checked; on smaller screens in a bar at
the bottom of the screen. The panel offers the same actions with the same confirmations
(include, exclude, follow the rules again, "Yes, intended", a new job or an existing job with
the selection, select all matching), announces the count to screen readers, and Escape clears
the selection. Row checkboxes are named "Select " instead of "Actions for ". - The api and the web UI validate with zod 4 (Dependabot #86). Nothing changes for clients: the
problem answers keep theirissues(codes, fields and messages as before), and the generated
OpenAPI document of/api/v1is identical. Identifiers must now be RFC 9562 UUIDs (version 1
to 8), which every id Restow creates is. - Recovery readiness: a mailbox, OneDrive, SharePoint site, group or IMAP account that no
enabled backup job covers any more (taken out of a job that names its objects, or named by a
disabled job only) is no longer rated red with "The latest backup is too old". Like a VM or a
file share in no job it reads "In no backup job" in the readiness table, the protected
objects, the dashboard and the reports: it is rated by whether its newest backup restores, not
by that backup's age, it is never overdue (nobackup.overduealert), and it keeps the tenant
from green (yellow, red when that backup does not restore). Its last backup still gets one
restore check if it never had one, planned from the job-level restore check schedule of an
enabled mail job (a mailbox's own schedule does not count); a tenant whose enabled mail jobs
have none, or that has no enabled mail job, keeps the object "unverified" until a check is
started by hand. An object without any backup keeps "No backup yet" (red), and no
backup.overduealert is raised for it. The dashboard and the provider view count these
objects apart from the machines. The integration API contract moves to 1.8.0: new areinJob
on the readiness of an object (GET /api/v1/objects,/users,/verify/latest) and
objectsWithoutJobin the readiness summary. The value ofwithoutJobin the readiness
summary changes: it counted servers and clients only, and now counts these objects too
(objectsWithoutJobsays how many of them they are). - The integration API contract moves to 1.9.0, additively:
statusReasonofGET /api/v1/objects,/usersand/jobscan also belogin_refused(an IMAP account whose
login is refused and that an admin confirmed as shut down; clients that handlestatusReason
exhaustively should accept it), andGET /api/v1/objectscarriesloginQuestionAt(null
while no question is open).objects.orphanedofGET /api/v1/statusincludes such accounts,
readiness.toConfirmdoes not (they are confirmed). No API key can answer the question. - "Back up now" (the row menu and the backup page) is allowed for a shut-down IMAP account: the
run probes the login and backs the account up when it works. Restoring "to the original
account" says the account is shut down; restoring into another account or downloading works as
before. - The price card of the tenant's overview takes its figures from the server's estimate instead
of adding them up in the browser, so it shows what the dashboard shows. It marks a price of
the tenant's own ("Custom price"), reads "Figures not available yet" instead of disappearing
while a figure is missing, and gives the owner the way to this tenant's prices. Where tenants
may have prices of their own, the owner also sees the card on a tenant without any price, to
set the first one.
Fixed
- Protected objects: after checking a row near the end of the list, the first swipe up over the
table did nothing. The pinned name column's shadow reached 1px below the table, which let the
table scroll 1px vertically and swallow the gesture; this affected every table with a pinned
column. Checking a row also no longer moves the rows under the pointer (the actions bar used
to appear above the table), and no longer rebuilds every cell of the table, which dropped
keyboard focus and closed open tooltips and menus on each check. - Tables with a pinned column on the page background (protected objects among them) no longer
look two-toned: the pinned name column was white while the other cells let the page show
through. The table takes the pinned column's surface.
Security
- zod 4.6.7 (from 3.25) validates the requests of the api and the web UI. It resolves
GHSA-mrhx-c7xc-m3w5 (memory use when validating a large array) for Restow's own code too, so
the audit of CI no longer ignores any advisory:pnpm.auditConfigand the zod override are
gone from the rootpackage.json.
Upgrade Notes
New images and two database migrations; no new required environment variable, and the
docker-compose.yml of 0.4.0 stays.
- Two database migrations run at the api's start; neither rewrites a table:
- 0070 adds six columns to
protected_objects(login_failed_runs, default 0, and five
nullable timestamps) and three check constraints (among them the one that allows the reason
login_refusedonly for an IMAP account an admin confirmed as shut down, orphaned and with
a next probe date), widens the reason check of 0069 bylogin_refusedand replaces the
trigger function of 0069. The checks are validated against every row ofprotected_objects,
which reads the table a few times under its lock on a large installation; nothing is
rewritten. - 0071 adds the column
tenants.pricing(jsonb, default{}: no price of its own); every
tenant keeps the installation's prices until the owner sets its own.
- 0070 adds six columns to
- Nothing is asked right after the update, and refusals from before it are not counted: an IMAP
account asks whether it was shut down after 3 counted login refusals over at least 24 hours,
so on the third night of failing logins with a nightly job, about a day after the first one
with a job that runs several times a day. Expect oneobject.inactivenotice per account (or
oneobject.inactive_manywarning for many) for accounts whose password has really stopped
working, and answer them under protected objects. Webhooks and recipients get these notices
only where the events are ticked in the notification matrix, as in 0.4.7. - Mailboxes, OneDrives, sites, groups and IMAP accounts that no enabled job covers any more
(taken out of a job that names its objects, or named only by a disabled job) and that keep a
backup read "In no backup job" instead of red "The latest backup is too old" from the update
on. They are rated by whether their newest backup restores (green or red), never by its age;
one whose newest backup was never checked reads "unverified" until a restore check runs
(Changed). The tenant stays yellow while any of them keeps a backup. To clear it, put the
object back into an enabled job, enable its job, or exclude it.withoutJobof the readiness
summary grows by these objects (Breaking Changes). - New optional environment variables
RESTOW_DB_POOL_MAX,RESTOW_DB_PROVIDER_POOL_MAXand
RESTOW_DB_BOSS_POOL_MAX(default 10, as before; a whole number from 1 to 500). Raise them
only together with Postgres'max_connections(docs/SIZING.md); a value out of range stops
the process at start with a message naming it. The worker warns at start when
RESTOW_DB_POOL_MAXis smaller thanWORKER_CONCURRENCY+ 2. - Integrations: the contract moves from 1.7.0 to 1.9.0 (Breaking Changes). The weekly login
probe of a shut-down IMAP account, and "Back up now" while its login is still refused, appear
inGET /api/v1/jobsasfailedwithfailure.codeconfig.object_inactive(the object's
statusReasonislogin_refused); they raise nobackup.failedalert and nojob.failed
webhook. Treat them like the object's state, not as a failure. - Providers: the provider view can show two new tenant alerts without any action:
objects_without_jobat once for each tenant with objects in no enabled job, and
login_questionwhile IMAP login questions wait for an answer. - Prices per tenant need the Service Provider edition (
tenants.additional); without it the
dialog is not offered and the installation's prices apply everywhere. - restow-pve and the agents need no update in this release (no change to the agents or the
Proxmox VE plugin). - Rollback to 0.4.7 after the migrations was not tested: take a database backup before the
update and restore it to go back.
Known Issues
- docs/SIZING.md was not load-tested: its figures come from the code's limits and from
estimates, and it says which is which. - "Running now" names as the next planned start the earliest start of any enabled job, a copy
job's included, so it can name a copy job instead of a backup. - For a provider admin on an installation with a price, the status row of the start page grows
from two cards to three on the first load of a session once the prices are read. A later
switch of tenant keeps the row, except where the installation has no price and only some
tenants have their own: then the price card comes and goes with the tenant. - Protected objects on a phone: the "Backup" column is reached by scrolling the table sideways,
and at the very end of the page the bar for checked objects stops a little above the bottom
edge. - The question "Was this account shut down?" was tested against a test IMAP server, not against
the login refusals of real mail providers: a refusal a server words as a temporary error is
not counted. OAuth2 IMAP sources are never asked. - The rating of objects in no backup job also applies to earlier days: only the current job
coverage is stored, so the readiness history rates such an object as "In no backup job" for
days when a job still covered it. On the Recovery readiness reports list a filter on the
rating matches the stored rating, which counted the backup's age, so a report of such an
object can be listed under red while it reads green (as in 0.4.7 for objects removed from
their source). - The known issues of 0.4.7 still apply.
Verification
Before the tag, on the release branch (0.4.7 plus the 0.4.8 work): lint and typecheck of all
workspaces, the unit and Postgres suites of every package on Postgres 16 (with the Postgres
guard), among them migrations 0070 and 0071, the login-refusal counting, question, probe and
resume of IMAP accounts, the readiness of objects in no job, the running widget's api and live
channel, the price estimate and the prices per tenant with their audit, owner and edition rules;
restic-backed tests with restic 0.19, the web DOM tests, the v1 OpenAPI test (the document
generated under zod 4 was also compared once with the one before it: identical), the tests of
the CI scripts and the third-party notices. The start page widgets, the price cards and the
protected objects were checked in a browser against mocked answers (light and dark, desktop and
phone). The IMAP question was not run against a real mail provider before the tag, and the
sizing guide was not load-tested.
Release pipeline, 2026-10-30:
| Check | Result | Duration |
|---|---|---|
| 1. Install: images, compose up, migrations (new install and upgrade) | PASS | 92s |
| 2. Health endpoints, worker and scheduler registered | PASS | 0s |
| 3. Passkey sign-in E2E with a virtual authenticator, tenant creation, i18n de/en | PASS | 2m 09s |
| 4. Microsoft 365 backup and restore against the dev tenant | SKIPPED | 0s |
| 5. IMAP backup and restore against Dovecot, hash comparison | PASS | 8s |
| 6. Journal receipt, chain verification, export | PASS | 3s |
| 7. Standalone restore with restow-restore from the storage of check 5 | PASS | 24s |
| 8. Storage targets: S3 (Garage), local path, mounted directory | PASS | 19s |
| 9. Image scan (Trivy) and dependency audit (pnpm audit) | PASS | 21s |
| 10. Endpoint backup: the agent enrolls, backs up a folder, restores it | PASS | 12s |
| 11. Mail import (folder and upload) and export (EML ZIP, MBOX), compared by hash | PASS | 8s |
| 12. File share backup against Samba: back up, browse, ZIP, restore with permissions, copy job | PASS | 2m 17s |
| 13. Archive capture: IMAP sync with IDLE and backfill, forwarded copies, dedupe, chain | PASS | 2m 11s |
12 of 13 checks passed in full, 0 partly, 1 skipped, 0 failed. The full report, including the reason for every skipped or partial check, is attached to the release as smoke-report.md.
The Community images were smoke-tested on their own (smoke-report-community.md, smoke-report-community-arm64.md): amd64 PASS with gaps: 9 of 13 checks passed in full, 0 partly, 4 skipped (see the reasons below); arm64 PASS with gaps: 9 of 13 checks passed in full, 0 partly, 4 skipped (see the reasons below).
Images
Two builds of the same release. The full build is the Apache-2.0 core plus the Business and Service Provider modules (Restow Enterprise License), which stay locked until a license key is installed. The Community build is the Apache-2.0 core alone.
ghcr.io/restow-backup/restow:0.4.8
ghcr.io/restow-backup/restow-web:0.4.8
ghcr.io/restow-backup/restow-community:0.4.8
ghcr.io/restow-backup/restow-web-community:0.4.8
The digests of the multi-arch manifests (the opt-in updater verifies the pulled images against the two lines of its build):
restow: sha256:1cee9e2e329006da04a23261383efa03c6feb6b4ddfec4e361a31f2a68f70fcf
restow-web: sha256:ebe9adb750c1568bb09d538102edf7ab23c53e23765064fa6a4daf7399e7c30d
restow-community: sha256:1bd77abe75cd60ebaf0c3f85ae35efe651960f7d8ec3b8a8411b126c18bede3a
restow-web-community: sha256:c385e27456870a0f2a26aef32658cf55b7f8913c21c47facd20e4eb58a5f9a84
The release date the images carry (RESTOW_RELEASED_AT, the commit date of the tag). Licence keys with an update period cover the releases made up to its end; the updater reads this line to offer only those (docs/LICENSING.md):
released: 2026-10-30T19:12:31Z
All four images are multi-arch (linux/amd64, linux/arm64), signed with cosign (keyless) and carry an SPDX SBOM as attestation. Verify any of them with:
cosign verify ghcr.io/restow-backup/restow:0.4.8 \
--certificate-identity-regexp '^https://github.com/restow-backup/restow/\.github/workflows/release\.yml@refs/tags/v' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
cosign verify ghcr.io/restow-backup/restow-web:0.4.8 \
--certificate-identity-regexp '^https://github.com/restow-backup/restow/\.github/workflows/release\.yml@refs/tags/v' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
cosign verify ghcr.io/restow-backup/restow-community:0.4.8 \
--certificate-identity-regexp '^https://github.com/restow-backup/restow/\.github/workflows/release\.yml@refs/tags/v' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
cosign verify ghcr.io/restow-backup/restow-web-community:0.4.8 \
--certificate-identity-regexp '^https://github.com/restow-backup/restow/\.github/workflows/release\.yml@refs/tags/v' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
The public demo's own images, ghcr.io/restow-backup/restow-demo-seed:0.4.8 and ghcr.io/restow-backup/restow-demo-dovecot:0.4.8 (deploy/demo), carry the same tags, signatures and SBOMs; they are no part of an installation.
docker-compose.yml and env.example are the release stack (deploy/release/); install.sh installs it on a dedicated Linux VM (README.md, "Install with the script"; install.sh.sha256 for sha256sum -c after the download); restow-agent-THIRD_PARTY_NOTICES.txt holds the licenses of the agent binaries and of the restic they run; SHA256SUMS lists every file of this release and is signed (SHA256SUMS.sigstore.json).