Jump to content

Topic on Project:Support desk/Flow

Home-wiki is lost... How to restore it?

4
Infovarius (talkcontribs)

I've had a MediaWiki installed on my PC for several years and been constantly using it. I've stored quite a lot personal information in it. And several days ago all was (probably) lost! The version of MW was quite old (either 1.9.3, or less probably 1.16.5), several days I had problems with access to MySQL and phpMyAdmin and so I've tried to upgrade but apparently did everything wrong. My actions which I can recall were like:

0 I had Xampp 1.6.0 on Windows 7 in directory c:\xampp
  1. I've installed a new version of Xampp in c:\xampp-new
  2. After I discovered that xampp-control is doing something bad (not remember exactly now), I've moved old distribution to c:\xampp-old and a new one to c:\xampp.
  3. I've installed Bitnami Mediawiki 1.22.1 and it starts well but it was a new wiki.

After that I cannot find my old wiki files like *.MYD neither in mysql/data (in both xampp and xampp-old) nor even in deleted files (R-Studio shows suspiciously few deleted files on c:). The question is: where database of MediaWiki is stored (backuped? logged?) on computer? Can I restore home-wiki in some way?..

88.130.84.250 (talkcontribs)

Hi!

As to what you write I think that all your data is still there. In XAMPP the MySQL data is by default saved in mysql/data. So in your case this data should be in c:\xampp-old\mysql\data.

You can get the data out of the old server with the tool mysqldump (maybe you have to move the folder back to c:\xampp for that to really work correctly). Then put the new version of XAMPP in place again and use the new version of mysql to import the database dump again.

Infovarius (talkcontribs)

Thanks for reply. Strange but there isn't data in c:\xampp(old/new)\mysql\data... May be I accidentally checked some "don't keep data" checkbox when uninstalling old MediaWiki distribution... I don't remember.

88.130.100.168 (talkcontribs)

How have you uninstalled MediaWiki?

The folder mysql\data\ contains subfolders for each database. If there is none with the name of your wiki database, the data has been deleted.