Your database dump includes the email addresses and password hashes of
users. You probably don't want to make it publicly available.
Anyway, MediaWiki stores images on the file system, rather than in the
database, so if you don't have a dump of the files, they're gone for
good.
On Wed, May 20, 2015 at 5:16 AM, Ilias Miroslav <Miroslav.Ilias(a)umb.sk> wrote:
Hi again,
well, in between it got fixed; I had to use the proper database name.
Only minor issue is remaining: pictures were not properly converted, hope I find some
solution.
Miro
________________________________________
From: mediawiki-l-bounces(a)lists.wikimedia.org [mediawiki-l-bounces(a)lists.wikimedia.org]
on behalf of Ilias Miroslav [Miroslav.Ilias(a)umb.sk]
Sent: Wednesday, May 20, 2015 8:04 AM
To: mediawiki-l(a)lists.wikimedia.org
Subject: [MediaWiki-l] restoring old database for the current wiki
Dear experts,
I am trying to restore this database into currecnt MediaWiki, which cca 4 years old,
http://dirac.umb.sk/doc/old_mediawiki/chem-wiki-dbs.sql .
Though the simple database check seems fine:
[root@dirac old_mediawiki]# mysqlcheck -u root -p chem-wiki-dbs.sql
Enter password:
chem-wiki-dbs.sql.interwiki OK
MediaWiki is giving error, however:
[root@dirac mediawiki119]# php maintenance/update.php --conf LocalSettings.php
MediaWiki 1.19.24 Updater
Going to run database updates for chem-wiki-dbs.sql
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ... 0
...ipblocks table does not exist, skipping new field patch.
...ipblocks table does not exist, skipping new field patch.
...already have interwiki table
Missing rc_timestamp field of recentchanges table. Should not happen.
Backtrace:
#0 [internal function]: MysqlUpdater->doIndexUpdate()
#1 /usr/share/mediawiki119/includes/installer/DatabaseUpdater.php(281):
call_user_func_array(Array, Array)
#2 /usr/share/mediawiki119/includes/installer/DatabaseUpdater.php(244):
DatabaseUpdater->runUpdates(Array, false)
#3 /usr/share/mediawiki119/maintenance/update.php(121):
DatabaseUpdater->doUpdates(Array)
#4 /usr/share/mediawiki119/maintenance/doMaintenance.php(105):
UpdateMediaWiki->execute()
#5 /usr/share/mediawiki119/maintenance/update.php(151):
require_once('/usr/share/medi...')
#6 {main}
see
http://dirac.umb.sk/doc/old_mediawiki/mediawiki119/
and also on
[root@dirac mediawiki-1.24.2]# php maintenance/update.php --quick
MediaWiki 1.24.2 Updater
Going to run database updates for chem-wiki-dbs.sql
Depending on the size of your database this may take a while!
Turning off Content Handler DB fields for this part of upgrade.
...ipblocks table does not exist, skipping new field patch.
...ipblocks table does not exist, skipping new field patch.
...already have interwiki table
[e79bd3e1] [no req] Exception from line 353 of
/var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/includes/installer/MysqlUpdater.php:
Missing rc_timestamp field of recentchanges table. Should not happen.
Backtrace:
#0 [internal function]: MysqlUpdater->doIndexUpdate()
#1
/var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/includes/installer/DatabaseUpdater.php(442):
call_user_func_array(array, array)
#2
/var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/includes/installer/DatabaseUpdater.php(403):
DatabaseUpdater->runUpdates(array, boolean)
#3
/var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/maintenance/update.php(163):
DatabaseUpdater->doUpdates(array)
#4
/var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/maintenance/doMaintenance.php(101):
UpdateMediaWiki->execute()
#5
/var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/maintenance/update.php(206):
require_once(string)
#6 {main}
see
http://dirac.umb.sk/doc/old_mediawiki/old_releases/mediawiki-1.24.2/
Any help, please ?
Miro
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l