How to backup Discourse Docker Container?

I’ve discourse installed on VPS but I wanna shift it to a dedicated server and it has some other sites running too (CentOS 7) I installed the docker already.

What I wanna do it backup my correct running discourse and restore somewhere there without much of the re-configuration.

On my VPS it’s running on

Ports: 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp

But on my dedicated server, it has multiple sites already installed so it would probably give me bind error but how do I backup and restore?

How can I push my backup container to hub.docker.com and restore through pulling that is it possible? Little confused!

You backup the database, and restore the database. You don’t mess with the docker container. :sunglasses:

1 Like