Migration of metadata (queries,users etc)


#1

How do migrate all the meta data ( queries, users, groups, etc)
from one re:dash instance (re:dash 0.9.0 )
to other re:dash instance (re:dash 0.11.1) ,
given they have different table schema for these meta-data tables


#2

If you use the upgrade script we provide (linked from the docs), it does this for you.

If you want to do it manually:

  1. You need to compare the migrations folder between your existing version and new one, to deduce which migration scripts you need to run.
  2. Run each one of them in order, usually something like: PYTHONPATH=. python migrations/00XX_XXXX.py from the root Redash folder. You might need to run this as the redash user, depends on your setup.