Restore xampp htdocs from hard drive recovery?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Restore xampp htdocs from hard drive recovery?

Postby spencerp » 03. May 2014 18:43

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?
spencerp
 
Posts: 7
Joined: 05. November 2008 04:20

Re: Restore xampp htdocs from hard drive recovery?

Postby Nobbie » 04. May 2014 13:22

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.
Nobbie
 
Posts: 8772
Joined: 09. March 2008 13:04

Re: Restore xampp htdocs from hard drive recovery?

Postby spencerp » 05. May 2014 01:45

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
spencerp
 
Posts: 7
Joined: 05. November 2008 04:20


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 51 guests