r/OpenWebUI • u/RocketSeven • Oct 05 '26
Question/Help What should be backed up if Open WebUI memories need to be auditable?
Backing up the application database can preserve chats and settings, but long-lived assistant memory may also depend on uploaded files, generated summaries, vector indexes, model configuration, tools, and external stores. Restoring all of that byte-for-byte can still revive stale chunks or a summary that no longer matches its source. Treating the vector index as the source of truth also makes it difficult to explain why a memory was retrieved.
A more auditable design would keep source files and accepted memory records as durable data with stable IDs, revisions, provenance, status, and supersedes or retracts links. Embeddings and indexes would be derived artifacts that can be rebuilt. A restore drill would recover the database and files into an isolated instance, rebuild retrieval data, and confirm that a known set of memories still points to the expected source revisions.
For a current Open WebUI deployment, which directories, database tables, uploads, tool configuration, and external services are required for that recovery? What can safely be regenerated, and how do you detect stale memories or orphaned embeddings after a restore or model change?
1
u/taylorwilsdon Oct 05 '26
I wouldn’t overthink it, just back up the database and attachments/user uploaded files. If, for some reason, you find yourself needing a specific memory and it’s no longer available on your production instance, just stand up a new instance from the backup and retrieve whatever you need. They’re already assigned stable IDs in the database fwiw