<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; Migrations</title>
	<atom:link href="http://wiki.centos-webpanel.com/category/migrations/feed" rel="self" type="application/rss+xml" />
	<link>http://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>cPanel to CWP server convert</title>
		<link>http://wiki.centos-webpanel.com/cpanel-to-cwp-server-convert</link>
		<comments>http://wiki.centos-webpanel.com/cpanel-to-cwp-server-convert#comments</comments>
		<pubDate>Sat, 24 Aug 2019 18:55:55 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Migrations]]></category>
		<category><![CDATA[cpanel-to-cwp convert]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1256</guid>
		<description><![CDATA[We have created several scripts which will convert your cPanel server into CWP. Last Update: 13.09.2021 How does this work? - First, we export from cPanel all user account details into temporary files so we can later import them into CWP. - Second, we create a backup of cPanel and uninstall it. - Third, we [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>We have created several scripts which will convert your cPanel server into CWP.<br />
Last Update: 13.09.2021</p>
<p><strong>How does this work?</strong><br />
- First, we export from cPanel all user account details into temporary files so we can later import them into CWP.<br />
- Second, we create a backup of cPanel and uninstall it.<br />
- Third, we install CWP, this is the regular CWP installation process.<br />
- Fourth, we import data into CWP from the exported files of the first step.</p>
<p><strong>REQUIREMENTS</strong><br />
- CentOS 7 latest version<br />
- MySQL 5.7+ or MariaDB (Recommended MariaDB)<br />
- Make sure you don't have any MySQL connection timeout limits<br />
- Change MySQL root password to something without special characters<br />
- Remove CloudLinux<br />
- Mailbox format should be maildir, those using mdbox will need to convert to maildir before removing cpanel<br />
<em>* Info about mailbox format you can check in WHM under Mailbox Conversion</em></p>
<p><strong>How safe is this?</strong><br />
- On the first step after the script run, you get information about exported data from the cPanel.<br />
- First script run doesn't make any changes to the system so you can check and confirm that all is covered.<br />
- User Accounts: All user files in /home/USERNAME are not touched so server accounts are safe.<br />
- MySQL Database: We don't make any MySQL changes on the databases so your databases are safe.<br />
- MySQL version: currently installed from cPanel is left without any changes.<br />
- User Home Files: nothing is touched except for migration of emails to /var/vmail folder.<br />
- Cronjobs are kept the same.<br />
** It's always smart to have account backups before starting with the major changes.</p>
<p><strong>Imported data</strong><br />
- User accounts, domains, subdomains, parked domains<br />
- Email accounts-mailboxes, forwarders-aliases, autoresponders-autoreply, alias pipe to script<br />
- Resellers<br />
- Hosting packages<br />
- FTP accounts<br />
- SSL Certificates<br />
- Hostname SSL Certificates for (cwp, mail, ftp, webservers)<br />
- All PHP versions (5.3 - 7.3) and we have added handlers of cPanel</p>
<p><strong>Not Imported</strong><br />
- Postgres databases</p>
<p><strong>Required:</strong><br />
- /var/vmail will be the new location for your emails so make sure /var partition has the required size or you can symlink it to /home/vmail</p>
<p><strong>FAQ</strong><br />
- How long this conversion takes: from 10min to 4h depends on the data and server performances<br />
- You should first remove CloudLinux (if you have it) before starting with step 1.</p>
<h3>Migration Instructions</h3>
<p><strong>Download migration scripts</strong></p>
<pre>wget dl1.centos-webpanel.com/files/s_scripts/el7/cpanel-converter/1-cpanel-data-export.sh

wget dl1.centos-webpanel.com/files/s_scripts/el7/cpanel-converter/2-cpanel-uninstall.sh

wget http://centos-webpanel.com/cwp-el7-latest

wget dl1.centos-webpanel.com/files/s_scripts/el7/cpanel-converter/4-import-into-cwp.sh

wget dl1.centos-webpanel.com/files/s_scripts/el7/cpanel-converter/5-mail-sni.sh
</pre>
<p><strong>Now run the first script</strong><br />
** If you have CloudLinux make sure it was removed before</p>
<pre>sh 1-cpanel-data-export.sh</pre>
<p>** Check that all data is listed there before proceeding to the next steep</p>
<p><strong>Uninstall cPanel</strong> (This can take long time)</p>
<pre>sh 2-cpanel-uninstall.sh</pre>
<p><strong>Install CWP (CentOS 7)</strong><br />
Default installer, bellow you have optional instructions</p>
<pre>sh cwp-el7-latest</pre>
<p>Optional arguments for installer</p>
<p>–phpfpm [5.3|5.4|5.5|5.6|7.0|7.1|7.2|7.3] (you can use only one)<br />
–softaculous yes (install softaculous – script installer)</p>
<p>Available short name arguments<br />
-p [5.3|5.4|5.5|5.6|7.0|7.1|7.2|7.3] (you can use only one)<br />
-s yes (install softaculous – script installer)</p>
<p>Example for centos 7 (you can combine short and long name arguments)</p>
<pre>sh cwp-el7-latest --phpfpm 7.2 --softaculous yes</pre>
<p><strong>Import all exported data into CWP</strong></p>
<pre>sh 4-import-into-cwp.sh</pre>
<p><strong>Generate Mail Certificates Postfix/Dovecot</strong></p>
<pre>sh 5-mail-sni.sh</pre>
<p>That is it, reboot the server and you are ready!</p>
<p><strong>OTHER NOTES &#038; SUPPORT</strong><br />
This tool is provided at no cost and without warranty.</p>
<p>If you need to migrate CentOS 6 it's recommended first to migrate all accounts on another cpanel server with CentOS7 and then convert CentOS7 to CWP7.</p>
<p>In case some of your clients don't get satisfied you can make a cpanel backup without the homedir for all users before starting cpanel removal so they can easily return to cpanel.</p>
<pre>for i in `cat /etc/trueuserdomains |awk -F: {'print $2'}`;do /scripts/pkgacct --skiphomedir $i /home;done</pre>
<p><strong>CloudLinux Uninstall</strong><br />
<a href="https://docs.cloudlinux.com/cloudlinux_installation/#uninstalling" title="cloudLinux Uninstall" target="_blank">https://docs.cloudlinux.com/cloudlinux_installation/#uninstalling</a></p>
<p><strong>Rebuild Named/Bind conf</strong><br />
In most cases you will need to rebuild /etc/named.conf file, we have an API here:<br />
<a href="/cwp-admin-api" title="CWP Admin API">wiki.centos-webpanel.com/cwp-admin-api</a></p>
<p><strong>ISSUES: MAIL MIGRATION (Optional)</strong><br />
In case of failed migration of emails you can run this command</p>
<pre>for i in `find /home/*/mail/* -type d -maxdepth 0 -name "*.*"`;do mv $i /var/vmail/;done</pre>
<p>** After that make sure you do API command to fix mail permissions</p>
]]></content:encoded>
			<wfw:commentRss>http://wiki.centos-webpanel.com/cpanel-to-cwp-server-convert/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CWP to CWP account migration</title>
		<link>http://wiki.centos-webpanel.com/cwp-to-cwp-account-migration</link>
		<comments>http://wiki.centos-webpanel.com/cwp-to-cwp-account-migration#comments</comments>
		<pubDate>Thu, 22 Mar 2018 22:56:53 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Migrations]]></category>
		<category><![CDATA[cwp-cwp migration]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=944</guid>
		<description><![CDATA[Please use the new instructions from this website https://docs.control-webpanel.com/docs/admin-guide/user-accounts/cwp-to-cwp-migration]]></description>
				<content:encoded><![CDATA[<p>Please use the new instructions from this website<br />
<a href="https://docs.control-webpanel.com/docs/admin-guide/user-accounts/cwp-to-cwp-migration" title="CWP-to-CWP migration" target="_blank">https://docs.control-webpanel.com/docs/admin-guide/user-accounts/cwp-to-cwp-migration</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wiki.centos-webpanel.com/cwp-to-cwp-account-migration/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to migrate account from Webuzo</title>
		<link>http://wiki.centos-webpanel.com/how-to-migrate-account-from-webuzo</link>
		<comments>http://wiki.centos-webpanel.com/how-to-migrate-account-from-webuzo#comments</comments>
		<pubDate>Fri, 27 Feb 2015 18:23:54 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Migrations]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[webuzo]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=96</guid>
		<description><![CDATA[Migration of the account from Webuzo is pretty simple. 1. Create a New account in your CWP.admin (its suggested to use database prefix as a username) 2. Unpack Webuzo backup file in the public_html folder of new created account 3. In CWP make database and user (for wordpress check wp-config.php file and use the same) [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Migration of the account from Webuzo is pretty simple.</p>
<p>1. Create a New account in your CWP.admin (its suggested to use database prefix as a username)<br />
2. Unpack Webuzo backup file in the public_html folder of new created account<br />
3. In CWP make database and user (for wordpress check wp-config.php file and use the same)<br />
4. now using phpMyAdmin you can import database, this is file named softsql.sql</p>
<p>That would be it.</p>
<p>From command line as root you can import database using the following command</p>
<p><code>mysql DATABASE_NAME < FILE_NAME.sql</code></p>
<p><strong>Migration Using Softaculous PREMIUM</strong><br />
Restore through softaculous(premium) backup restore functionality works for migration from webuzo to CWP.<br />
1. need account username to be the same same<br />
2. need softaculous premium version.<br />
3. move backup files to home/USERNAME/softaculous_backups<br />
4. create addon domains<br />
5. restore backup through softaculous restore functionality</p>
]]></content:encoded>
			<wfw:commentRss>http://wiki.centos-webpanel.com/how-to-migrate-account-from-webuzo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to migrate account from cPanel</title>
		<link>http://wiki.centos-webpanel.com/how-to-migrate-account-from-cpanel</link>
		<comments>http://wiki.centos-webpanel.com/how-to-migrate-account-from-cpanel#comments</comments>
		<pubDate>Tue, 24 Feb 2015 23:42:07 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Migrations]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[cpanel migration]]></category>
		<category><![CDATA[cwp migration]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=65</guid>
		<description><![CDATA[Detailed instructions on how to migrate account from a cPanel to the CWP ON THE CPANEL SERVER In your cPanel account create the account backup. Prepare cPanel account backup - go to Files --> Backups --> Download a Full Website Backup (then wait for backup to complete) ** For backup destination choose "Home Directory". Move [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>Detailed instructions on how to migrate account from a cPanel to the CWP</strong></p>
<p><strong>ON THE CPANEL SERVER</strong></p>
<hr />
In your cPanel account create the account backup.</p>
<p><strong>Prepare cPanel account backup</strong><br />
- go to Files --> Backups --> Download a Full Website Backup (then wait for backup to complete)<br />
** For backup destination choose "Home Directory".</p>
<p><strong>Move backup file to download-able location</strong><br />
- go to Files --> File Manager --> Select "Show hidden files" and go to your "/home/USERNAME" folder<br />
- right click on the backup fileName and choose "Change Permissions", set them to 644 so you can download the file.<br />
- Now again right click on the file name and select "Move" --> enter "public_html" for a destination.<br />
<em>Now you are ready to download the file by using your domain or the server name/IP.</em></p>
<p><strong>Faster way by using command line:</strong><br />
On the cpanel server create account backup file:</p>
<pre>/scripts/pkgacct USERNAME /usr/local/apache/htdocs/</pre>
<p>* this will create a backup file in folder /usr/local/apache/htdocs/ named as <strong>cpmove-USERNAME.tar.gz</strong></p>
<p>You can download that file to the CWP server from cpanel by using wget and server IP address, example:</p>
<pre>wget http://111.112.113.114/cpmove-USERNAME.tar.gz</pre>
<p><strong>ON THE CWP SERVER</strong></p>
<hr />
<strong>You can download the file in a few ways, but lets use only a few most common ones</strong><br />
- Download it by using your domain, this will work only if you still have a domain pointed to the cPanel server.<br />
- Download it by using a mod UserDir, this will work only if the cPanel server admin has enabled this function, in most cases its enabled.</p>
<p>On your CWP server login as root user via shell<br />
- go to home folder "<strong>cd /home</strong>"</p>
<p>Now let say that we will us a domain download<br />
- in CWP shell enter "wget domain.com/filename.tar.gz" and wait until its downloaded.</p>
<p>For mod UserDir you will need to know the server name or the server IP address and cPanel username.<br />
- In CWP shell enter "wget ipAddress/~USERNAME/filename.tar.gz"</p>
<p><em>If you can't access the files in any of the above mentioned ways then you should contact the cPanel hosting provider if they can provide you with the download link of your account.</em></p>
<p><strong>Now to restore the account on the CWP server follow this instructions:</strong><br />
- at your CWP.admin go to Left Menu --> User Account --> cPanel Migration<br />
- in the CWP.admin migration module enter the username of the account you want to restore,<br />
--> next, select the file name you want to restore,<br />
--> next, your details will get filed with the data from the account and <strong>you need to enter the admin email address</strong>.<br />
and that is it, the account should be restore now.</p>
]]></content:encoded>
			<wfw:commentRss>http://wiki.centos-webpanel.com/how-to-migrate-account-from-cpanel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
