Forums | Mahara Community

Support /
How can I find the DataRoot of an existing installation?


anonymous profile picture
Account deleted
Posts: 14

14 February 2012, 9:02

I inherited a server with Mahara 1.4 on Debian.  I want to start an automated backup routine using this solution:

(https://mahara.org/interaction/forum/topic.php?id=687)

 

However I have zero documentation for the installation.  How can I find the dataroot folder and the postrges database name and (if possible) credentials?

anonymous profile picture
Account deleted
Posts: 3

14 February 2012, 12:23

If your using apache, you should go to the apache conf dir, in ubuntu server the full path is /etc/apache2/conf.d/mahara . There you should have an Alias directive, or a VirtualHost block, depending on the configuration. That will tell you what the mahara "root" dir is located. In my case is:

Alias /mahara /usr/share/mahara

For database connection, you should have these file:

/usr/share/mahara/config.php

Inside search for

require('config.debconf.php');

// database connection details
// valid values for dbtype are 'postgres8' and 'mysql5'
 

Again, depending on your installation could be in config.php or in config.debconf.php

anonymous profile picture
Account deleted
Posts: 14

16 February 2012, 12:27

Perfect, thanks for your help.

 

As always, Mahara has one of the best support communities around.

3 results