Forums | Mahara Community

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

R O's profile picture
Posts: 14

14 February 2012, 9:02 AM

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



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

Ale Feltes's profile picture
Posts: 3

14 February 2012, 12:23 PM

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:


Inside search for


// 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

R O's profile picture
Posts: 14

16 February 2012, 12:27 PM

Perfect, thanks for your help.


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

3 results