xampp - Restoring a wiki website from a SQLite backup -
a portable wiki had setup physically damaged in flashdrive resided in. thankfully, made backups of files found in "g:\xampp\htdocs\wiki\cache". i'm having difficulty restoring use in new wiki.
i set things using tutorial , haven't made changes exception of minor wiki extensions. http://lifehacker.com/354005/run-your-personal-wikipedia-from-a-usb-stick
i found , backed 2 files in 'cache' folder prior this.
.htaccess
(which i'm assuming can replaced) [1 kb]wikiname.sqlite
(is hope pages stored) [7,863 kb]
i sincerely hope second contains of old wiki's content. able read of opening file .txt editor. unfortunately, .sqlite file unreadable via program.
to read data sqlite database should use sqlite browser; google you find one.
so, in case database complete , not damaged, should able restore wiki. first: make copy of backup, if went wrong :) after it, setup new wiki latest stable version (btw: version did used wiki?), @ moment mediawiki 1.24.2, , use sqlite database connection.
after creating new database file, replace backup , should able access wiki. maybe, depending on version used before, need run update script (in console php maintenance/update.php --quick
or update script in web browser http:/yourwiki/mw-config/).
Comments
Post a Comment