Jump to content

Recommended Posts

Short :

 

By Accident My Prestashop Site Root Deleted with all the server side files. :mellow:

But I Have My Database Safe

 

Help :

 

How to Install Prestashop in the existing database , or is it important to have the database (what things are in database ? <_< )

 

thanks

Edited by Venky18 (see edit history)
Link to comment
Share on other sites

First of all, BACKUP your database, just in case, and make sure you can restore.

2nd, does your host make backups?? Maybe they can help to restore anything. Would be the best option :-)

 

 

If nothing helps...

 

What you can do is install PS with a NEW database first, and then change the database in the config/settings.inc.php file

 

define('_DB_SERVER_', 'localhost');

define('_DB_NAME_', '<your old database name>');

define('_DB_USER_', '<your old database user>');

define('_DB_PASSWD_', '<your old database password>');

define('_DB_PREFIX_', 'ps_');

 

I hope you know all this info. Especially the password...

 

Anyone, does he need to change more than this?? Tokens, RIJNDAEL KEY etc??

 

My 2 cents,

pascal

  • Like 2
Link to comment
Share on other sites

First of all, BACKUP your database, just in case, and make sure you can restore.

2nd, does your host make backups?? Maybe they can help to restore anything. Would be the best option :-)

 

 

If nothing helps...

 

What you can do is install PS with a NEW database first, and then change the database in the config/settings.inc.php file

 

define('_DB_SERVER_', 'localhost');

define('_DB_NAME_', '<your old database name>');

define('_DB_USER_', '<your old database user>');

define('_DB_PASSWD_', '<your old database password>');

define('_DB_PREFIX_', 'ps_');

 

I hope you know all this info. Especially the password...

 

Anyone, does he need to change more than this?? Tokens, RIJNDAEL KEY etc??

 

My 2 cents,

pascal

 

By The Way , I Placed an Restore order , but they charged me around 17 $ for automated backup restore !

 

:wacko:

Link to comment
Share on other sites

Sometimes we learn the hard way... :[

Glad it's solved. Start making your own backups, also of your databases! (Keep a few 'older versions, don't overwrite your single one (every time keep the last 3 backups or so)

 

Good luck with your shop!

Pascal

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...