Community for Core Nigerians
  New Reply
Thread Rating:
  • 15 Vote(s) - 2.6 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to migrate from one hosting to another without losing data
#1
Before migrating from one hosting company or organization to another, there are somethings you should beware of in order not to lose your data's immaturely. However, you should also migrate earlier before your hosting plan expires. The following are things you should beware of...


  • Complete your move before your host plan expires or before you cancel it.
Quote:
You are strongly advice to complete your moving before your hosting plan expires.
One of the most common mistake made by website administrators who are new to transfer from one host to another is the fact that they wait till the there current hosting plan expires before subscribing for another one or before migrating... This is a bad idea

Also another noted mistake is informing your hosting company before transferring your data from them what your plan is.. Nobody, is running business to record loss. Informing them may lead to downtime or restriction from downloading your files. Or even cancellatin of your hosting plan which will lead to permanent lose of data.
Quote:
Although its a good idea to inform your hosting company of your plan, but it may be dangerous if done earlier.

  • How to make it work fast, best and secured
Once you get your new host plan ready, transfer all files before the existing hosting plan expire or canceled by you to the new host. 

After few days of the test which you are advised not to be upto a week and less than 5 Days, you can then call for the cancellation of your old hosting plan. Its not a good idea to inform your host earlier for cancellation not to lose data because majority of hosting company will cancel your plan few minutes or even seconds after you inform them. In such case, the data's cant be recovered if there is any issue or problem with the data transfered to new host.
Beginning the Backup and Transfer to *New Hosting Company*
Here in we will use old hosting for current hosting company you want to move from and;
New Hosting company for the new host Company you are moving to.
Quote:NOTE: BEFORE MOVING ENSURE THAT THE TWO HOSTING ARE USING THE SAME WEB-BASED ADMINISTRATION TECHNOLOGY, I.E CPANEL OR PLESKPANEL CONTROL PANEL.
Firstly, Login to cPanel of the old hosting plan/company and obtain compressed backups of your website files and database information.

To backup from cPanel locate a group of settings and control panel pages labeled “Backup.” This location contains tools to backup the site’s main “public_html” folder as well as any sub-domains. Also, the tools here will assist you to backup of your site MySQL databases for restoration to the new server.

Find the “Download Backups” option in the group, and click it to download the backups.

Secondly, to download the backups fast and secured cPanel will break down the available backups by type. A full-site backup is available; you should download that file so that it can be uploaded to a different new host later.

There will also be backup files specific to every sub-domain within the "backup" location. Since the full website backup will contain all of that information, but to be safe, you can download these as well.

In a separate area on the same backup downloads page, customers can secure a compressed backup of every MySQL database individually. Each database should be downloaded in its compressed format. These will be uploaded to the new server to create matching database names at a later time. Make sure you dont decompress or edit any downloaded backup files.

For Mac OS X users, ensure that Safari is not set to automatically open so-called “safe” file extensions after download. When all of the compressed backup files are secured, log out of the old host cPanel installation and head over to the new host’s cPanel.

 Another step towards completion
Begin uploading the compressed backup files to the new server.
Virtually every web hosting company will, after receiving the first month’s fee, send an email bearing information like the domain name servers and IP address details for the new hosting plan. This IP address can be used to view the website’s content before DNS propagation, and to access the individual FTP account and cPanel administration interface before changes are made.
Find the email and look for the relevant IP address. If a cPanel link has not been specifically included, assume that either “/cpanel” or the “:2082” port suffix can be added to that IP address in order to enable an administrative login.

Upon logging into the new server’s cPanel iteration, locate the backup tools mentioned in Step 2 then navigate to the Backup Downloads page. At the page, locate the file-upload box associated with the full-site backup. This will often be labeled as a “Backup Restore” feature. Select the full-site backup file that was downloaded from the old web hosting company to begin the upload process.

After the file is completely uploaded, the webpage will refresh and file-specific details will be displayed on a line-by-line basis as each file is moved into place. When this second page stops loading, the process is complete. Locate the browser’s “back” button to return to the previous page and begin the database restoration process in pretty much the same fashion. When all of the information is transferred, it’s time to adjust some settings and begin the actual seamless transition process behind the scenes.[img=322x0]http://media02.hongkiat.com/website-migration-guide/restore.jpg[/img]
You remember why we tell you never to cancel your old host subscription or dont let it expire before migration?!!
Note that the database backup files do not contain information about the passwords, usernames, and permissions associated with each MySQL database. This information will need to be entered within the MySQL Databases interface within cPanel.

Also, note the prefix assigned to each database within cPanel. In case of discrepancies, (e.g. “jsmith_wordpress” vs “jsm_wordpress”), the prefixes will need to be changed in the configuration file of each software application which connects to that database.

Add all of the relevant users, passwords, and permissions, and then make any necessary edits to system files by logging into the FTP account via the website’s IP address. This will ensure smooth operation of the software once the domain name has been transferred to show the new host’s files instead of those located at the old company. Once that is done, everything is in place and ready to function perfectly.

After the above completion, the next thing to do is to redirect your domain name to your new hosting company using NAME SERVER. 

Change your domain name server or if you cant, communicate the domain registrar to use new domain name servers for you.
This is simply to tell the domain name to show files and data on a different server than the one in current use.

The domain name servers need to be replaced with the new name servers (also found in the email) for the new host. (If this information is not found, navigate to the host’s support section, browse their documentation or get in touch with a representative who can provide the server details.)

Changes to the DNS records will take effect in 12 to 24 hours in most cases, though some have experienced as little as six hours. During this time, both the new and old websites will function properly, and customers will see identical content no matter which hosted files are presented.
Note, only change your nameserver once, changing again and again will delay the propagation. 

Wait For Complete Propagation

Do keep in mind that posting content before propagation is complete might result in lost content or data after the new host files are active. While downtime won’t be an issue, website owners should refrain from making any changes to a site’s design, files, or content, until they’re completely sure that the process is complete and they’re accessing the new host server.

When that becomes the case, the process of transferring a website seamlessly to a new web hosting provider is complete and users will have survived the transition without a second of downtime.

Be sure to test the website and ensure that all features are working properly; when everything is working just like it used to, then you can cancel the old hosting plan. That’s all there is to it!

However, you may not be able to do this things yourself, you can communicate me to help you do this at near-free rate.
Dont hesitate to join the discussion,signup in less than 3 min.
Like Reply

Quick Reply
Message
Type your reply to this message here.

Possibly Related Threads...
Thread
Author
  /  
Last Post
Bigboy289
Replies: 0
Views: 334
01-11-2019, 01:42 PM
Last Post: Bigboy289
Replies: 0
Views: 614
03-31-2017, 12:38 PM
Last Postweb_medicus
Replies: 0
Views: 592
03-31-2017, 11:53 AM
Last Postweb_medicus
Replies: 0
Views: 505
03-30-2017, 05:31 PM
Last Postweb_medicus


Users browsing this thread: 1 Guest(s)