Skip to content

Commit

Permalink
Merge pull request #918 from microbiomedata/917-optimize-the-schema-1…
Browse files Browse the repository at this point in the history
…130-to-1140-migration-notebook

Update migration notebook to only dump/restore relevant collections
  • Loading branch information
eecavanna authored Feb 24, 2025
2 parents c9f1b74 + b710456 commit 2004d59
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 213 deletions.
4 changes: 2 additions & 2 deletions db/migrations/notebooks/.notebook.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Paths to folders in which the notebook will store Mongo dumps.
# Paths to existing folders in which the notebook will store Mongo dumps.
PATH_TO_ORIGIN_MONGO_DUMP_FOLDER = "./mongodump.origin.out"
PATH_TO_TRANSFORMER_MONGO_DUMP_FOLDER = "./mongodump.transformer.out"

Expand All @@ -12,7 +12,7 @@ PATH_TO_MONGOSH_BINARY = "__REPLACE_ME__" # e.g. "/Users/Alice/Downloads/mongos
# to migrate. It is where the "E" and "L" in "ETL" will take place.
ORIGIN_MONGO_HOST="__REPLACE_ME__"
ORIGIN_MONGO_PORT="__REPLACE_ME__"
ORIGIN_MONGO_USERNAME="__REPLACE_ME__"
ORIGIN_MONGO_USERNAME="__REPLACE_ME__" # e.g. "app.migrator"
ORIGIN_MONGO_PASSWORD="__REPLACE_ME__"
ORIGIN_MONGO_DATABASE_NAME="__REPLACE_ME__" # e.g. "nmdc"

Expand Down
Loading

0 comments on commit 2004d59

Please sign in to comment.