Computer crashed before site uploaded. Saved dB, but now what?

daneesia - March 22, 2008 - 03:28

Hi all.

I have been creating a site off line on a local computer.

I have been backing up the database every night (thank god), but now the laptop that I was developing on burnt out.

At one point I backed up all the drupal files, but I can not be sure if I had the latest modules.

What do I need to do to continue developing my site on another computer?

If it matters, I am using the latest Drupal (6.1), MySQL 5, PHP 5, and Apache 2.2. I don't have any dB admin software and did the dB dumps using

mysqldump --add-drop-table -p DATABASENAME --user=DATABASEUSER --password=DATABASEPASSWORD > /FULL/PATH/TO/ROOT/MYBACKUP.SQL

What are the steps I need to take to get my site back up?

Thanks in advanced,

D

Never mind...I was able to recover

daneesia - March 22, 2008 - 08:07

I basically simply re-created the dB using the Drupal install instructions (for a new dB), then restored the dB information, then I copied the Drupal files over (forgetting .htaccess at first since it was hidden) and everything worked "like magic".

Note if you run into the situation where you had a site using clean URLs, don't forget to copy the normally hidden file .htaccess.

Dan

 
 

Drupal is a registered trademark of Dries Buytaert.