Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Especially a way that could preserve special LaTeX formatting?

share|improve this question
Ah, so you want Data Liberation to come to Stack Exchange? – Al E. Sep 27 '12 at 13:23
Especially useful since we cannot retrieve our answers to deleted questions. Totally stupid decision from Jeff Atwood to refuse it. So we need to backup the content we created, since we cannot rely on StackExchange to do so. – Franck Dernoncourt Nov 26 '13 at 17:31
@FranckDernoncourt Relying on StackExchange in general has become difficult... what is the answer? The powers-that-be are remaining rather quiet‌​. How can this concern be addressed? – HostileFork Mar 2 '15 at 23:07
@HostileFork IDK, but yeah certainly there is no respect for user-content here. – Franck Dernoncourt Mar 2 '15 at 23:52
up vote 8 down vote accepted

At the moment, the easiest way is to download the data dumps. Getting the data out of that then becomes a problem (query on your user number for each site), but the easiest way to get ahold of the data, especially with all formatting intact, is to download the dumps.

You can also write a script using the API to do the same thing, but that's more work up front. However, you'll only get what you need, whereas the data dump gives you much more than you need. You can peruse the library of existing apps built on the API to help you get close to what you want.

There are many other ways to grab the data, but the engine actively resists robots and screen scrapers, so it's harder to get the data off the site using normal site grabbing tools.

share|improve this answer
Doesn't this only cover graduated sites? All of the sites I'm most active on are beta sites. – hippietrail Sep 27 '12 at 5:32
The dump indeed only covers "all public non-beta Stack Exchange Sites" (source). – Franck Dernoncourt Nov 26 '13 at 17:42

You can use the Data Explorer and run this query:

-- Display all questions+answers of a given user

DECLARE @UserId int = ##UserId##

SELECT Posts.Body
FROM Posts
WHERE Posts.OwnerUserId = @UserId

The main issue is that it needs to be run for each Stack Exchange website you want to retrieve your questions+answers from, which can be pretty tedious to do. Also, the output is in CSV format.

share|improve this answer
I entered my userID but none of my own questions are coming up, how exactly do I do this? can you please provide more detail? – Jonathan Apr 15 at 17:32
@Jonathan Did you choose a Stack Exchange website where you posted a question? If so, keep in mind that the data explorer is updated only once a week approximately. – Franck Dernoncourt Apr 15 at 21:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .