Skip to content

Instantly share code, notes, and snippets.

@janikvonrotz
Created March 19, 2014 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janikvonrotz/9640572 to your computer and use it in GitHub Desktop.
Save janikvonrotz/9640572 to your computer and use it in GitHub Desktop.
Ubuntu: Migrate Piwik website #Piwik #Markdown

Introduction

This article assumes you're going to move an exisiting piwik website from one server to another.

Requirements

  • Ubuntu server
  • Nginx
  • Nginx minimal website
  • MySQL
  • php5-fpm
  • php5-mysql, php5-mcrypt
  • Nginx php5-fpm website
  • Increased Max Upload for php5-fpm website
  • phpMyAdmin
  • Piwik website

Instructions

Export the existing SQL Piwik database with phpMyAdmin.

Import the database export into the new Piwik database with phpMyAdmin.

Update the tracking codes or update Piwik urls on the Piwik tracked websites if the hosting has changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment