I have to perform backup from wikimedia database and import that data into postgresql. I was googling about it but got no solution.
I am not asking for solution here. All I want is idea that how I can copy data from wikimedia and import the same into postgresql. Of course data will be in xml format.
I know it might be wrong question but what's wrong in try.
mwdumper.jarfrom [here][1] with:java -jar mwdumper.jar --format=sql:1.4 acurrentpagesxmldump.bz2 > thesqlcommand.sqland a different output with:java -jar mwdumper.jar --format=sql:1.4 acurrentpagesxmldump.bz2 > thesqlcommand5.sqlproduces an SQL command, possibly valid for PostgreSQL. Not validate since this requires the creation of tables which I have not created [1]: code.google.com/archive/p/wikitrust/downloads