Virtualmin is a domain hosting and website control panel, which gives the ability to create and manage many domains and is available in both open-source and commercial versions. It is based on Webmin.

 

cPanel to Virtualmin migration is slightly complicated method corresponding to common cPanel to cPanel migration. Let's see the necessary steps involved in migration. First, of all have a back up of data on cPanel.

 

Consider you have only the cPanel access to the account.

Login to cPanel>> Files >> Backups >> Download a Full Website Backup

 

By default, the backup file will reside in /home directory of the account.Move the backup file to document root of the account i.e., /home /<user> /public_html / and change the permission of the file to 644. This will make the file publicly accessible for downloading. Once the task is performed the file must be expelled from the document root to ensure data security.

 

The first action in each migration is moving the backup file from the source ( here cPanel) server to the target ( Virtualmin) server. Let us check how it can be done through the command line

 

Step1: Login to the Virtualmin server using SSH.

 

Step2: Change the location of the present working directory to /home.

 

Download the backup file to the server. 

wget http://userdomain.com/backupfile.tar.gz

 

Make sure to replace the value userdomain.com with the source cPanel domain name and backupfile.tar.gz with the backup file generated and moved to the document root.

 

Note:

nce downloaded, login to the source server and remove the backup file back to the /home directory. We can use it in case of an incomplete transfer, without going for another backup generation step. Keeping the backup file in the user’s home directory too is an option, but it may create disk space issues for the user.

 

Account Restoration

 

Step 1: Login to Virtualmin control panel interface as a root user.

 

Step 2: Navigate to Add servers >> Migrate Virtual Servers

 

Step 3: Then “Virtual Server Migrate Options screen” will appear.  Then specify the backup source file through the tab, Source Backup file.  In our case, the backup file is already moved to the server and is available in the Local directory itself.

 

Step 4: Then select the Local files or directory radio button in the Source Backup file.

 

Step 5: Provide the path where the backup file is present using folder selection box.

 

Step 6:  Ensure the “Backp file type” is selected as “cPanel backup“.

 

Step 7:  It is mandatory to provide the Password of the cPanel account that is to be migrated. So select the if possible radio button in the Password for administrator selection.

 

Note:

If the password of the cPanel account is not provided it will throw an error as “authentication failed”.

 

Step 8:  Then select “Migrate now” button to proceed with the migration.

 

It imports all mailboxes, databases and web data from a cPanel account. This can make the migration process much faster and easier than restoring the account manually.

 

Once migrated, perform the routine post-migration checks and confirm that everything is working properly.

 

Răspunsul a fost util? 0 utilizatori au considerat informația utilă (0 Voturi)