umami-software / migrate-v1-v2

Script for migrating data from Umami v1 to v2
MIT License
1 stars 7 forks source link

@umami/migrate-v1-v2

Script for migrating data from Umami v1 to v2.

Requirements

Important

Running migration

There are two ways to run the migration script.

1. Running inside the Umami folder

cd umami
yarn add @umami/migrate-v1-v2
npx @umami/migrate-v1-v2

2. Running standalone

Install

git clone https://github.com/umami-software/migrate-v1-v2.git
cd migrate-v1-v2
yarn install
yarn build

Configure

Create an .env file with the following variable defined:

DATABASE_URL={connection url}

Run

yarn start

Troubleshooting