Files
sourceforge-ossez/oss/vtiger/trunk/migrationInstructions.html
YuCheng Hu 7c1af5f559 添加到 trunk
+YUCHENG HU+

git-svn-id: https://svn.code.sf.net/p/hawebs/svn@246 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
2010-06-13 04:46:09 +00:00

54 lines
2.0 KiB
HTML

<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
********************************************************************************/
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta content="">
<style>
body{
font-family: Verdana;
font-size:11px;
line-height: 14px;
}
.helpmessagebox {
background-color: #FFFBCF;
padding: 2px;
margin: 2px 0 2px 0;
border: 1px solid yellow;
}
dl, dd {
padding: 5px 0 5px 10px;
margin: 0;
}
</style>
</head>
<body bgcolor='white'>
<p style='font-size:15px;font-family:Verdana;'><b>Pre Migration Notes:</b> <span style='color: red; font-size: 11px;'>[Important]</span></p>
<b>Backup Your Database</b><br><hr noshade size=1>
<dl>
<dd> Please make sure to backup your database before proceeding with migration.
</dd><dd> <pre class='helpmessagebox'>Example:
mysqldump &lt;database&gt; -P &lt;port&gt; -u &lt;username&gt; -p &gt; vtigerdbdump.sql</pre></dd></dl>
<b>Setup New Database</b> <span style='color: green; font-size: 11px;'>[Recommended]</span> <br><hr noshade size=1>
<dl><dd>If you want to keep your working installation un-disturbed, setup new database and <br>copy the data from your earlier install. Provide this new database name during the migration step.
</dd><dd><pre class='helpmessagebox'>Example: mysql -P &lt;port&gt; -u &lt;username&gt; -p
mysql&gt; CREATE DATABASE newdatabase DEFAULT CHARSET UTF8;
mysql&gt; USE newdatabase
mysql&gt; source path_to_vtigerdbdump.sql</pre></dd></dl>
</body>
</html>