Can community data, including posts, users, uploads and passwords be exported?
Click on admin by opening the hamburger menu at the top right.
Choose what you want to export between the various items listed
Click on it
Pick an initial date and a final date
Wait the pop up and click OK
Wait the PM from @system and download the report
Because of this bug CSV export of reports fails you have to update discourse to the latest version (if the fix has already been merged)
You might get a better answer if you say what you want to do with the data.
I wanted to know if it’s possible to export the data in case we self-host our instance.
Yes of course this is always possible.
Of course. Your data is your data. See Move your Discourse Instance to a Different Server for example.
If I were to export everything, where do you suggest I start?
What do you mean by “export everything”?
You could export everything via backup.
Each backup contains all the tables of all the data on the site.
Data export (via admin dashboard) instead is done to export pre-established tables, for example in the user table you will find username, name, email, title, trust level, user status and other useful information.
Thank you @Dax. Great. I think I will plan to export through backup.
Do we need to be on a certain version to import the data correctly?
It is always a good thing to have Discourse updated to the latest version before running and downloading a backup.
Thanks @dax. Ok so I need to export the discourse-hosted instance and import it into our server. Since I’m currently discourse-hosted, is my instance currently on the most recent version?
My devops teammate is helping me with this install. Does anyone have updated instructions ^? The read me hasn’t been updated in 2 years, and the install instructions have completely changed since then.
In the dockerhub it says you can do
docker pull discourse/base (which is 100x easier than building it), but it says the image doesn’t exist.
The install guide was last updated last month. Just follow it, we always test and ensure it’s working.
Hey, thanks @Falco. I think we are talking about the docker-discourse read me. It says this one hasn’t been updated in two years. Do you have a link other than this one?
That repository handles creating the base docker image that will be used in the official guide. It is of no use for someone who just want to self-host Discourse.
Just follow our official install documentation at discourse/INSTALL.md at master · discourse/discourse · GitHub