Best practice forum (Archived)

How To? - Overlay one Totara instance over another

 
John Unnever
How To? - Overlay one Totara instance over another
by John Unnever - Tuesday, 9 August 2016, 7:52 AM
Group Partners

Hello! 

In our existing LMS, we often take our production database and overlay it into our test environment when we have issues we want to test, etc.   Does anyone have experience with this type of process in Totara?  Can we simply export the production db into our test db and copy the production /sitedata folder into the test instance?   Just wondering if there was any gotcha's or specific steps that might need to be done in order to complete this successfull or if these 2 steps are all that would be needed.

 

Peter Pappas
Re: How To? - Overlay one Totara instance over another
by Peter Pappas - Tuesday, 9 August 2016, 9:42 PM
 

Hi John,

I am not sure I understand you completely but what I do on a test server is copy the entire domain over to a test environment. You would need to copy the webroot (including all the custom plugins you have), the Totaradata directory, the Totara database, adjust your config.php for the new environment, Totara has a built in tool for replacing the URL in the database that works very well located at /admin/tool/replace/.

You may want to talk to your web admin when setting this up just in case you have any additional scripts in the user directory that need to be included (wkhtmltopdf comes to mind). Hope that helps.


Peter