Page 1 of 1

Restore xampp htdocs from hard drive recovery?

PostPosted: 03. May 2014 18:43
by spencerp
Hi, was wondering what's easy way to restore my htdocs / localhost copies from after hard disk failure, using old / original xampp / htdocs folders and files and database folders / files? Like...

c:\xampp\mysql\data - contents? which folders / files.
c:\xampp\htdocs\ - all contents
c:\anything else?

Re: Restore xampp htdocs from hard drive recovery?

PostPosted: 04. May 2014 13:22
by Nobbie
spencerp wrote:c:\anything else?


Depends on you and your installation. If you changed (for example) Apache config files, you also have to restore these (usually from c:/xampp/apache/conf). If you changed mysql configuration, you have to restore this (mysql/bin/my.ini or mysql/bin/my.cnf).

If you changed php.ini (from c:/xampp/php), you have to restore this as well. If you changed phpmyadmin..... and so on. If you have ALIAS inside your Apache configuration which yields outside of htdocs, you have to restore this as well.

Etc., etc., etc. ... there is no unique answer to your question.

Re: Restore xampp htdocs from hard drive recovery?

PostPosted: 05. May 2014 01:45
by spencerp
Nobbie wrote:
spencerp wrote:c:\anything else?


Depends on you and your installation. If you changed (for example) Apache config files, you also have to restore these (usually from c:/xampp/apache/conf). If you changed mysql configuration, you have to restore this (mysql/bin/my.ini or mysql/bin/my.cnf).

If you changed php.ini (from c:/xampp/php), you have to restore this as well. If you changed phpmyadmin..... and so on. If you have ALIAS inside your Apache configuration which yields outside of htdocs, you have to restore this as well.

Etc., etc., etc. ... there is no unique answer to your question.


Thanks for reply, I guess I was mainly looking for quick specifics of the "HOW TO" do it, just basic restoring htdocs folder with files and the databases. If I need to make tweaks later to mysql or apache conf files I'll do them later on. Just really want to know how to restore htdocs and databases only at moment? The one forum software I use mainly uses InnoDb for its engine, along with MyISAM