Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Procedure for migrating HostBill enterprise version onto new server / reinstalling enterprise version without data loss.

...


Before beginyou start:

Make sure you've updated to the latest HostBill version on old location first. If you're unable to update (ie: you need to migrate because you use unsupported PHP version), please use this procedure below and step 11.

...

Code Block
languagetext
 mysqldump --routines 1408513157 >-r /root/hbdump.sql

4. Old Server: If you have some customisations done already or modules uploaded, backup public_html folder

Code Block
languagetext
  cd /home/hostbill/public_html/
  cp includes/config.php includes/config.php.backup
  tar -zcvf /root/hostbill.publichtml.tgz --exclude='config.php' .


Code Block
languagetext
Note: Consider creating backups of /home/hostbill/attachments and /home/hostbill/downloads folders, if you use support plugin and downloads section in clientarea already

...

  • Download latest HostBill version from HostBill licensing portal
  • Unzip it somewhere locally on your computer, take entire /install folder and upload it to your new server, /home/hostbill/public_html/ directory
  • Visit yournewhostbill.url/install   in install in your browser, and select "Update" option to update database to the latest version (replace yournewhostbill.url with actual installation url of your HostBill copy)
  • After successfull update, remove /install folder 

...