-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Superset persistence from sqlLite to Postgres #36
Comments
himeshr
changed the title
Migrate Superset persistence from sqlLite to Postgres DB on Prod RDS
Migrate Superset persistence from sqlLite to Postgres
Jul 22, 2024
As discussed with @himeshr Followed 3rd approach Currently working on assets export
Outcome and further process
|
Steps to do :
Issue identify in pgloader
-- to get column which is used in uuid
SELECT tbl_name
FROM sqlite_master
WHERE type='table'
AND EXISTS (
SELECT 1
FROM pragma_table_info(tbl_name)
WHERE name = 'uuid'
);
docker exec -it -u root superset_2.0.1 bash
echo "SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://superset_user:superset_password@postgres_db:5432/superset2'" > superset_config.py
SUPERSET_CONFIG_PATH=/app/superset_config.py
6.run command for pgloader and check the error pgloader pgloaderdataonly.conf > error.txt |
vedfordev
added a commit
that referenced
this issue
Aug 16, 2024
vedfordev
added a commit
that referenced
this issue
Aug 20, 2024
vedfordev
added a commit
that referenced
this issue
Aug 20, 2024
vedfordev
added a commit
that referenced
this issue
Aug 20, 2024
vedfordev
added a commit
that referenced
this issue
Aug 20, 2024
vedfordev
added a commit
that referenced
this issue
Aug 20, 2024
vedfordev
added a commit
that referenced
this issue
Aug 20, 2024
vedfordev
added a commit
that referenced
this issue
Aug 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Migrate Superset persistence from sqlLite to Postgres DB on Prod RDS.
Options to migrate:
The text was updated successfully, but these errors were encountered: