This forum is no longer active. Please post your questions to our new community site
Restoring MediaWiki-Stack
|
|
Is it possible to restore the complete mediawiki just from a copy of all files which have been installed on d:? |
|
|
Beware the stack and app start scripts have hard coded 8.3 paths. This can cause problems. Just copying your old folder backup to a new location may not work. Your path may have been C:\Program Files\Bitnami Wampstack\. During install, bitnami creates the start and install service scripts, using the old-school DOS bat compatible 8.3 path which might be something like C:\PROGRA~1\BITNAM~1\. I really wish they would have set an environment variable in the batch files which would have made it easy, for example, to change STACKROOT=D:\PROG~1\BITNAM~1\ and all would be good. Anyway, you might be able to locate the WAMP stack batch files in C:\Program Files\Bitnami Wampstack\, and the batch files they call in turn, then replace all paths with your D: drive 8.3 equivalent path. I think “dir /x” will display the 8.3 name. Also inspect the /apps/mediawiki/htdocs/LocalSettings.php for any C: drive paths that may need replacing. As for myself, I have moved to the LAMP stack. Windows is too hard to maintain. Once you recover ( I just wasted 4 days on recovering), schedule a task that does a mysqldump and a second mysqldump of bitnami_mediawiki with the -xml option. Also, if you allow Wiki uploading of images and files by the end users, you will need a backup of the htdocs folder to restore them. Hope this helps, -Ed |
|
|
Nice post, thanks Ed. |

