User Tools

Site Tools


moving_your_etano_site_to_another_host_server

Moving Your Etano Site to Another Host Server

First thing you need to do is make sure that you have a recent backup copy of your existing Etano database (SQL file), as well as a recent backup copy of all the files on your existing server.

There's 2 options you can use:

Option 1 (transferring the files without running the Etano installer) - Use this option if you know for sure that your host fully supports the script, especially file and/or folder permissions.

Option 2 (installing the Etano script before transferring your files) - Use this option if you're unsure as it may be better & safer as you'll technically be installing the script from scratch and the installer will check your server for permission issues and errors, as well as create the defines file with the correct details and paths for your server. It will also give you the command path used for setting up your cron jobs.

OPTION 1

Step 1

On your new host server create a new database:

  1. Log in to your cPanel.
  2. Click on the 'MySQL® Databases' link.
  3. Create the Etano database:
    1. Choose a name for your Etano database (for example 'etano'), enter it in the 'New Database' field and click 'Create Database'. Please note that your chosen database name will be prefixed with your cPanel username (e.g if you had chosen 'etano' as your database and the username you use to connect to cPanel is 'myuser' then your full database name will be 'myuser_etano').
  4. Create the database user:
    1. Choose a username for Etano (for example 'etano') and enter it in the Username field.
    2. Choose a password and input it into the Password field.
    3. Click Create user. Please note that your chosen user will be prefixed with your cPanel username (e.g if you had chosen 'etano' as your database user and the username you use to connect to cPanel is 'myuser' then your full database user will be 'myuser_etano').
  5. Assign the user to the database:
    1. Under 'Add Users To Your Database', select your Etano username from the User dropdown list, then select your Etano database from the Database dropdown list. Under 'Privileges' check ALL, then click 'Add User To Database'.
  6. Back to the 'MySQL Account Maintenance' screen you should see a list with current databases. Please note the database name, hostname, username of your newly created database.

Then import the saved copy of your Etano database (SQL file) into your new database.

Step 2

Transfer (upload) all the files from your old server to your new server.

Step 3

Open the includes/defines.inc.php file on your new server and edit the highlighted parts so they match your new database and server path, etc.


Step 4

The final step will be setting up and creating your cron job.

See: Setting up the Etano Cron Job in cPanel


OPTION 2

Step 1

Follow the instructions provided in original default Installation Guide

NOTE: When doing a fresh install it's best to install the version of Etano that you are presently using, older versions of Etano can be downloaded from the archives located at: https://drive.google.com/folderview?id=0B5GPLc5dytbhNWp5ZzNKb2NQTnM&usp=sharing#list

Step 2

Importing the saved backup of your Etano database (SQL file) into your new database.

Database Backup Migration:

To prevent failures and errors regarding duplicate data or tables already exists, it's best to drop all tables in the default install of the database before importing your backup SQL file.

1. In you host account login and go to PHPMyAdmin.
2. Click on the database that you created for Etano in the far left panel.
3. About halfway down the page, click "check all" so that all tables are selected. Then, select "drop" from the dropdown menu.
4. Click "yes" to confirm.
5. Click the "import" tab at the top.
6. Click "choose file".
7. Find the your backup database file (the .sql file).
8. Then click go, located at the bottom of the page.

Step 3

Transfer (upload) all the files from your old server to your new server with the EXCEPTION of the cache2 folder and the includes/defines.inc.php file because this file will be created during the installation process with the correct details and paths for your server.

Step 4

The final step will be setting up and creating your cron job.

See: Setting up the Etano Cron Job in cPanel

Then go to your Etano admin "Skin Settings" section and regenerate your skin.

moving_your_etano_site_to_another_host_server.txt · Last modified: 2016/06/15 14:17 by admin