Help with website migration from CPanel to HestiaCP

Hi, how are you?
Can you help me please, to migrate CPanel websites to HestiaCP.
I think there is not that option yet, and I would dare to do it manually, but I have the following doubt, and I want to do it in the following way:
1.- Enter CPanel, to the public_html directory and compress everything.
2.- Download the file.
3.- Upload the file to HestiaCP, in the corresponding domain, extract

How should I do it to back up the emails?
Where do I have to put them, using Hestia’s file manager?

Thank you very much in advance

1.- Enter CPanel, to the public_html directory and compress everything.
2.- Download the file.
3.- Upload the file to HestiaCP, in the corresponding domain, extract

Use SFTP or FTP file manager has an bug so it creates the folder with with the wrong permissions. (Fixed in 1.3.0) or you will need to patch the following:

/usr/local/hestia/web/fm/configuration.php

with

https://raw.githubusercontent.com/hestiacp/hestiacp/main/install/deb/filemanager/filegator/configuration.php

But the correct folder is /home/{user}/web/{domain}/public_html

For email I. hope you use Imap? If so: https://imapsync.lamiral.info

OK, let’s see if I understand.
I must not use the file manager.
I must use sftp p ftp, to upload the files.

I have never used sftp, how is it done?

STFP is the same as FTP except it runs over port 22 (SSH port) and is more secure and save. Depending on OS / Software used you should be able to pick protocol used.

You can login with Username / Password (or SSH Key)

Or just use ssh to migrate the data :slight_smile:.

Ok, thanks, I’ll see how I do it

Thanks, I already uploaded and unzipped the tar.gz file in public_html.
I uploaded it with scp.
Now how can I test it temporarily, since the original is working on another server?
If you can help me please.

Easiest way it to modify the hosts file on your local pc or add an alias to the domain (test.domain.com) and add this to your Current DNS server that points to the new server.

Sorry, some website where the step by step is explained, how to do it

A step to step guide for basic knowledge is something we can’t provide in this forum. The idea of it is to support hestia related questions, how to handle hosts entries isnt related to it.