I dont use Ubuntu but the overall idea is same:
Based on which database you used and i am assuming MYSQL here, do the following:
- when you did the initial install and after its sucessfull completion there is a file called "iRedMail.tips" created and placed in the src directory of the iredmail.x.x.x untar'd directory. It gives you the details of where the :
configuration files are, the mail storage and its path, certifcates etc:
Apache & PHP:
* Configuration files:
This is just one of the thousands of backup scripts around to help you start backing up your databases
and use this to finish up your restore to a seperate server.
There are some useful stuff in: iRedMail-0.6.0-rc1/dialog and its preceding directory.
Its amazing what happens when you look