These instructions describe how to move MailArchiva and its data from one server to another
Directories#
There is no complex database replication procedure to perform. Copying
MailArchiva from one machine to another is as simple as copying a few
directories over to another machine (almost!).
(1) Install a clean copy of MailArchiva on the new server.
(2) Copy the following directories & files from the old server to the new server
Server Configuration#
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\conf\* (windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/conf/* (linux)
Logging Configuration#
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\classes\log4j.xml (windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/classes/log4j.xml
License File (EE only)#
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\classes\license.lic (windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/classes/license.lic
Audit & Log Files#
C:\Program Files\MailArchiva\server\logs\* (windows) /usr/local/mailarchiva/server/logs/* (linux)
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\logs\* (windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/logs/* (linux)
C:\Program Files\MailArchiva\server\webapps\ROOT\WEB-INF\logs\index\* (windows)
/usr/local/mailarchiva/server/webapps/ROOT/WEB-INF/logs/index* (linux)\
Volumes#
Copy all files in all volume store paths and index paths
(copying indexes over is optional)
Since there are potentially a large number of files in the store path,
on Linux when using the cp command you may receive the errors "too many
arguments"
To workaround this, follow one of the methods in the following article: http://www.linuxjournal.com/article/6060
source: http://itdnext.blogspot.ca/2012/04/how-to-move-mailarchiva-and-its-data.html
No comments:
Post a Comment