473,320 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Restoring php nuke db after crash

Greetings.

I was running PHP Nuke on a Win2k box using Apache2Triad. Fortunately I
backed up the drive using windows backup prior to the hard drive failure.

Now I have installed Apache2Triad on another machine and wish to reimport
the mySQL database that PHP Nuke relies upon. If anyone can tell me how to
do this I would be very grateful.

Thanks in advance.
Jul 20 '05 #1
2 2337
OK. So it seems there is a directory: c:\apache2\mysql\data\nuke which has
mysql tables for nuke. Do I just replace this whole directory with the one
from backup? Or should I replace the whole htdocs directory? Do I need to
stop all mysql and apache services prior to doing this?

"steve" <Us************@dbForumz.com> wrote in message
news:41**********@news.athenanews.com...
"Yair Sageev" wrote:
> Greetings.
>
> I was running PHP Nuke on a Win2k box using Apache2Triad. Fortunately
> I
> backed up the drive using windows backup prior to the hard drive
> failure.
>
> Now I have installed Apache2Triad on another machine and wish to
> reimport
> the mySQL database that PHP Nuke relies upon. If anyone can tell

me
> how to
> do this I would be very grateful.
>
> Thanks in advance.


I gather that you have a disk image of your mysql database. If so,
then simply create a database with the same name as before, and copy
all the files into it from your backup. Then you would have to repair
all the tables inside, and you are done.

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL:

http://www.dbForumz.com/mySQL-Restor...ict145109.html Visit Topic URL to contact author (reg. req'd). Report abuse:

http://www.dbForumz.com/eform.php?p=485720
Jul 20 '05 #2
"Yair Sageev" wrote:
OK. So it seems there is a directory: c:\apache2\mysql\data\nuke which has
mysql tables for nuke. Do I just replace this whole directory with
the one
from backup? Or should I replace the whole htdocs directory? Do I
need to
stop all mysql and apache services prior to doing this?

"steve" <Us************@dbForumz.com> wrote in message
news:4134f9d1

_6@news.athenanews.com...
"Yair Sageev" wrote:
> Greetings.
>
> I was running PHP Nuke on a Win2k box using Apache2Triad.

Fortunately
> I
> backed up the drive using windows backup prior to the hard drive > failure.
>
> Now I have installed Apache2Triad on another machine and wish to > reimport
> the mySQL database that PHP Nuke relies upon. If anyone

can tell
me
> how to
> do this I would be very grateful.
>
> Thanks in advance.


I gather that you have a disk image of your mysql database. If

so,
then simply create a database with the same name as before, and

copy
all the files into it from your backup. Then you would have to

repair
all the tables inside, and you are done.

--
http://www.dbForumz.com/ This article was posted by

author’s request
Articles individually checked for conformance to usenet standards
Topic URL:

http://www.dbForumz.com/mySQL-Restor...ict145109.html
Visit Topic URL to contact author (reg. req’d). Report

abuse:
http://www.dbForumz.com/eform.php?p=485720


Yair, just replace the data directory (nuke) with the backup. And
then you have to issue mysql "repair" command on all the tables, one
at a time (yikes).

Good idea to shut down mysql as well.

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/mySQL-Restor...ict145109.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=486670
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dan Finn | last post by:
OpenBSD 3.2 Apache 1.3.26 PHP 4.3.4 PHP-Nuke 6.9 getting these in the apache error log: Sun Nov 16 20:20:16 2003] PHP Notice: Undefined variable: HTTP_USER_AGENT in...
1
by: Sean | last post by:
Hello - I'm calling for help from all the PHP users. I have been playing around with: Post Nuke & Guppy - ok - so I'm not a pro! I'm looking for other type applications or scripts that can...
1
by: Ranga | last post by:
Is it possible to simply grab a module from an existing page? To clarify, I've got a htm frames site that I want to use in conjunction with PHP-Nuke. The site is already up and running, and...
0
by: Doug | last post by:
I was contemplating using php-nuke for a project. On the positive side, it would make it easier to add new modules, and has many new modules already installed. I'm not sure if the security part...
2
by: Yair Sageev | last post by:
Greetings. I was running PHP Nuke on a Win2k box using Apache2Triad. Fortunately I backed up the drive using windows backup prior to the hard drive failure. Now I have installed Apache2Triad...
0
by: Amit | last post by:
I am new in the world of dot net nuke and so i need help from you all to resolve this issue.As i have custom designed one project in dot net nuke and published the site but i am facing very unique...
1
by: Marco tecnico | last post by:
Hi NG, i have a problem. I have finished building up a PHP Nuke 7.9 portal and would like to insert in a page my Flash movie. I did it in the past on another site in Php Nuke but i can't remeber...
3
by: Robert Michel | last post by:
I would like to add a Citrix login page to my Dot Net Nuke site. I am currently using Dot Net Nuke 4 and the Citrix Web Interface version 4. I would like to add a page to my DNN site allowing me...
1
by: happyperson | last post by:
Hi All, I want to have a news and product review website. I want an RSS feed, online forum, article submission section, and possibly down the road the ability to upload/download music to this...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.