I would like to know how to create a backup in the docker environment and how to restore it. For example, in the docker-compose it says “db:/var/lib/postgresql/data”.
However, I can’t find a DB folder on my host system to back it up.

What is the best way here? There is also a backup app in the container.
I haven’t found anything in the wiki yet.

Thank you

Koda

I’d recommend reading about Docker volumes, and then looking at the backups volume, ttrss-docker-compose/docker-compose.yml, and ttrss-docker-compose/app/backup.sh.

Regarding restoration (assuming you’re starting from scratch, are using the default setup, and have already done docker-compose up):

Thank you. I have set the volumes and this work. But how can i force a backup or a restore?

https://git.tt-rss.org/fox/ttrss-docker-compose/wiki#backing-up-the-database

was this really so hard to find this page? hopefully 2 month probation will help you read it in its entirety.

since google result for “ttrss backup restore” leads to this post, here’s the up to date link:

https://git.tt-rss.org/fox/ttrss-docker-compose.wiki.git/tree/Home.md#backup-and-restore