Skip to content

Backups and Updates

Your whole installation is a single folder: your config.py, the plugins/ folder and the data/ folder. Backing up the Cat is copying that folder.

  • config.py and plugins/ are your code.
  • data/ holds all the state: the SQLite database (data/core/core.db), user uploads (data/uploads) and the file-based vector memory.

To take a full backup, just copy the folder somewhere safe:

Terminal window
cp -r my-cat-project my-cat-backup

You can automate it with tools like rsync and a simple cron.

Put the folder back on any machine, install the dependencies and start the Cat:

Terminal window
cd my-cat-backup
uv sync
uv run ccat

The Cat is a Python package, cheshire-cat-ai. Updating is bumping that dependency:

Terminal window
uv add cheshire-cat-ai@latest

We try to respect semantic versioning, but the project is young and there may be some retrocompatibility hiccups. Pin a specific version in pyproject.toml if you want full control:

Terminal window
uv add cheshire-cat-ai==2.0.22

Then restart the Cat with uv run ccat.