Docker - Webapp Database Setup - MySQL/Postgres

Asked by Neve Singaravel

I am using the latest docker version of graphite and I want to migrate the 'graphite.db' from SQLite to either PostgreSQL or MySQL. How do I update the docker? Please help

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Denis Zhdanov (denis-zhdanov) said :
#1

Hi Neve,

Unfortuntately, it's quite complex task. Old articles - for example
http://obfuscurity.com/2013/12/Migrating-Graphite-from-SQLite-to-PostgreSQL
and https://gist.github.com/toni-moreno/9779979 are probably still valid,
but maybe Django commands alredy changed, and no need to install any
packages - MySQL and PostgreSQL support already included in docker image.
If you need not migrate but start from scratch using MySQL - it's much
easier. Just create database and include it's config in DATABASES variable
in local_settings.py (as described in links above) and restart container.

ср, 5 февр. 2020 г. в 16:32, Neve Singaravel <
<email address hidden>>:

> New question #688529 on Graphite:
> https://answers.launchpad.net/graphite/+question/688529
>
> I am using the latest docker version of graphite and I want to migrate
> the 'graphite.db' from SQLite to either PostgreSQL or MySQL. How do I
> update the docker? Please help
>
> --
> You received this question notification because your team graphite-dev
> is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Neve Singaravel (nevesin) said :
#2

This makes sense. Thank you Denis.

Can you help with this problem?

Provide an answer of your own, or ask Neve Singaravel for more information if necessary.

To post a message you must log in.