Control Web Panel

WebPanel => Migration from other control panels => Topic started by: Administrator on November 09, 2014, 06:50:01 PM

Title: Migrate account from cPanel server
Post by: Administrator on November 09, 2014, 06:50:01 PM
If you need to migrate account from the cpanel server, you can do that very fast from the control panel.

Steeps
1. Upload cpmove/backup file in the /home folder
2. Goto Left Menu --> User Accounts --> cPanel Migration
3. enter username of the account which you want to restore (cpmove-USERNAME.tar.gz file must be in the /home folder)
4. select cpmove-USERNAME.tar.gz file to restore
5. enter domain, contact email and start restoring account
6. restore should be now done, if not successful the check bellow for the error solutions.

Known issues
1. cPanel backup file name must be named cpmove-USERNAME.tar.gz
2. Unpacked folder name must be cpmove-USERNAME

cPanel Migration Wizard restores the following
- All Files from public_html folder
- All MySQL databases
- All Users for the MySQL databases
Title: Re: Migrate account from cPanel server
Post by: ashokjp on November 21, 2014, 03:15:34 PM
This doesnot migrate emails ?
Title: Re: Migrate account from cPanel server
Post by: Administrator on November 23, 2014, 03:59:59 AM
it migrates only the specified above, with time it will be improved.
Title: Re: Migrate account from cPanel server
Post by: hostprairie on July 14, 2015, 08:03:21 AM
it migrates only the specified above, with time it will be improved.

Except it doesn't restore any of the following
- All Files from public_html folder
- All MySQL databases
- All Users for the MySQL databases

Only thing it does is creates user accounts which I can do rather easily myself. Honestly, you should probably not try to list this as a feature of your control panel because it is severely lacking.
Title: Re: Migrate account from cPanel server
Post by: muscator on August 06, 2015, 09:23:35 AM
Administrator writes under Known issues:

"Unpacked folder name must be cpmove-USERNAME"

I am not quite sure what you mean here? Do you want the cpmove placed in a folder called 'cpmove-username' and THEN restored?

Please advice.
Title: Re: Migrate account from cPanel server
Post by: jatinonline on October 15, 2015, 07:46:40 AM
Please provide Screenshot base tutorial,
Step 1 - How to take backup from Cpanel and upload in CWP.
Step 2 - How to Migrate account from cPanel server in CWP successfully.
Title: Re: Migrate account from cPanel server
Post by: docop on October 18, 2015, 02:25:03 AM
Indeed, the process just created a user account with folder on the server. But there's no file or so. I confirm too it's not working

 Basically, if we run a Wordpress site on a Cpanel, we should migrate all the sql and the wordpress file automatically up to the new server Centos.
 If you might have a picture tutorial it will be handy.
Thanks
Title: Re: Migrate account from cPanel server
Post by: Administrator on October 19, 2015, 05:18:38 AM
this instructions exist on the wiki
http://wiki.centos-webpanel.com/how-to-install-multiple-ssl-certificates-on-the-shared-ip
Title: Re: Migrate account from cPanel server
Post by: kerfiseining on March 26, 2016, 10:18:14 PM
Do not change the name backup-3.25.2016_19-18-17_USERNAME.tar.gz to cpmove-USERNAME.tar.gz that will not work.

Upload the backup-3.25.2016_19-18-17_USERNAME.tar.gz to /home folder
and then do the cPanel Migration and search for USERNAME.
Title: Re: Migrate account from cPanel server
Post by: rlara on June 27, 2016, 06:01:32 PM
hello
How can I migrate an account father, with the accounts daughters ?

Migrate the master account, but as migrate at the same time the accounts daughters?

Help!
Title: Re: Migrate account from cPanel server
Post by: Administrator on June 29, 2016, 02:00:51 PM
sorry...don't understand this
Title: Re: Migrate account from cPanel server
Post by: vbarreto on August 12, 2016, 06:01:36 AM
I missed a progress bar is displayed on the screen when restoring from backup. Also I missed a button to cancel the restoration running.
I leave as a suggestion to improve the tool.

For example, the following command shows the progress of a compression in the terminal.
Suddenly it can be included in the backup restoration and other system tasks that require this dialogue with the user.
Code: [Select]
tar cf - /folder-with-big-files -P | pv -s $(du -sb /folder-with-big-files | awk '{print $1}') | gzip > big-files.tar.gz
Title: Re: Migrate account from cPanel server
Post by: ferasat on October 02, 2016, 05:06:26 PM


Was error. Why ?

(http://www.uplooder.net/img/image/99/6851956f60f8a8ced97f5e02d86e6f6f/Capture.JPG)

Title: Re: Migrate account from cPanel server
Post by: AskJohn on November 23, 2016, 10:33:24 PM
I am having a similar issue. It states user already exists and I can't even delete the user in CWP. 
Title: Re: Migrate account from cPanel server
Post by: Darkroom on October 22, 2017, 03:07:55 AM
Maybe I'm missing something but how do you create the tar.gz file? I can't find a way to make it in cwp and there's very little guidance on how to create it. Could you give an example of how one would create the tar.gz file either from a backup or the home directory?
Title: Re: Migrate account from cPanel server
Post by: netfix on November 21, 2017, 08:43:24 PM
Hello,

I have a problem when restore an account. After process finish I get a blank page (no errors on browser console).

File, database and email are restored but I don't get summary for operation. Furthermore permissions on public_html are incorrect and I need to set they manually.

Someone can help me to debug this?

Thanks

(http://pix.toile-libre.org/upload/original/1511296951.png)
Title: Re: Migrate account from cPanel server
Post by: ronin on January 16, 2018, 10:03:35 AM
Hello,
can we migrate email accounts from cpanel to CWP others easy but we have too many mails old server
Title: Re: Migrate account from cPanel server
Post by: ykmanneken on July 09, 2018, 03:00:42 AM
Hi,

can an admin update these instructions? On step 3, there is no field to enter user account, only "Account Import" "Associate package" and "Password Account". I've tried to use the correct .tar.gz file, the default package, and used the password for the user, the password for the root, the account name, all unsuccessfully. I keep getting the same error:

(https://puu.sh/ATfXH/4ab574eeca.png)

Seems like these instructions are for older version of CentOS Web Panel, circa 2014-2015.

Thanks in advance.

If you need to migrate account from the cpanel server, you can do that very fast from the control panel.

Steeps
1. Upload cpmove/backup file in the /home folder
2. Goto Left Menu --> User Accounts --> cPanel Migration
3. enter username of the account which you want to restore (cpmove-USERNAME.tar.gz file must be in the /home folder)
4. select cpmove-USERNAME.tar.gz file to restore
5. enter domain, contact email and start restoring account
6. restore should be now done, if not successful the check bellow for the error solutions.

Known issues
1. cPanel backup file name must be named cpmove-USERNAME.tar.gz
2. Unpacked folder name must be cpmove-USERNAME

cPanel Migration Wizard restores the following
- All Files from public_html folder
- All MySQL databases
- All Users for the MySQL databases
Title: Re: Migrate account from cPanel server
Post by: josemnunez on July 09, 2018, 09:20:28 AM
please let me know what error says the records

tail -n 200 /var/log/cwp/migration_cpanel.log
Hi,

can an admin update these instructions? On step 3, there is no field to enter user account, only "Account Import" "Associate package" and "Password Account". I've tried to use the correct .tar.gz file, the default package, and used the password for the user, the password for the root, the account name, all unsuccessfully. I keep getting the same error:

(https://puu.sh/ATfXH/4ab574eeca.png)

Seems like these instructions are for older version of CentOS Web Panel, circa 2014-2015.

Thanks in advance.

If you need to migrate account from the cpanel server, you can do that very fast from the control panel.

Steeps
1. Upload cpmove/backup file in the /home folder
2. Goto Left Menu --> User Accounts --> cPanel Migration
3. enter username of the account which you want to restore (cpmove-USERNAME.tar.gz file must be in the /home folder)
4. select cpmove-USERNAME.tar.gz file to restore
5. enter domain, contact email and start restoring account
6. restore should be now done, if not successful the check bellow for the error solutions.

Known issues
1. cPanel backup file name must be named cpmove-USERNAME.tar.gz
2. Unpacked folder name must be cpmove-USERNAME

cPanel Migration Wizard restores the following
- All Files from public_html folder
- All MySQL databases
- All Users for the MySQL databases
Title: Re: Migrate account from cPanel server
Post by: webmaxter on October 31, 2018, 06:49:39 PM
That's what I've got from migration_cpanel.log. I'm always getting the same error as on the screenshot above on a clean new CWP installation without any users.

2018-10-31 15:28:40 {"status":"Error","msj":"Check All Fields (only lower caps are allowed and no special characters or empty spaces)"}
2018-10-31 15:28:40 Error trying to create the account (Check All Fields (only lower caps are allowed and no special characters or empty spaces))
Title: Re: Migrate account from cPanel server
Post by: Griya Hosting on August 06, 2019, 08:08:12 PM
Please add to your migration script about dns record,
Successfully migration from cPanel but getting dns record missing.

Regards
Title: Re: Migrate account from cPanel server
Post by: PiotrE on January 04, 2020, 05:13:08 PM
Additionally - email Passwords are not transferred correctly. Ive created ticket: 267408
Title: Re: Migrate account from cPanel server
Post by: hdaackda on January 07, 2020, 05:28:53 PM
Tried this 2 times.

Both times, database was restored, domain names were restored (but directory setting is not correct) and files were NOT restored!!

1. I can manually unpack files and restore them BUT

2. how do I change the domain settings?

e.g. all domains are pointed to

home/username/public_html

whereas some should be to home/username/public_html/domain.name  OR home/username/domain.name

Also, why aren't files getting restored automatically?


P.S IF i manually unpack the files, I still need to change settings cause if I go to domain, ALL domains are set to home/username/public_html/  ( i have 10 domains).

domain 1 -> home/username/public_html/
domain 2 -> home/username/public_html/

etc

need to change to home/username/public_html/domain1.com
etc

how? (apart from deleting each and then readding)
Title: Re: Migrate account from cPanel server
Post by: fretelweb on February 14, 2020, 08:57:23 PM
that works fine but if you use zlib in cpanel you can read it in CWP you have to activate zlib for dovecot

at this time the cPanel Server Migration does not work I am waiting for an Update. while these I am doing the migration with my own scripts for bulk migrations.
Title: Re: Migrate account from cPanel server
Post by: PiotrE on February 22, 2020, 07:31:49 AM
@Fretelweb - could You share Your way of migrating account from cpanel to CWP?
It would be of great importance not only for me but to the others struggling with this minefield, ekhm, I mean issue.
 For now I start first step from completely WHM server migration which gives me correct email account password hashes ready to be pasted to mysql database (table postfix/mail) but this is a "little" problematic.

 Ive also encouner one issue which isnt covered anywhere and I had to deeply analyze it by myself.
Email account on cpanel Have to be in "maildir" format UNCOMPRESSED. This is the only way it will be readable by CWP. You can use cpanel email conversion tool to prepare correct format (also need to turn off compression in mail server settings).
Anyway @Fretelweb, can You help by sharing Your way, or maybe You can even share Your scripts for that?
Title: Re: Migrate account from cPanel server
Post by: Sandeep on February 22, 2020, 08:25:21 AM
kindly create your own topic