mirror of
https://github.com/open-webui/docs.git
synced 2026-11-05 01:38:13 +00:00
[GH-ISSUE #1378] Docs: the backups page lists cache/ as data to back up - on a fresh instance it is 99.9% of the backup #168
Labels
No labels
bug
documentation
documentation
duplicate
enhancement
enhancement
good first issue
good first issue
good first issue
help wanted
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/docs#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @spelingbee on GitHub (Sep 4, 2026).
Original GitHub issue: https://github.com/open-webui/docs/issues/1378
Environment
ghcr.io/open-webui/open-webui:v0.11.1, Docker, default SQLite,volume on
/app/backend/data.What I did
Started a fresh instance, signed up one account, saved one chat, stopped the stack as
the page's scripts do, and copied
/app/backend/data.What I observed
cache/is a Hugging Face hub tree -all-MiniLM-L6-v2andfaster-whisper-base-downloaded on first start. The page lists
cache/among the five things the data storecontains, next to
webui.dbanduploads/, with no note that it is regenerable. Aperson following the page keeps 1.1 GB per snapshot for what is, at that moment, about
a megabyte of their own data.
Two smaller things from the same run, in case they are useful:
The cache contains symlinks - 46 of them in my copy, from
snapshots/intoblobs/. Any restore path that cannot create symlinks (a different operating system,a filesystem without them, some archive tooling) will not reproduce the tree. Excluding
cache/makes this go away as well.There is no restore procedure on the page. It covers taking the backup
thoroughly and stops there. A person restoring for the first time is doing it on the
worst day they have had this year, and the two things they need to be told are the
order of operations and that
webui.db-walhas to travel withwebui.db- on myinstance the
-walwas 160 KiB against a 632 KiB database, so a copy of the.dbalone would be missing the newest writes.
Suggested change
On the existing page, next to the list of five:
and a short Restoring section:
I would be glad to send a docs PR with both if that would be welcome. The backups page
is already one of the better ones in self-hosted software - it is the only project in a
set I have been testing that has a page about backups at all.
Everything above, with the commands and the unedited output, is at https://github.com/spelingbee/drillback/tree/main/docs/drill/open-webui - one leg of a restore drill across fifteen self-hosted applications, each one following its own backup documentation as written.
@spelingbee commented on GitHub (Sep 4, 2026):
One clarification to my own text, having read the page more carefully: two of the three example scripts on it already exclude
cache/(the rclone jobs, with "# Exclude cache and audit.log"), so "1.1 GB per snapshot" applies to the point-in-time rsync snapshot script, which copies the whole directory, and to anyone who "targets the entire data directory" as the page suggests. What I am asking for narrows to: a line in the files table sayingcache/is re-downloaded models and safe to exclude (so a reader knows why the scripts exclude it), and a short restore section. Happy to send both as one PR.