# Transfer tracker to another server

# In which case the tracker is transferred

  1. Frequent critical failures of the current server where the tracker is installed.

  2. Unsuitable functionality and pricing system.

  3. Not enough disk space and no possibility to increase it at your current cloud provider.

  4. Need to change the data center of the server and save statistics.

  5. Need to make a duplicate/copy of tracker for scaling funnels/testing new GEOs.

# Data needed for the migration process

  1. Root-access (IP root pass) access to current server and to the new server.

  2. Database name and Salt from configuration file config.ini.php of the current server.

# Database dump process

  1. Log in to the server via SFTP.

  2. Download the file /var/www/keitaro/app/config/config.ini.php and save the data from it: base name and Salt from the configuration file.

  3. Log on to the server via SSH. Run the command:

mysqldump <DB_NAME> | gzip > dump.sql.gz
1

Where <DB_NAME> is the database name from the configuration file (usually keitaro).

  1. Wait for the command to execute. Execution time depends on the size of the database, may take from several minutes to several days.

# Transferring the dump and installing the tracker on a new server

  1. Download dump from current server from directory/var.

  2. Place it in root/directory of the server, where you are going to transfer tracker.

  3. Go to your personal account at keitaro.io and unlink the license from the current IP.

  4. Log in to the new server and run the tracker restoring from dump command:

curl keitaro.io/install.sh | bash  -s -- -R
1
  1. After installation is complete, go to the link provided and enter the license key (having previously untied it from the old IP server in the personal account). Use your old login and password to log in to the tracker

# How to Transfer Landings/Offers to a new Tracker?

This data is transferred manually. All uploaded archives are stored in a lander folder by default var/www/keitaro/lander. After transferring the tracker create a local landing page or a local offer from the admin panel of a new Keitaro. This will create a new folder for uploaded archives with all the necessary permissions. Next, log in to a new server via SFTP and upload your archives from an old tracker to this created folder manually.

# How to Transfer Bot List to a new Tracker?

Copy files from /var/www/keitaro/var/bots to the new server.

# Will Keitaro work if you change the IP in the license?

No, traffic will stop during the day.