Run it / Backups and restore
Backups and restore
Catodi backs itself up every night. You only copy the backups somewhere safe.
What runs by itself
Every night the server writes two files into /data/backups: the household data (people, settings, libraries, what everyone watched, lists) and a copy of the database. The newest seven of each stay. Admin → Backups lists them and has Back up now; there you can also choose a weekly backup and how many to keep.
Titles, posters and details are not in the backup: a scan finds them again.
Keep a copy elsewhere
The backups live in the data volume, on the same disk as the database. Copy them off the machine now and then:
docker compose cp catodi:/data/backups ./backupsRestore
A restore replaces everything, so it runs with the server stopped and an empty database. Admin → Backups shows the command for each file under Restore.