How to back up v3 Docker container data for v4 migration?

I’m running ChirpStack v3 in a Docker container. I’d like to migrate to v4, and I’d like to back up the existing v3 data before doing so. My skills with Docker are basically limited to the start, stop, pull, and ps commands. I know even less about Postgres.

Using small words and exact commands, can someone please explain how to create a back up?

Have you looked at this doc?

Yes, I did. And it says absolutely nothing in relation to Chirpstack running in a Docker container.

Backing up PostgreSQL and Redis data is unrelated to if you are using Docker or not (in case of Redis, it also depends on your Redis configuration; how data is persisted on disk). Some links that might help you: