<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
if the new setup is _identical_ (including IP information) to the old
one (paths, opencms version, configuration) it should be working as a
simple copy (and overwrite) action. Just overwrite the database and the
app directory of the new server with the data from the old one. After
shutting down mysql ("mysql stop") you can simply tar ("tar -zcf
mydatabase.tar.gz /var/lib/mysql/$database") the database and untar it
on the target server. You should migrate the opencms directory too to
be sure that the whole configuration is identical because otherwise
opencms might have problems reading modified objects.<br>
<br>
So:<br>
  1.) Do a full setup on the new server<br>
  2.) Shut down tomcat and mysql (on both servers)<br>
  3.) Overwrite the target server with the files from the current one
(mysql, opencms). If IP information has changed take a closer look at
the contents of (var/lib/tomcat/webapps/opencms/WEB-INF/conf/*).<br>
  4.) Check "opencms/WEB-INF/conf/opencms.properties" if the database
config does fit the new environment<br>
  5.) Check "opencms/WEB-INF/conf/opencms-system.xml" if the mailhost
config and site config is still ok<br>
  6.) Startup the new server.<br>
<br>
br,<br>
Philip<br>
<br>
Jaleel, Jehan wrote:
<blockquote
 cite="mid6E43574E3326BB44BD95FDCF2C59827E01DB42CF@HFEXNY1.HARRYFOX.COM"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
  <style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
  </style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Hi all,<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">         
When you first install opencms on your app server it prompts you for
the
database information, when you provide it with this, it then creates
the
opencms database tables.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">         
I was wondering if there was anyway to install opencms on top of an
existing
opencms database. My problem is that I already have opencms running on
one
server but I want to move it to a different server, meantime I do not
want to
lose all my data. I want the new installation to user the old
installation’s
tables. Is this possible.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Thanks in
advance for any help,<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Jehan<o:p></o:p></span></font></p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
<br>
</body>
</html>