Skip to content

Files and backups ​

WhatWhereBack up
Code releases/opt/clips/releases/<rev>, active /opt/clips/currentoptional
Config/etc/clips/clips.toml, /etc/clips/clips.envyes
Secrets/var/lib/clips/secrets/twitch_token.json, /var/lib/clips/secrets/instagram.json, /etc/clips/secrets/web_passwordyes
State, ratings, saved operational settings/var/lib/clips/state.db (+ backup/ copies at 01:30)yes
Reports/var/lib/clips/reports/<run>/yes
Raw video, chat, clips/srv/clips-media/{raw,chat,candidates,eval}no, large and regenerated
Post drafts, plan, feedbackposts and post_feedback tables in state.dbyes (with state)
venv, models, llama.cpp, scratch/var/cache/clipsno, rebuild from requirements.txt and the model links

Operational edits from Advanced configuration live in the existing SQLite meta table; events records changes. They override the TOML baseline without changing its permissions or comments. Back up both the server file and state to preserve the complete configuration.

Before changing a live installation, keep a backup of the configuration, secrets, and SQLite state. Store backups privately because they include account access. Do not reset a live database to create documentation screenshots.