Open WebUI backup and restore

Take a cold backup of the default `open-webui` volume mounted at `/app/backend/data`; separately configured external dependencies are outside that volume.

Last updated

On this page (5)

Open WebUI ยท Backup and restore

Before you start

  • Single-container default Docker deployment.
  • Docker volume access, a maintenance window, and a pinned recovery image.
  • Sufficient disk space and a fresh destination volume.

Procedure

  1. Confirm the volume mapping with docker inspect open-webui; pause the app container and wait for it to have no active writers by stopping it cleanly before archiving.
  2. Mount the source volume read-only in a temporary utility container and archive its entire tree (for example tar -C /data -czf /backup/open-webui.tgz . with /data mapped to the source and /backup a private output mount). Save environment and secret references separately.
  3. Extract into a new empty volume with permissions preserved, then attach it at /app/backend/data on a test container using the same image. Point model providers at isolated or controlled endpoints; any external database/vector/object store needs its own recovery copy.

Verify the result

  • Verify test login, chat history and an uploaded knowledge file.
  • Confirm the test container mounts the restored volume rather than an empty or production volume.

Official documentation

Have Pilae operate Open WebUI

We agree what to monitor, how to recover and who responds when something breaks. Bring your existing deployment or start with a new one.