Using back up - putting it in new folder

Hello

I am looking at the possibility of using my back up DB and Suite CRM files and just putting them in a different folder as the current one which seems to be giving me issues.

It has been a week since the back up, and the idea if to keep the bad one, and the back up running at the same time.

Why, we can slowly re-enter the entries made into the newly backed up version.

BUT, while i can easily rename the DB a new name, and copy the files over to a new folder.:

I have to tell SuiteCRM the new DB name. How can I do this? Is there a file in SuiteCRM that I cna update the DB name/PW?

Besides that, are there other things to do so that it will work?

Thanks

JOseph

Hi,

You can change the database details that the CRM uses in the file: config.php

In this file, Look for the ‘dbconfig’ array.
This contains :
array (
‘db_host_name’ => ‘’,
‘db_host_instance’ => ‘’,
‘db_user_name’ => ‘’,
‘db_password’ => ‘’,
‘db_name’ => ‘’,
‘db_type’ => ‘’,
‘db_port’ => ‘’,
‘db_manager’ => ‘’,
),

Fill these in with the relevant information.

I would also recommend changing the value for ‘site_url’
This can also be found in config.php, make sure that you update it so that the URL is appropriate and correct for the instance