Author Topic: I want to move to another web hosting. What should I do?  (Read 125162 times)

Offline denagpam

  • Full Member
  • ***
  • Posts: 103
  • Karma: +7/-9
    • View Profile
I want to move to another web hosting. What should I do?
« on: October 23, 2012, 05:47:48 AM »
Yes, I want to move to another web hosting. What should I do?

Should I backup all the existing files of AbanteCart cart and simply upload them to my new web hosting?

Or

Should I install it from the beginning?

Hope for your reply, Mr. Admin.

Thanks.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4362
  • Karma: +301/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: I want to move to another web hosting. What should I do?
« Reply #1 on: October 23, 2012, 08:45:52 AM »
The simplest way to migrate are these:

1. Install new AbanteCart with normal process on the new host (do not load demo data)
NOTE: You need to select the same database prefix as on your current AbanteCart instance.
2. On existing AbanteCart instance, do backup of database, code and resource library (do not include config)
3. Download backup in the backup history
4. Load backup to newly installed AbanteCart.
5. You will need to replace salt key from your original installation into new configuration file. It is in system/config.php

DONE:
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #2 on: May 04, 2014, 09:36:49 AM »
i am trying this but i dont know where do i load backup.
I have copied backup.tar file to new hosting into admin/system/backup folder but i dont know how to start the migrate process?
i looked in AbanteCart admin area but couldnt find.
Where do i execute load backup?

Thanks

Offline denagpam

  • Full Member
  • ***
  • Posts: 103
  • Karma: +7/-9
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #3 on: May 04, 2014, 09:50:05 AM »
hi

I think you have done the wrong way to locate backup.tar

You should upload it onto /public_html folder

then move all folders and files in the backup folder onto /public_html folder with no exception
(until no folder and file in it)

delete backup folder and system/config.php

and upload install.php file

backup the database

then run the installation

change the code in system/config.php with the last code you use
« Last Edit: May 04, 2014, 09:52:32 AM by denagpam »

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #4 on: May 04, 2014, 09:53:24 AM »
sorry but i have no idea what you mean?   :'(

you mean before installing abantecart ?

Offline denagpam

  • Full Member
  • ***
  • Posts: 103
  • Karma: +7/-9
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #5 on: May 04, 2014, 09:54:07 AM »
yes of course before intallation

so if you have done it you should go back from the beginning
« Last Edit: May 04, 2014, 09:57:59 AM by denagpam »

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1811
  • Karma: +526/-7
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #6 on: May 04, 2014, 09:58:57 AM »
Do you have cPanel on your existing host? 

Will your new host migrate for you? 

If so there is a complete backup option on your cpanel , that includes your database. Once you have that zipped file follow the instructions from your new host in where to place the zipped backup in your new files -  it is usually in root.  They will unpack your files and restore it for you -  this will transport ALL your current settings.  But if you have an SSL it will probably need to be reissued for the new location.

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #7 on: May 04, 2014, 10:00:13 AM »
There are only 2 folders inside backup.tar file ?

So i extract the new abantecart to my public_html , and then i extract these 2 folders from backup.tar file. IS this correct?


Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #8 on: May 04, 2014, 10:02:19 AM »
but i wanted to install a fresh abantecart with only products and translations from the old one, because i did horrible things with my current abantecart and i have many error logs and i dont want to bring these errors to a new hosting.  ;D

Offline denagpam

  • Full Member
  • ***
  • Posts: 103
  • Karma: +7/-9
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #9 on: May 04, 2014, 10:10:43 AM »
it will be certainly fresh installation

can you please try to unzip the backup.tar in your computer

then show me what the code and data folders contain
« Last Edit: May 04, 2014, 10:18:45 AM by denagpam »

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #10 on: May 04, 2014, 11:03:08 AM »
here it is.

So you mean, i download abantecart.rar and extract it on new hosting public_html and then i upload my manual_backup.tar and extract it in this folder also to overwrite the same files and folders, then i open config.php to enter my old salt key(or i do this after the installation is finished?), then open my domain in browser to start installation?  when installing i need to enter the same prefix as in my old AbanteCart. IS this correct or i am doing it completely wrong?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2064
  • Karma: +326/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: I want to move to another web hosting. What should I do?
« Reply #11 on: May 05, 2014, 04:06:52 AM »
abantecart can do only backup of data.
For moving to another host you should do full database backup. Easiest way to do this via hosting provider CPanel or phpmyadmin.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #12 on: May 05, 2014, 06:13:59 AM »
ok thanks

Offline Advisor

  • Jr. Member
  • **
  • Posts: 54
  • Karma: +7/-4
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #13 on: May 05, 2014, 03:55:18 PM »
Important with using the TAR command :

Verifying Data as It is Stored

option -W
option --verify

  Attempt to verify the archive after writing.

This option causes tar to verify the archive after writing it. Each volume is checked after it is written, and any discrepancies are recorded on the standard error output.

Verification requires that the archive be on a back-space-able medium. This means pipes, some cartridge tape drives, and some other devices cannot be verified.

You can insure the accuracy of an archive by comparing files in the system with archive members. tar can compare an archive to the file system as the archive is being written, to verify a write operation, or can compare a previously written archive, to insure that it is up to date.

To check for discrepancies in an archive immediately after it is written, use the `--verify' (`-W') option in conjunction with the `--create' (`-c') operation. When this option is specified, tar checks archive members against their counterparts in the file system, and reports discrepancies on the standard error.

Just add -W to your TAR command to make sure it's 100% OK
« Last Edit: May 05, 2014, 03:58:25 PM by Advisor »

Offline abcart_ecm

  • Jr. Member
  • **
  • Posts: 71
  • Karma: +9/-3
    • View Profile
Re: I want to move to another web hosting. What should I do?
« Reply #14 on: May 22, 2014, 11:53:08 AM »
Quote
abantecart can do only backup of data.
For moving to another host you should do full database backup. Easiest way to do this via hosting provider CPanel or phpmyadmin.

So then, what is the use of making only a backup of data, (inside the admin)
if you can not use this backup for moving your web shop
to another host ? Same question for dump.sql,
what do we do with it ?
« Last Edit: May 22, 2014, 12:08:36 PM by abcart_ecm »

 

Powered by SMFPacks Social Login Mod